/* Chevalnaturel : vert forêt, vert feuille, beige sable et brun cuir, repris du logo */
:root {
  --bg: #f7f3ea; --surface: #fff; --sand: #efe7d6; --sand-dark: #cbbf9f;
  --text: #2f2a22; --muted: #7a7264; --line: #e3dac6;
  --green: #4d6142; --green-dark: #3b4b32; --leaf: #8ca23a; --brown: #4b2a12;
  --accent: var(--green); --accent-dark: var(--green-dark); --warn: #a33a2a;
  --radius: 14px; --shadow: 0 6px 24px rgba(59, 75, 50, .10);
  --serif: "Lora", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--green); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); color: var(--green-dark); line-height: 1.25; }
h1 { font-size: 2rem; margin: .4rem 0 .8rem; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page { padding-top: 8px; padding-bottom: 40px; }
.ico { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.center { text-align: center; margin-top: 28px; }

/* ---------- Bandeau du haut ---------- */
.topbar { background: var(--green-dark); color: #e9eedd; font-size: .85rem; }
.topbar-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; white-space: nowrap; }
.topbar-mid { text-align: center; color: #d6e3a8; }

/* ---------- En-tête ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.header-row { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 64px; height: 64px; border-radius: 50%; }
.logo strong { display: block; font-family: var(--serif); font-size: 1.45rem; color: var(--green-dark); line-height: 1.1; }
.logo small { display: block; color: var(--muted); font-size: .8rem; }
.search { flex: 1; display: flex; max-width: 460px; margin-left: auto; }
.search input { flex: 1; min-width: 0; padding: 10px 16px; border: 1px solid var(--line); border-right: 0; border-radius: 999px 0 0 999px; font: inherit; background: var(--bg); }
.search button { border: 0; background: var(--brown); color: #fff; padding: 0 16px; border-radius: 0 999px 999px 0; cursor: pointer; }
.cart-link { display: flex; align-items: center; gap: 8px; background: var(--brown); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 16px; border-radius: 10px; white-space: nowrap; }
.cart-link:hover { background: #3a200d; }
.badge { background: var(--leaf); color: #fff; border-radius: 999px; padding: 0 8px; font-size: .8rem; min-width: 22px; text-align: center; }
.cat-nav { background: var(--green); background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%); position: relative; }
.cat-nav-row { display: flex; align-items: stretch; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.cat-nav-row > li { position: static; display: flex; align-items: stretch; }
.cat-nav-row > li > a { display: flex; align-items: center; gap: 6px; text-decoration: none; color: #f3f0e4; white-space: nowrap; font-weight: 700; font-size: .9rem; letter-spacing: .01em; padding: 14px 15px; position: relative; transition: background .15s, color .15s; }
.cat-nav-row > li > a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--leaf); transform: scaleX(0); transition: transform .2s; }
.cat-nav-row > li > a:hover, .cat-nav-row > li:hover > a, .cat-nav-row > li:focus-within > a { background: rgba(255,255,255,.08); color: #fff; }
.cat-nav-row > li > a.on { color: #fff; }
.cat-nav-row > li > a.on::after, .cat-nav-row > li:hover > a::after { transform: scaleX(1); }
.cat-nav-row > li > a .ico { width: 1em; height: 1em; opacity: .75; transition: transform .2s; }
.cat-nav-row > li:hover > a .ico[viewBox] { opacity: 1; }
.nav-home > a .ico { width: 1.1em !important; height: 1.1em !important; opacity: 1 !important; }
.has-sub:hover > a > .ico, .has-sub:focus-within > a > .ico { transform: rotate(180deg); }
.sub-toggle { display: none; }

/* Méga-menu */
.mega { position: absolute; left: 20px; right: 20px; top: 100%; max-width: 1160px; margin: 0 auto; z-index: 30; display: flex; gap: 0; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--leaf); border-radius: 0 0 16px 16px; box-shadow: 0 18px 40px rgba(47, 42, 34, .18); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.has-sub:hover > .mega, .has-sub:focus-within > .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.mega-list { flex: 1; padding: 22px 26px 24px; min-width: 0; }
.mega-list ul { list-style: none; margin: 0; padding: 0; columns: 3 190px; column-gap: 26px; }
.mega:not(.wide) .mega-list ul { columns: 2 190px; }
.mega-list li { break-inside: avoid; }
.mega-list li a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .93rem; line-height: 1.3; }
.mega-list li a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sand-dark); flex: none; transition: background .15s; }
.mega-list li a:hover, .mega-list li a.on { background: var(--bg); color: var(--green-dark); }
.mega-list li a:hover::before, .mega-list li a.on::before { background: var(--leaf); }
.mega-all { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--green-dark); text-decoration: none; padding: 0 8px 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.mega-all span { font-family: "Nunito Sans", sans-serif; font-size: .82rem; font-weight: 600; color: var(--muted); }
.mega-all:hover { color: var(--leaf); }
.mega { min-height: 250px; }
.mega-visual { position: relative; width: 260px; overflow: hidden; flex: none; display: block; color: #fff; text-decoration: none; }
.mega-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mega-visual:hover img { transform: scale(1.05); }
.mega-visual span { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(30, 38, 25, .85)); font-size: .85rem; }
.mega-visual strong { display: block; font-family: var(--serif); font-size: 1.2rem; }

/* ---------- Boutons ---------- */
.btn { display: inline-block; background: var(--green); color: #fff; border: 2px solid var(--green); border-radius: 10px; padding: 11px 22px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .15s, color .15s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn.ghost, .btn.secondary { background: transparent; color: var(--green); }
.btn.ghost:hover, .btn.secondary:hover { background: var(--green); color: #fff; }
.btn.light { background: #fff; color: var(--green-dark); border-color: #fff; }
.btn.light:hover { background: var(--sand); }
.btn.danger { background: var(--warn); border-color: var(--warn); }
button.link { background: none; border: 0; color: var(--warn); cursor: pointer; font-size: 1.1rem; }

/* ---------- Accueil ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--leaf); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 6px; }
.eyebrow.light { color: #d6e3a8; }
.hero { background: linear-gradient(135deg, #fbf8f1 0%, var(--sand) 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: .3rem 0 1rem; }
.lead { font-size: 1.15rem; color: #5a5245; max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-visual { position: relative; justify-self: center; max-width: 380px; width: 100%; }
.frame { background: #fff; padding: 12px; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); transform: rotate(1.5deg); }
.frame img { border-radius: 14px; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.hero-badge { position: absolute; left: -36px; bottom: -24px; background: #fff; border-radius: 50%; padding: 6px; box-shadow: var(--shadow); }
.hero-badge img { width: 96px; height: 96px; border-radius: 50%; }

.section { padding: 56px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }

.universes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.universe { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); text-decoration: none; border: 6px solid #fff; }
.universe img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.universe:hover img { transform: scale(1.05); }
.universe-text { position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(35, 45, 28, .88)); color: #fff; }
.universe-text h3 { color: #fff; font-size: 1.6rem; margin: 0; }
.universe-text p { margin: 2px 0 8px; opacity: .9; }
.universe-text span { color: #d6e3a8; font-weight: 700; font-size: .9rem; }

.banner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='1.2'%3E%3Cpath d='M5 21c0-9 6-15 16-16-1 10-7 16-16 16Z'/%3E%3Cpath d='M5 21 14 12'/%3E%3C/svg%3E"); color: #eef2e4; border-radius: 20px; padding: 44px 48px; box-shadow: var(--shadow); }
.banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 10px; }
.banner p { max-width: 38em; }
.banner-logo img { width: 160px; height: 160px; border-radius: 50%; border: 6px solid rgba(255,255,255,.25); }

.visit { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.visit h2 { font-size: 2rem; margin: 0 0 10px; }
.visit-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.visit-card p { display: flex; gap: 10px; align-items: center; margin: 10px 0; }
.visit-card .ico { color: var(--leaf); }

/* ---------- Grille produits ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-img { position: relative; aspect-ratio: 1; background: #fff; padding: 14px; border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.tag { position: absolute; top: 10px; left: 10px; background: var(--warn); color: #fff; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-family: inherit; font-size: .98rem; font-weight: 700; color: var(--text); margin: 0 0 10px; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-btn { font-size: .85rem; font-weight: 700; color: var(--green); border: 1.5px solid var(--green); border-radius: 8px; padding: 3px 12px; }
.card:hover .card-btn { background: var(--green); color: #fff; }
.price { font-weight: 800; color: var(--brown); font-size: 1.05rem; }
.price s { color: var(--muted); font-weight: 400; margin-right: 6px; font-size: .9rem; }
.price.big { font-size: 1.8rem; margin: .4rem 0 0; }
.stock.out { color: var(--warn); font-size: .85rem; margin-top: 6px; }
.empty { color: var(--muted); padding: 30px 0; }
.count { color: var(--muted); margin: 0 0 12px; }
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 32px 0 0; }
.pager a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; background: var(--surface); }
.pager a.on { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Liste / catégorie ---------- */
.listing { padding-top: 20px; padding-bottom: 48px; }
.crumbs { margin: 0 0 4px; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-head { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 26px; margin-bottom: 18px; }
.page-head h1 { margin: 0; }
.cat-desc { color: #5a5245; margin-top: 6px; }
.cat-desc.rich p, .cat-desc.rich h3 { margin: .3em 0; font-family: inherit; font-size: 1rem; font-weight: 400; color: inherit; line-height: 1.6; }
.cat-desc.rich h4 { margin-top: .8em; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.subcats a { border: 1px solid var(--line); background: var(--surface); padding: 5px 14px; border-radius: 999px; text-decoration: none; font-size: .9rem; }
.subcats a:hover { border-color: var(--green); }

/* ---------- Fiche produit ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin: 12px 0 28px; }
.gallery > img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs img { width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 26px 24px; align-self: start; }
.ref, .tax { color: var(--muted); font-size: .9rem; margin: 0; }
.add-form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; max-width: 380px; }
.add-form label, .form label { display: flex; flex-direction: column; gap: 4px; font-size: .92rem; font-weight: 700; }
input, select, textarea { font: inherit; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--leaf); outline-offset: 0; border-color: var(--leaf); }
.description { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 34px 30px; margin-top: 34px; box-shadow: var(--shadow); }
.description > h2 { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.description > h2::before { content: ""; width: 26px; height: 26px; flex: none; background: var(--leaf); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21c0-9 6-15 16-16-1 10-7 16-16 16Z'/%3E%3Cpath d='M5 21 14 12'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21c0-9 6-15 16-16-1 10-7 16-16 16Z'/%3E%3Cpath d='M5 21 14 12'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Textes mis en forme (descriptions) ---------- */
.rich { color: #4a4337; font-size: 1rem; line-height: 1.75; overflow-wrap: break-word; }
.description .rich > :not(table) { max-width: 820px; }
.rich p { margin: 0 0 .9em; }
.rich h3 { font-size: 1.2rem; margin: 1.2em 0 .5em; }
.rich h4 { display: flex; align-items: center; gap: 10px; margin: 1.8em 0 .7em; font-family: "Nunito Sans", sans-serif; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.rich h4::after { content: ""; flex: 1; max-width: 120px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--leaf), transparent); }
.rich > :first-child { margin-top: .6em; }
.rich ul { list-style: none; margin: 0 0 1.1em; padding: 0; display: grid; gap: 8px; }
.rich ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.rich ul li { position: relative; padding: 10px 14px 10px 44px; background: var(--bg); border: 1px solid #ece4d2; border-radius: 10px; line-height: 1.6; }
.rich ul li::before { content: ""; position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.rich strong { color: var(--green-dark); }
.rich em { color: #6a6152; }
.rich a { color: var(--green); font-weight: 700; text-decoration-color: var(--leaf); text-underline-offset: 3px; }
.rich img { height: auto; border-radius: 10px; margin: 10px 0; }
.rich hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.rich table { border-collapse: separate; border-spacing: 0; margin: .6em 0 1.4em; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; max-width: 100%; overflow-x: auto; width: max-content; }
.rich td, .rich th { padding: 9px 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .93rem; }
.rich tr:last-child > * { border-bottom: 0; }
.rich tr > :last-child { border-right: 0; }
.rich tr:first-child td { background: var(--sand); font-weight: 700; color: var(--brown); }
.rich table.spec { width: 100%; max-width: 820px; display: table; margin-top: 2em; }
.rich table.spec tr:first-child td { background: none; font-weight: 400; color: inherit; }
.rich table.spec th { width: 36%; background: var(--sand); color: var(--brown); font-weight: 700; }
.rich table.spec tr:nth-child(even) td { background: #fbf8f1; }
.short.rich { font-size: .97rem; line-height: 1.65; margin-top: 14px; }
.short.rich h3 { font-size: 1.08rem; margin: 0 0 .5em; }
.short.rich h4 { display: block; text-transform: none; letter-spacing: 0; font-size: .97rem; font-weight: 700; color: var(--text); margin: 0 0 .4em; }
.short.rich h4::after { display: none; }
.short.rich p { margin: 0 0 .5em; }
.short.rich ul li { padding: 6px 10px 6px 36px; }
.short.rich ul li::before { left: 10px; top: 10px; width: 16px; height: 16px; }

/* ---------- Messages ---------- */
.flash { padding: 11px 16px; border-radius: 10px; margin: 14px 0; }
.flash-ok { background: #e6efdc; color: #2e4a1d; border: 1px solid #cddcb9; }
.flash-err { background: #f6e0dc; color: #7a2418; border: 1px solid #ecc4bc; }

/* ---------- Panier / commande ---------- */
table.cart, table.list { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.cart th, table.cart td, table.list th, table.list td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.cart th, table.list th { background: var(--sand); color: var(--brown); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.thumb img { width: 56px; height: 56px; object-fit: contain; }
.qty { width: 70px; }
.cart-foot { display: flex; justify-content: space-between; align-items: flex-start; margin: 16px 0 0; gap: 16px; flex-wrap: wrap; }
.totals { display: flex; flex-direction: column; gap: 6px; min-width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.2rem; border-top: 1px solid var(--line); padding-top: 6px; }
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.checkout > .form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.row2 { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
fieldset { border: 1px solid var(--line); border-radius: 8px; }
label.radio { flex-direction: row !important; align-items: center; font-weight: 400 !important; gap: 8px !important; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px 16px; align-self: start; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sum-line.grand { font-weight: 700; border: 0; }
.thanks { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 20px; margin-top: 20px; }

/* ---------- Réassurance + pied de page ---------- */
.reassure { background: var(--sand); border-top: 1px solid var(--line); }
.reassure-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.reassure-row > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.reassure-row .ico { grid-row: span 2; width: 38px; height: 38px; color: var(--green); background: #fff; border-radius: 50%; padding: 8px; }
.reassure-row strong { color: var(--brown); }
.reassure-row span { color: var(--muted); font-size: .88rem; }
.site-footer { background: var(--green-dark); color: #d7dccb; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 36px; padding-top: 44px; padding-bottom: 36px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--leaf); display: inline-block; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: #eef2e4; text-decoration: none; }
.site-footer a:hover { color: #d6e3a8; text-decoration: underline; }
.f-about img { width: 84px; height: 84px; border-radius: 50%; border: 4px solid rgba(255,255,255,.15); margin-bottom: 10px; }
.contact li { display: flex; gap: 10px; align-items: flex-start; }
.contact .ico { color: var(--leaf); margin-top: 3px; }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); }
.social a:hover { background: var(--leaf); text-decoration: none; }
.footer-bottom { background: #2f3c28; color: #aab49c; font-size: .85rem; text-align: center; padding: 14px 0; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .topbar-mid { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-visual { max-width: 300px; }
  .universes { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .reassure-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .banner { grid-template-columns: 1fr; padding: 32px 26px; }
  .banner-logo { display: none; }
  .visit { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .topbar-row > span:first-child { display: none; }
  .topbar-row { justify-content: center; }
  .header-row { flex-wrap: wrap; gap: 12px; }
  .logo img { width: 48px; height: 48px; }
  .logo strong { font-size: 1.2rem; }
  .logo small { display: none; }
  .cart-link { margin-left: auto; padding: 8px 12px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .universes { grid-template-columns: 1fr; }
  .universe { aspect-ratio: 16/10; }
  .hero-badge { left: -6px; bottom: -14px; }
  .hero-badge img { width: 64px; height: 64px; }
  .frame img { aspect-ratio: 4/3; object-position: center 30%; }
  .hero-visual { max-width: 340px; }
  .hero-cta .btn { flex: 1; text-align: center; padding: 11px 12px; font-size: .95rem; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-img { padding: 8px; }
  .card-btn { display: none; }
  .section { padding: 40px 0; }
  .product, .checkout { grid-template-columns: 1fr; }
  .reassure-row, .footer-grid { grid-template-columns: 1fr; }
  table.cart thead { display: none; }
  table.cart td { padding: 6px; }
  h1 { font-size: 1.6rem; }
}

/* ---------- Commande ---------- */
.btn.block { display: block; width: 100%; text-align: center; margin-top: 14px; }
.hint { color: var(--muted); font-size: .85rem; display: block; margin-top: 8px; }
.checkout-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 26px 24px; }
h2.step { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 18px 0 2px; }
h2.step span { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #fff; font-family: "Nunito Sans", sans-serif; font-size: .9rem; }
.row2.even { grid-template-columns: 1fr 1fr; }
.form label small { font-weight: 400; color: var(--muted); }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex !important; flex-direction: row !important; align-items: center; gap: 14px !important; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; background: #fff; font-weight: 400 !important; transition: border-color .15s, background .15s; }
.pay-option:has(input:checked) { border-color: var(--green); background: #f4f7ee; box-shadow: 0 0 0 3px rgba(140,162,58,.15); }
.pay-option[hidden] { display: none !important; }
.pay-option input { accent-color: var(--green); width: 18px; height: 18px; }
.pay-body { flex: 1; display: flex; flex-direction: column; }
.pay-body small { color: var(--muted); }
.pay-logo { min-width: 64px; text-align: center; font-weight: 800; font-size: .8rem; letter-spacing: .04em; padding: 6px 10px; border-radius: 8px; }
.pay-twint { background: #000; color: #fff; }
.pay-iban { background: var(--sand); color: var(--brown); }
.pay-pickup, .pay-post { color: var(--green); }
.pay-pickup .ico, .pay-post .ico { width: 26px; height: 26px; }
.test-box { display: flex !important; flex-direction: row !important; gap: 10px !important; align-items: flex-start; background: #fdf0d2; border: 1px dashed #d9a93f; border-radius: 10px; padding: 12px 14px; font-weight: 400 !important; margin-top: 16px; }
.test-box input { margin-top: 4px; }
.panel-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 26px 20px; }
.thanks-icon .ico { width: 56px; height: 56px; color: #fff; background: var(--leaf); border-radius: 50%; padding: 12px; margin: 0 auto 6px; }
.test-flag { display: inline-block; background: #fdf0d2; color: #7a5410; padding: 6px 14px; border-radius: 999px; font-weight: 700; }
.thanks { margin-bottom: 22px; }

/* ---------- Panier en lignes / cartes ---------- */
.cart-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 90px 120px 40px; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-head { background: var(--sand); color: var(--brown); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding-top: 9px; padding-bottom: 9px; }
.cart-prod { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 600; min-width: 0; }
.cart-prod img { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px; flex: none; }
.cart-prod small { display: block; }
.cart-total { text-align: right; color: var(--brown); }
.cart-del { justify-self: end; }
.cart-foot .totals { margin-left: auto; }

/* ---------- Menu mobile ---------- */
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.menu-toggle span { width: 20px; height: 2px; background: var(--green-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-only { display: none !important; }
.more-link { display: none; background: none; border: 0; padding: 0; color: var(--green); font: inherit; font-weight: 700; cursor: pointer; margin-top: 6px; }

/* ---------- Tablette ---------- */
@media (max-width: 960px) {
  .header-row { gap: 14px; }
  .search { max-width: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .product { gap: 24px; }
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 680px) {
  body { font-size: 15px; }
  .site-header { position: sticky; }
  .header-row { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .logo { gap: 8px; min-width: 0; }
  .logo strong { font-size: 1.1rem; }
  .cart-link { margin-left: auto; padding: 0 12px; height: 44px; }
  .cart-label { display: none; }
  .menu-toggle { display: flex; }
  .search input { padding: 9px 14px; }
  .cat-nav { display: none; max-height: calc(100vh - 130px); overflow-y: auto; background: #fff; border-top: 1px solid var(--line); }
  body.menu-open .cat-nav { display: block; }
  .cat-nav .wrap { padding: 0; }
  .cat-nav-row { flex-direction: column; flex-wrap: nowrap; padding: 4px 0 10px; }
  .cat-nav-row > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .cat-nav-row > li > a { flex: 1; color: var(--brown); padding: 14px 20px; white-space: normal; font-size: .95rem; }
  .cat-nav-row > li > a::after { display: none; }
  .cat-nav-row > li > a:hover, .cat-nav-row > li:hover > a, .cat-nav-row > li:focus-within > a { background: none; color: var(--green); }
  .cat-nav-row > li > a.on { color: var(--green); box-shadow: inset 4px 0 0 var(--leaf); }
  .has-sub > a > .ico { display: none; }
  .sub-toggle { display: flex; align-items: center; justify-content: center; width: 54px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--green); cursor: pointer; }
  .sub-toggle .ico { transition: transform .2s; }
  .sub-open > .sub-toggle .ico { transform: rotate(180deg); }
  .mega, .has-sub:hover > .mega, .has-sub:focus-within > .mega { position: static; display: none; width: 100%; opacity: 1; visibility: visible; transform: none; transition: none; border: 0; border-radius: 0; box-shadow: none; background: var(--bg); min-height: 0; }
  .has-sub.sub-open > .mega { display: block; }
  .mega-list { padding: 6px 12px 12px; }
  .mega-list ul, .mega:not(.wide) .mega-list ul { columns: 1; }
  .mega-all { font-size: 1rem; padding: 10px 8px; margin-bottom: 4px; }
  .mega-visual { display: none; }
  .nav-mobile-only { display: flex !important; }
  .nav-mobile-only > a { color: var(--green) !important; gap: 8px; }
  .topbar { font-size: .8rem; }

  .hero-grid { gap: 28px; padding-top: 28px; padding-bottom: 40px; }
  .lead { font-size: 1rem; }
  .section-head { margin-bottom: 18px; }
  .banner { padding: 26px 20px; border-radius: 16px; }
  .visit h2 { font-size: 1.6rem; }

  .listing { padding-top: 14px; }
  .page-head { padding: 14px 16px; }
  .page-head h1 { font-size: 1.45rem; }
  .cat-desc { max-height: 4.6em; overflow: hidden; position: relative; }
  .cat-desc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.6em; background: linear-gradient(transparent, var(--surface)); }
  .cat-desc.open { max-height: none; }
  .cat-desc.open::after { display: none; }
  .more-link { display: inline-block; }
  .subcats { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px 4px; scrollbar-width: none; }
  .subcats a { white-space: nowrap; flex: none; }

  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 10px 11px 12px; }
  .card-body h3 { font-size: .86rem; margin-bottom: 6px; }
  .price { font-size: .98rem; }

  .product { gap: 16px; margin-top: 6px; }
  .gallery > img { padding: 8px; }
  .thumbs img { width: 60px; height: 60px; }
  .info { padding: 4px 18px 18px; }
  .info h1 { font-size: 1.4rem; }
  .add-form { max-width: none; }
  .add-form .btn { padding: 14px; }
  .description { padding: 4px 18px 20px; }
  .rich ul li { padding: 9px 12px 9px 40px; }
  .rich ul li::before { left: 12px; }
  .rich table.spec th, .rich table.spec td { padding: 8px 10px; font-size: .86rem; hyphens: auto; }
  .rich table.spec th { width: 42%; }
  .description h2 { font-size: 1.25rem; }

  .cart-head { display: none; }
  .cart-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "prod del" "qty total"; gap: 10px; padding: 14px; }
  .cart-prod { grid-area: prod; align-items: flex-start; }
  .cart-prod img { width: 72px; height: 72px; }
  .cart-unit { display: none; }
  .cart-qty { grid-area: qty; }
  .cart-total { grid-area: total; align-self: center; font-size: 1.05rem; }
  .cart-del { grid-area: del; align-self: start; }
  .cart-foot { flex-direction: column-reverse; align-items: stretch; }
  .cart-foot .totals { margin-left: 0; min-width: 0; }

  .checkout-main { padding: 4px 16px 18px; }
  .row2, .row2.even { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .row2:not(.even) { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .pay-option { padding: 12px; gap: 10px !important; }
  .pay-logo { min-width: 0; font-size: .7rem; padding: 4px 7px; }
  .summary { padding: 4px 16px 16px; }
  .panel-box { padding: 4px 16px 16px; }

  .reassure-row { grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 20px; padding-bottom: 20px; }
  .reassure-row > div { grid-template-columns: 1fr; text-align: center; justify-items: center; row-gap: 4px; }
  .reassure-row .ico { grid-row: auto; }
  .reassure-row strong { font-size: .88rem; line-height: 1.25; }
  .reassure-row span { font-size: .78rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-top: 32px; padding-bottom: 26px; }
  .f-about { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 14px; align-items: center; }
  .f-about img { grid-row: span 2; margin: 0; width: 72px; height: 72px; }
  .f-about p { margin: 0 0 6px; }
  .footer-grid > div:nth-child(3) { grid-column: 1 / -1; order: 4; }
}
input, select, textarea { max-width: 100%; min-width: 0; }
.form label input:not([type=radio]):not([type=checkbox]), .form label select, .form label textarea { width: 100%; }
.sum-line span:last-child { white-space: nowrap; }
.test-box input, .pay-option input { flex: none; }
@media (min-width: 700px) and (max-width: 960px) {
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 28px; padding-top: 40px; }
  .logo small { display: none; }
}
@media (min-width: 700px) and (max-width: 960px) {
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 28px; padding-top: 40px; }
  .logo small { display: none; }
}

/* ---------- Pastilles de couleur ---------- */
.swatches { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.swatches legend { font-size: .92rem; font-weight: 700; margin-bottom: 8px; padding: 0; }
.swatches legend strong { color: var(--green); }
.swatch { position: relative; cursor: pointer; display: inline-flex !important; }
.swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.swatch span { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); box-shadow: inset 0 0 0 3px #fff; transition: transform .12s, box-shadow .12s; }
.swatch:hover span { transform: scale(1.08); }
.swatch input:checked + span { box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--green); }
.swatch input:focus-visible + span { outline: 2px solid var(--leaf); outline-offset: 3px; }
.swatch.off { cursor: not-allowed; opacity: .45; }
.swatch.off span { background-image: linear-gradient(to top right, transparent 47%, #a33a2a 47%, #a33a2a 53%, transparent 53%) !important; }

/* ---------- Blocs de l'accueil (Admin → Accueil) ---------- */
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid.carousel { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 3 * 22px) / 4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.grid.carousel > * { scroll-snap-align: start; }
.card-text { margin: -4px 0 10px; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.custom-card .card-img img { object-fit: cover; }
.promo-banner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow); min-height: 260px; }
.promo-banner.layout-left { grid-template-columns: .9fr 1.1fr; }
.promo-banner.layout-left .promo-img { order: -1; }
.promo-banner.no-img { grid-template-columns: 1fr auto; align-items: center; }
.promo-text { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.promo-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 10px; color: inherit; }
.promo-text p { margin: 0 0 18px; max-width: 38em; }
.promo-img { position: relative; min-height: 220px; }
.promo-img a, .promo-img img { display: block; width: 100%; height: 100%; }
.promo-img img { position: absolute; inset: 0; object-fit: cover; }
.promo-banner .banner-logo { padding: 0 44px; }
.promo-banner.layout-full { grid-template-columns: 1fr; background-image: linear-gradient(90deg, var(--tint, rgba(0,0,0,.62)) 0%, var(--tint2, rgba(0,0,0,.25)) 60%, transparent 100%), var(--banner-img); background-size: cover; background-position: center; min-height: 340px; }
.promo-banner.layout-full.scheme-green { --tint: rgba(59,75,50,.88); --tint2: rgba(59,75,50,.45); }
.promo-banner.layout-full.scheme-brown { --tint: rgba(75,42,18,.88); --tint2: rgba(75,42,18,.45); }
.promo-banner.layout-full.scheme-red { --tint: rgba(140,36,30,.9); --tint2: rgba(163,48,42,.45); }
.promo-banner.layout-full.scheme-sand, .promo-banner.layout-full.scheme-light { --tint: rgba(40,32,24,.7); --tint2: rgba(40,32,24,.3); }
.promo-banner.layout-full .promo-text { color: #fff; max-width: 640px; }
.promo-banner.layout-full .promo-text h2 { color: #fff; }
.promo-banner.layout-full .eyebrow { color: #fff; opacity: .9; }
.scheme-green { background: var(--green); color: #eef2e4; }
.scheme-green .eyebrow { color: #d6e3a8; }
.scheme-green h2 { color: #fff; }
.scheme-green .btn { background: #fff; color: var(--green-dark); border-color: #fff; }
.scheme-brown { background: var(--brown); color: #f6ead8; }
.scheme-brown .eyebrow { color: #e8c98f; }
.scheme-brown h2 { color: #fff; }
.scheme-brown .btn { background: #e8c98f; color: #2d1f14; border-color: #e8c98f; }
.scheme-light { background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.scheme-light h2 { color: var(--green-dark); }
.scheme-sand { background: var(--sand); color: var(--text); }
.scheme-sand h2 { color: var(--green-dark); }
.scheme-red { background: #a3302a; color: #fdeeea; }
.scheme-red .eyebrow { color: #ffd2c4; }
.scheme-red h2 { color: #fff; }
.scheme-red .btn { background: #fff; color: #7a1f1a; border-color: #fff; }
.text-block { max-width: 820px; text-align: center; }
.text-block-body { font-size: 1.08rem; color: var(--muted); }
.block-preview { position: relative; outline: 2px dashed transparent; }
.block-preview:hover { outline-color: var(--leaf); }
.block-label { position: absolute; top: 8px; left: 8px; z-index: 30; background: rgba(28,23,20,.85); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; opacity: 0; transition: opacity .15s; }
.block-label a { color: #c7da7a; margin-left: 6px; }
.block-preview:hover .block-label, .block-preview.is-off .block-label { opacity: 1; }
.block-preview.is-off { outline-color: #c0562a; }
.block-preview.is-off > section { opacity: .55; }
@media (max-width: 960px) {
  .grid.cols-4, .grid.cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.carousel { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .promo-banner, .promo-banner.layout-left { grid-template-columns: 1fr; }
  .promo-banner.layout-left .promo-img { order: 0; }
  .promo-img { min-height: 200px; aspect-ratio: 16/9; }
}
@media (max-width: 680px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.carousel { grid-auto-columns: 70%; }
  .promo-text { padding: 26px 22px; }
  .promo-banner .banner-logo { display: none; }
}

/* Suggestions de recherche */
.search { position: relative; }
.search-sug { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 300; background: var(--surface); border-radius: 18px; box-shadow: 0 18px 40px rgba(40, 40, 20, .2); border: 1px solid var(--line); padding: 6px; max-height: min(70vh, 520px); overflow-y: auto; }
.search-sug[hidden] { display: none; }
.sug-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 10px; border-radius: 12px; color: var(--text); text-decoration: none; }
.sug-item:hover, .sug-item.on { background: #eef0e8; }
.sug-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; }
.sug-item span { min-width: 0; }
.sug-item strong { display: block; font-weight: 600; color: var(--green-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug-item strong b, .sug-cat b { color: var(--green); font-weight: 800; }
.sug-item small { display: block; color: var(--muted); font-size: .78rem; }
.sug-item em { font-style: normal; font-weight: 700; color: var(--green); font-size: .9rem; white-space: nowrap; }
.sug-cat { grid-template-columns: 48px minmax(0, 1fr); border-top: 1px dashed var(--line); border-radius: 0 0 12px 12px; }
.sug-cat i { width: 48px; text-align: center; font-style: normal; font-size: 1.2rem; color: var(--leaf); }
.sug-cat strong { display: inline; }
.sug-note, .sug-empty { margin: 6px 10px; font-size: .85rem; color: var(--muted); }
.sug-all { display: block; width: calc(100% - 8px); margin: 6px 4px 2px; padding: 10px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.search-note { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 680px) {
  .search-sug { max-height: 60vh; }
  .sug-item { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; }
  .sug-item img { width: 44px; height: 44px; }
}

.construction-bar { background: #8a2b17 !important; }
.footer-bottom a { color: inherit; text-decoration: underline; }

/* ---------- Pages légales ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; margin: 10px 0 40px; }
.legal-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 90px; }
.legal-nav a { padding: 9px 14px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; }
.legal-nav a:hover { background: var(--sand); }
.legal-nav a.on { background: var(--green); color: #fff; }
.legal-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 34px 26px; box-shadow: var(--shadow); max-width: 860px; }
.legal-body h2 { font-size: 1.12rem; margin: 22px 0 6px; color: var(--green-dark); }
.legal-body p, .legal-body li { color: var(--text); }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin-bottom: 6px; }
.legal-links a { text-decoration: none !important; opacity: .9; }
.legal-links a:hover { text-decoration: underline !important; }
@media (max-width: 760px) {
  .legal { grid-template-columns: 1fr; gap: 14px; }
  .legal-nav { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .legal-nav a { white-space: nowrap; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; }
  .legal-body { padding: 4px 18px 20px; }
}

/* ---------- Bandeau cookies ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto; display: flex; gap: 14px; align-items: center;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: .9rem; flex: 1; }
.btn.small { padding: 7px 14px; font-size: .9rem; }
@media (max-width: 560px) { .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; left: 10px; right: 10px; bottom: 10px; } }

/* ---------- Newsletter ---------- */
.newsletter-band { background: var(--sand); border-top: 1px solid var(--line); padding: 30px 0; }
.nl-row { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.nl-txt h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 1.35rem; color: var(--green-dark); }
.nl-txt p { margin: 0; color: var(--muted); }
.nl-form { display: flex; gap: 8px; flex: 1; max-width: 460px; min-width: 260px; }
.nl-form input[type=email] { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .nl-form { flex-direction: column; max-width: none; } }

/* ---------- Panier : code promo, livraison offerte ---------- */
.coupon-box { margin: 10px 0 4px; text-align: left; }
.coupon-box summary { cursor: pointer; color: var(--green); font-weight: 700; font-size: .92rem; }
.coupon-row { display: flex; gap: 8px; margin-top: 8px; }
.coupon-row input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; text-transform: uppercase; letter-spacing: .05em; }
.coupon-row .btn { padding: 8px 14px; }
.coupon-err { display: block; color: var(--warn); margin-top: 6px; }
.coupon-on { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: #eef4e4; border: 1px dashed var(--leaf); border-radius: 10px; padding: 8px 12px; margin: 8px 0; font-size: .92rem; }
.coupon-on .link { background: none; border: 0; color: var(--warn); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
.totals .discount strong, .sum-line.discount span:last-child { color: #2e7d32; }
.ship-progress { margin: 6px 0 10px; font-size: .88rem; color: var(--muted); }
.ship-progress span { display: block; margin-bottom: 5px; }
.ship-progress i { display: block; height: 6px; border-radius: 6px; background: var(--leaf); max-width: 100%; box-shadow: inset 0 0 0 999px rgba(255,255,255,0); position: relative; }
.ship-progress { background-image: linear-gradient(var(--line), var(--line)); background-size: 100% 6px; background-repeat: no-repeat; background-position: 0 100%; }

/* ---------- Commande ---------- */
.summary label.chk { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; margin: 10px 0 0; font-weight: 400; cursor: pointer; }
.summary label.chk input { margin-top: 4px; flex: none; }
.summary .cgv-chk { margin-top: 14px; }
.summary #confirm-btn { margin-top: 14px; }
.pay-logo.pay-card { font-size: .72rem; letter-spacing: .04em; }

/* ---------- Avis clients ---------- */
.stars { position: relative; display: inline-block; color: #d9d2c3; letter-spacing: 1px; line-height: 1; white-space: nowrap; font-size: 1rem; }
.stars-on { position: absolute; left: 0; top: 0; overflow: hidden; color: #e3a008; }
.stars.big { font-size: 1.35rem; }
.rating-line { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--text); margin: -4px 0 8px; font-size: .95rem; }
.rating-line > span:last-child { color: var(--muted); }
.reviews { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 34px 28px; margin-top: 28px; box-shadow: var(--shadow); }
.reviews-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-bottom: 14px; }
.reviews-head h2 { margin: 14px 0 6px; }
.reviews-score { display: flex; align-items: center; gap: 10px; }
.reviews-score strong { font-size: 2rem; color: var(--green-dark); font-family: var(--serif); }
.reviews-score > span:last-child { color: var(--muted); }
.reviews-dist { max-width: 360px; margin: 0 0 18px; font-size: .85rem; }
.reviews-dist div { display: grid; grid-template-columns: 34px 1fr 26px; gap: 8px; align-items: center; margin: 3px 0; color: var(--muted); }
.reviews-dist i { height: 7px; background: var(--line); border-radius: 6px; overflow: hidden; }
.reviews-dist b { display: block; height: 100%; background: #e3a008; }
.review-list { display: grid; gap: 12px; }
.review { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; background: #fff; }
.review-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-top time { margin-left: auto; color: var(--muted); font-size: .85rem; }
.review p { margin: 8px 0 0; }
.verified { color: #2e7d32; font-size: .82rem; font-weight: 700; }
.review-reply { margin-top: 10px; padding: 8px 12px; border-left: 3px solid var(--leaf); background: var(--bg); border-radius: 0 8px 8px 0; font-size: .92rem; }
.review-reply p { margin: 2px 0 0; }
.review-form-box { margin-top: 18px; }
.review-form-box > summary { list-style: none; display: inline-block; }
.review-form-box > summary::-webkit-details-marker { display: none; }
.review-form-box[open] > summary { display: none; }
.review-form { max-width: 640px; }
.row2.even { grid-template-columns: 1fr 1fr; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; border: 0; padding: 0; margin: 0; gap: 2px; }
.star-input legend { font-weight: 700; font-size: .92rem; margin-bottom: 4px; width: 100%; float: left; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .star-input label { font-size: 2rem; color: #d9d2c3; cursor: pointer; line-height: 1; display: inline; font-weight: 400; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #e3a008; }
.star-input input:focus-visible + label { outline: 2px solid var(--green); border-radius: 4px; }
@media (max-width: 700px) { .reviews { padding: 6px 16px 20px; } .row2.even { grid-template-columns: 1fr; } }

/* ---------- Me prévenir (rupture de stock) ---------- */
.notify-form { margin-top: 14px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--surface); }
.notify-form p { margin: 0 0 8px; }
.notify-form small { color: var(--muted); }
.notify-form .row-inline { display: flex; gap: 8px; }
.notify-form input[type=email] { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.notify-ok { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: #eef4e4; color: #2e4a1d; font-weight: 600; }
@media (max-width: 480px) { .notify-form .row-inline { flex-direction: column; } }

/* Délais : articles faits sur commande, délai à la commande */
.make-note { display: block; color: var(--green); font-size: .85rem; font-weight: 700; margin-top: 3px; }
p.make-note { margin: 0 0 10px; }
.delay-note { margin: 10px 0 4px; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.035); font-size: .88rem; line-height: 1.45; }

/* Logos des moyens de paiement */
.pay-badges { margin-top: 14px; display: grid; gap: 6px; }
.pay-badges-label { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.pay-badges-label .ico { width: 15px; height: 15px; }
.pay-badges-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-badge { display: block; width: 46px; height: auto; border-radius: 5px; }
.pay-badges.on-dark { margin-top: 16px; }
.pay-badges.on-dark .pay-badges-label { color: rgba(255,255,255,.75); }
.totals .pay-badges, .summary .pay-badges { justify-items: center; }
.totals .pay-badges-row, .summary .pay-badges-row { justify-content: center; }
/* Vous aimerez aussi */
.related { margin: 40px 0 10px; }
.related h2 { margin-bottom: 16px; }
@media (min-width: 900px) { .related-grid { grid-template-columns: repeat(4, 1fr); } }

/* Liens ajoutés au menu (Réglages → Affichage) : petit menu déroulant sous le lien */
@media (min-width: 681px) {
  .cat-nav-row > li.nav-extra { position: relative; }
  .nav-extra > .mega-links { left: 0; right: auto; width: max-content; min-width: 240px; max-width: 340px; min-height: 0; }
  .nav-extra > .mega-links .mega-list { padding: 12px 12px 14px; }
  .nav-extra > .mega-links .mega-list ul { columns: 1; }
  .cat-nav-row > li.nav-extra:last-child > .mega-links { left: auto; right: 0; }
}
@media (min-width: 961px) {
  .cat-nav-row:has(> li.nav-extra) > li > a { padding-left: 10px; padding-right: 10px; font-size: .86rem; }
  .cat-nav-row:has(> li.nav-extra) > li > a::after { left: 10px; right: 10px; }
}
.nav-extra > a[target="_blank"]:not([href$=".pdf"])::before { content: "↗"; order: 2; font-size: .85em; opacity: .7; }

/* Bandeau de photos qui défilent (Accueil → Sélection de produits → Présentation « Bandeau ») */
.marquee-sec .section-head { margin-bottom: 18px; }
.marquee { overflow: hidden; padding: 4px 0 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq-scroll var(--mq-time, 40s) linear infinite; }
.mq-dup { display: contents; }
.marquee:hover .mq-track, .marquee:focus-within .mq-track { animation-play-state: paused; }
.mq-item { flex: none; display: flex; flex-direction: column; width: 220px; margin-right: 18px; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(47, 42, 34, .08); text-decoration: none; color: var(--text); transition: box-shadow .2s, transform .2s; }
.mq-item:hover { box-shadow: 0 10px 26px rgba(47, 42, 34, .16); transform: translateY(-2px); }
.mq-item img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; padding: 8px; }
.mq-cap { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px 12px; border-top: 1px solid var(--line); font-size: .86rem; line-height: 1.25; }
.mq-cap strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; font-weight: 700; }
.mq-cap em { font-style: normal; font-weight: 800; color: var(--green); }
@keyframes mq-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 680px) { .mq-item { width: 160px; margin-right: 12px; } }
.mq-static-wrap { position: relative; }
.marquee.mq-static { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 24px 8px; -webkit-mask-image: none; mask-image: none; }
.marquee.mq-static::-webkit-scrollbar { display: none; }
.mq-static .mq-track { animation: none; margin: 0 auto; }
.mq-static .mq-item { scroll-snap-align: start; }
.mq-arr { position: absolute; top: 40%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.mq-arr.prev { left: 10px; } .mq-arr.next { right: 10px; }
.mq-arr:hover { background: var(--green); color: #fff; }
@media (max-width: 680px) { .mq-arr { display: none; } }
/* Animations réduites (souvent le cas sur Windows) : le bandeau défile quand même, plus lentement */
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation-duration: calc(var(--mq-time, 40s) * 1.6); }
}

/* Bouton WhatsApp flottant */
.wa-btn { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 800; font-size: .95rem; text-decoration: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); transition: transform .15s, box-shadow .15s; }
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .25); color: #fff; }
.wa-btn svg { width: 26px; height: 26px; }
@media (max-width: 680px) { .wa-btn { right: 12px; bottom: 12px; padding: 12px; } .wa-btn span { display: none; } }
@media print { .wa-btn { display: none; } }

/* Mon compte */
.account-link { display: flex; align-items: center; gap: 6px; color: var(--green-dark); text-decoration: none; font-weight: 700; font-size: .92rem; padding: 10px 8px; white-space: nowrap; max-width: 150px; }
.account-link span { overflow: hidden; text-overflow: ellipsis; }
.account-link:hover { color: var(--leaf); }
.account-link .ico { width: 22px; height: 22px; flex: none; }
.account-box { max-width: 520px; margin: 30px auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; text-align: center; }
.account-box h1 { margin-top: 0; }
.account-login { display: grid; gap: 12px; text-align: left; margin: 18px 0 10px; }
.account-login label { display: grid; gap: 6px; font-weight: 700; }
.account-login input[type=email] { width: 100%; }
.hp { position: absolute; left: -9999px; }
.account-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 20px 0 10px; }
.account-head h1 { margin: 0; }
.account-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: start; margin-bottom: 30px; }
.account-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.account-card h2 { margin-top: 0; }
.account-orders { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: .93rem; }
.account-orders th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.account-orders td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.account-orders .r { text-align: right; white-space: nowrap; }
.account-form { display: grid; gap: 12px; }
.account-form .btn { justify-self: start; }
.login-hint { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--bg); border-radius: 10px; padding: 10px 14px; font-size: .9rem; margin: 0 0 14px; }
.login-hint .ico { width: 18px; height: 18px; color: var(--green); }
@media (max-width: 820px) { .account-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .account-link span { display: none; } .account-link { padding: 8px 4px; } }
.wa-btn.wa-away { background: #8a8f86; }
.wa-btn.wa-away:hover { background: #767b72; }
