/*
Theme Name: La Verte Coopérative
Theme URI: https://lavertecooperative.fr
Author: La Verte Coopérative
Description: Thème WooCommerce pour coopérative agricole — jardin, plantes, animaux, outillage, insecticides bio.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: verte-cooperative
Tags: woocommerce, agriculture, jardin, nature, e-commerce, responsive
*/

/* =============================================
   VARIABLES
   ============================================= */
:root {
  --green-deep:   #1a3a2a;
  --green-mid:    #2d5a3d;
  --green-sage:   #6b8f71;
  --green-light:  #a8c5a0;
  --green-pale:   #d4e8d0;
  --cream:        #f5f0e8;
  --cream-dark:   #ede5d8;
  --earth:        #8b6914;
  --earth-light:  #c4a35a;
  --white:        #fafaf7;
  --text-dark:    #1a2a1e;
  --text-mid:     #3d5440;
  --border:       rgba(107,143,113,0.15);
  --radius-sm:    0.5rem;
  --radius-md:    1rem;
  --radius-lg:    1.5rem;
  --radius-full:  3rem;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg:    0 20px 50px rgba(0,0,0,0.14);
  --transition:   all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--text-dark); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* TYPO */
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; line-height: 1.15; color: var(--green-deep); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p  { color: var(--text-mid); line-height: 1.75; }

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 0; }
.section-tag { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--green-sage); margin-bottom: 0.7rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3.5vw,2.8rem); color: var(--green-deep); position: relative; display: inline-block; }
.section-title em { font-style: italic; color: var(--green-mid); }
.section-title::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: linear-gradient(90deg,var(--green-light),var(--green-mid),var(--earth-light)); border-radius: 2px; transition: width 0.8s cubic-bezier(.22,1,.36,1); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header.revealed .section-title::after { width: 70%; }

/* BOUTONS */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 2rem; border-radius: var(--radius-full); font-size: 0.9rem; font-weight: 500; font-family: inherit; transition: var(--transition); cursor: pointer; border: none; text-decoration: none; position: relative; overflow: hidden; }
.btn-primary { background: var(--earth-light); color: var(--green-deep); }
.btn-primary:hover { background: #d4ae65; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(196,163,90,0.4); }
.btn-dark    { background: var(--green-deep); color: var(--cream); }
.btn-dark:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,58,42,0.3); }
.btn-outline { background: transparent; color: var(--green-deep); border: 1.5px solid var(--green-light); }
.btn-outline:hover { background: var(--green-pale); border-color: var(--green-mid); }
.btn-ghost   { background: transparent; color: var(--cream); border: 1.5px solid rgba(212,232,208,0.35); }
.btn-ghost:hover { background: rgba(168,197,160,0.1); border-color: var(--green-light); }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.28); transform: scale(0); animation: rippleAnim 0.6s linear; pointer-events: none; }
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ── HEADER ── */
#masthead { position: sticky; top: 0; z-index: 200; background: rgba(250,250,247,0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); transition: box-shadow 0.3s, padding 0.3s; }
#masthead.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; max-width: 1200px; margin: 0 auto; gap: 2rem; }
.site-branding { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }
.logo-badge { width: 40px; height: 40px; border-radius: 50%; background: var(--green-mid); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: transform 0.5s cubic-bezier(.34,1.56,.64,1); }
.site-branding:hover .logo-badge { transform: rotate(20deg) scale(1.1); }
.site-title   { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--green-deep); line-height: 1.1; margin: 0; }
.site-tagline { display: block; font-family: 'DM Sans', sans-serif; font-size: 0.7rem; font-weight: 300; color: var(--green-sage); }
#primary-navigation { flex: 1; display: flex; justify-content: center; }
#primary-navigation ul { display: flex; gap: 2rem; }
#primary-navigation ul li a { font-size: 0.88rem; color: var(--text-mid); position: relative; padding-bottom: 3px; }
#primary-navigation ul li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg,var(--green-mid),var(--green-sage)); border-radius: 1px; transition: width 0.35s cubic-bezier(.22,1,.36,1); }
#primary-navigation ul li a:hover,
#primary-navigation ul li.current-menu-item > a { color: var(--green-deep); }
#primary-navigation ul li a:hover::after,
#primary-navigation ul li.current-menu-item > a::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }
.header-search { display: flex; align-items: center; gap: 0.5rem; background: var(--green-pale); border-radius: var(--radius-full); padding: 0.45rem 1rem; border: 1px solid transparent; transition: var(--transition); }
.header-search:focus-within { border-color: var(--green-sage); background: var(--white); }
.header-search input { background: none; border: none; outline: none; font-size: 0.83rem; color: var(--text-dark); font-family: inherit; width: 150px; }
.cart-icon-wrap { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--green-light); transition: var(--transition); font-size: 1rem; }
.cart-icon-wrap:hover { background: var(--green-pale); border-color: var(--green-mid); }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--earth); color: #fff; font-size: 0.6rem; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.menu-toggle { display: none; font-size: 1.3rem; color: var(--green-mid); }

/* ── HERO ── */
.hero-section { min-height: 90vh; background: var(--green-deep); position: relative; overflow: hidden; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%,rgba(45,90,61,.7),transparent 55%), radial-gradient(ellipse at 10% 80%,rgba(168,197,160,.1),transparent 40%); }
.hero-orb { position: absolute; border-radius: 50%; background: radial-gradient(circle,rgba(168,197,160,.13),transparent 70%); animation: orbFloat 9s ease-in-out infinite; }
.hero-orb-1 { width:500px;height:500px;top:-150px;right:10%;animation-delay:0s }
.hero-orb-2 { width:300px;height:300px;bottom:0;right:38%;animation-delay:3s }
.hero-orb-3 { width:200px;height:200px;top:25%;right:2%;animation-delay:6s }
@keyframes orbFloat { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-28px) scale(1.04)} }
.hero-vine { position:absolute;right:0;top:0;bottom:0;width:460px;pointer-events:none;z-index:1;opacity:.18; }
.vine-path { stroke-dasharray:2200;stroke-dashoffset:2200;animation:vineDraw 4s ease-out .5s forwards }
.vine-leaf { opacity:0;transform-origin:center;animation:leafAppear .6s ease-out forwards }
.vine-leaf:nth-child(1){animation-delay:1.2s}.vine-leaf:nth-child(2){animation-delay:1.8s}.vine-leaf:nth-child(3){animation-delay:2.3s}.vine-leaf:nth-child(4){animation-delay:2.8s}.vine-leaf:nth-child(5){animation-delay:3.2s}.vine-leaf:nth-child(6){animation-delay:3.6s}.vine-leaf:nth-child(7){animation-delay:4s}.vine-leaf:nth-child(8){animation-delay:4.3s}
@keyframes vineDraw{to{stroke-dashoffset:0}}
@keyframes leafAppear{0%{opacity:0;transform:scale(0) rotate(-30deg)}60%{opacity:1;transform:scale(1.15) rotate(5deg)}100%{opacity:1;transform:scale(1) rotate(0deg)}}
.hero-particles { position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden }
.particle { position:absolute;border-radius:50%;background:radial-gradient(circle,rgba(168,197,160,.9),transparent 70%);animation:particleRise linear infinite;pointer-events:none }
@keyframes particleRise{0%{transform:translateY(0) translateX(0) scale(1);opacity:0}10%{opacity:1}90%{opacity:.5}100%{transform:translateY(-110vh) translateX(var(--drift)) scale(.4);opacity:0}}
.hero-content { position:relative;z-index:2;padding:0 2rem;max-width:660px;margin-left:max(2rem,5vw) }
.hero-badge { display:inline-flex;align-items:center;gap:.5rem;background:rgba(168,197,160,.12);border:1px solid rgba(168,197,160,.25);color:var(--green-light);font-size:.76rem;padding:.4rem 1rem;border-radius:var(--radius-full);text-transform:uppercase;letter-spacing:.08em;margin-bottom:1.8rem }
.hero-title { font-family:'Playfair Display',serif;font-size:clamp(2.8rem,5.5vw,5rem);color:var(--cream);line-height:1.05;margin-bottom:1.4rem }
.hero-title em { font-style:italic;color:var(--green-light) }
.hero-subtitle { font-family:'Cormorant Garamond',serif;font-size:1.25rem;font-weight:300;font-style:italic;color:rgba(212,232,208,.7);margin-bottom:2.5rem;line-height:1.6 }
.hero-actions { display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:3.5rem }
.hero-stats { display:flex;gap:3rem;flex-wrap:wrap }
.hero-stat { border-left:2px solid rgba(168,197,160,.25);padding-left:1.1rem }
.hero-stat-num { font-family:'Playfair Display',serif;font-size:2rem;color:var(--cream);line-height:1 }
.hero-stat-label { font-size:.76rem;color:var(--green-sage);margin-top:.2rem }

/* ── CATÉGORIES ── */
.cat-grid { display:grid;grid-template-columns:repeat(3,1fr) 1.4fr;grid-template-rows:1fr 1fr;gap:1.2rem }
.cat-card { border-radius:var(--radius-lg);padding:2rem 1.8rem;min-height:190px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden;transition:transform 0.3s,box-shadow 0.3s;cursor:pointer;will-change:transform }
.cat-card:hover { transform:translateY(-5px);box-shadow:var(--shadow-lg) }
.cat-card.span-2 { grid-row:1/3;min-height:400px }
.cat-card::after { content:'';position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.14),transparent 60%);opacity:0;transition:opacity .3s;pointer-events:none }
.cat-card:hover::after { opacity:1 }
.cat-card:nth-child(1){background:linear-gradient(145deg,#2d5a3d,#1a3a2a)}
.cat-card:nth-child(2){background:linear-gradient(145deg,#4a7a55,#2d5a3d)}
.cat-card:nth-child(3){background:linear-gradient(145deg,#5a8a50,#3a6a3a)}
.cat-card:nth-child(4){background:linear-gradient(145deg,#6b8f71,#4a7060)}
.cat-card:nth-child(5){background:linear-gradient(145deg,#8b6914,#6b4e10)}
.cat-card:nth-child(6){background:linear-gradient(160deg,#a8c5a0,#6b8f71,#2d5a3d)}
.cat-emoji { font-size:2.4rem;margin-bottom:.8rem }
.cat-name  { font-family:'Playfair Display',serif;font-size:1.2rem;color:#fff;margin-bottom:.25rem }
.cat-count { font-size:.75rem;color:rgba(255,255,255,.5) }
.cat-arrow { position:absolute;top:1.2rem;right:1.2rem;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;font-size:.8rem;color:rgba(255,255,255,.6);transition:background .2s,transform .3s }
.cat-card:hover .cat-arrow { background:rgba(255,255,255,.22);transform:rotate(45deg) }

/* ── PRODUITS WOOCOMMERCE ── */
ul.products { display:grid!important;gap:1.4rem!important;list-style:none!important;margin:0!important;padding:0!important;width:100%!important }
ul.products.columns-4 { grid-template-columns:repeat(4,minmax(0,1fr))!important }
ul.products.columns-3 { grid-template-columns:repeat(3,minmax(0,1fr))!important }
ul.products.columns-2 { grid-template-columns:repeat(2,minmax(0,1fr))!important }

/* Forcer 4 colonnes partout */
ul.products.columns-4,
.section ul.products,
.section ul.products.columns-4,
.woocommerce ul.products.columns-4,
.woocommerce-page ul.products.columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
}
/* Empêcher les cartes de varier en hauteur */
ul.products li.product { height:auto!important; align-self:stretch!important }

ul.products li.product {
    background:var(--white)!important;
    border:1px solid rgba(107,143,113,.1)!important;
    border-radius:var(--radius-md)!important;
    overflow:hidden!important;
    transition:transform .3s,box-shadow .3s!important;
    padding:0!important;
    margin:0!important;
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    min-width:0!important;
}
ul.products li.product:hover { transform:translateY(-4px)!important;box-shadow:var(--shadow-md)!important }

/* Image carrée et bien cadrée */
ul.products li.product a.woocommerce-loop-product__link { display:block!important;overflow:hidden!important; }
ul.products li.product img {
    width:100%!important;
    height:220px!important;
    object-fit:contain!important;
    object-position:center!important;
    background:#f8f8f6!important;
    border-radius:0!important;
    transition:transform .4s,filter .3s!important;
    padding:1rem!important;
}
ul.products li.product:hover img { transform:scale(1.04)!important;filter:saturate(1.1)!important }

/* Titre produit — pas de débordement */
ul.products li.product h2.woocommerce-loop-product__title {
    font-family:'Playfair Display',serif!important;
    font-size:.95rem!important;
    color:var(--green-deep)!important;
    margin:.8rem 1.2rem .4rem!important;
    padding:0!important;
    line-height:1.4!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    word-break:break-word!important;
    white-space:normal!important;
}

/* Prix */
ul.products li.product .price { color:var(--green-mid)!important;font-weight:600!important;font-size:1rem!important;display:block!important;margin:0 1.2rem .8rem!important;padding:0!important }
ul.products li.product .price del { color:#bbb!important;font-size:.85rem!important }
ul.products li.product .price ins { text-decoration:none!important }

/* Bouton panier */
ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background:var(--green-mid)!important;
    color:#fff!important;
    border-radius:var(--radius-sm)!important;
    padding:.55rem 1.1rem!important;
    font-size:.82rem!important;
    font-weight:500!important;
    font-family:inherit!important;
    border:none!important;
    cursor:pointer!important;
    transition:background .2s,transform .2s,box-shadow .2s!important;
    text-transform:none!important;
    letter-spacing:0!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:.3rem!important;
    margin:0 1.2rem 1.2rem!important;
    white-space:nowrap!important;
    width:calc(100% - 2.4rem)!important;
    justify-content:center!important;
}
ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover { background:var(--green-deep)!important;transform:scale(1.02)!important;box-shadow:0 5px 18px rgba(45,90,61,.35)!important }

.woocommerce span.onsale { background:var(--earth)!important;border-radius:var(--radius-full)!important;font-size:.7rem!important;padding:.2rem .7rem!important;font-weight:500!important;top:.7rem!important;left:.7rem!important;min-width:unset!important;min-height:unset!important;line-height:1.6!important }

/* ── LAYOUT GÉNÉRAL WOOCOMMERCE (sans sidebar parasite) ── */
.woocommerce-page #primary,
.woocommerce #primary { width:100%!important;float:none!important }
.woocommerce-page #secondary,
.woocommerce #secondary { display:none!important }

/* Page de recherche — forcer sans sidebar */
.search-results #secondary,
.search-results .widget-area { display:none!important }
.search-results #primary { width:100%!important;float:none!important }
.search-results ul.products { grid-template-columns:repeat(4,minmax(0,1fr))!important }

/* ── PRODUIT UNIQUE ── */
.woocommerce div.product { display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start;padding:3rem 0 }
.woocommerce div.product .woocommerce-product-gallery { border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md) }
.woocommerce div.product h1.product_title { font-family:'Playfair Display',serif!important;font-size:2.2rem!important;color:var(--green-deep)!important;margin-bottom:1rem!important }
.woocommerce div.product p.price,.woocommerce div.product span.price { font-size:1.8rem!important;font-weight:600!important;color:var(--green-mid)!important;margin-bottom:1.5rem!important }
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce div.product form.cart .single_add_to_cart_button { background:var(--green-mid)!important;color:#fff!important;border-radius:var(--radius-full)!important;padding:.9rem 2.5rem!important;font-size:.95rem!important;font-weight:500!important;font-family:inherit!important;transition:var(--transition)!important;border:none!important }
.woocommerce div.product form.cart .single_add_to_cart_button:hover { background:var(--green-deep)!important;transform:translateY(-2px)!important }

/* ── BARRE DE CONFIANCE ── */
.trust-bar { background:var(--green-deep);padding:4rem 2rem }
.trust-bar-inner { display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;max-width:1000px;margin:0 auto }
.trust-item { text-align:center;transition:transform .3s }
.trust-item:hover { transform:translateY(-6px) }
.trust-icon { font-size:2.2rem;margin-bottom:.8rem;display:inline-block;transition:transform .4s cubic-bezier(.34,1.56,.64,1) }
.trust-item:hover .trust-icon { transform:scale(1.28) rotate(-8deg) }
.trust-title { font-family:'Playfair Display',serif;font-size:1rem;color:var(--cream);margin-bottom:.4rem }
.trust-text  { font-size:.8rem;color:var(--green-sage);line-height:1.6 }

/* ── PROMO BANNER ── */
.promo-banner { background:linear-gradient(135deg,var(--earth),var(--earth-light));padding:4.5rem 2rem;text-align:center;position:relative;overflow:hidden }
.promo-banner::before { content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 20% 50%,rgba(255,255,255,.15),transparent 50%);animation:promoPulse 6s ease-in-out infinite alternate;pointer-events:none }
@keyframes promoPulse { from{opacity:.6;transform:scale(1)} to{opacity:1;transform:scale(1.05)} }
.deco-leaf { position:absolute;font-size:5rem;opacity:.1;pointer-events:none;animation:decoSway 5s ease-in-out infinite }
.deco-leaf:nth-child(1){top:-10px;left:4%;animation-delay:0s;font-size:7rem}
.deco-leaf:nth-child(2){bottom:-10px;right:6%;animation-delay:2s;font-size:6rem}
.deco-leaf:nth-child(3){top:40%;left:48%;animation-delay:1s;font-size:3.5rem;opacity:.06}
@keyframes decoSway{0%,100%{transform:rotate(-5deg) scale(1)}50%{transform:rotate(5deg) scale(1.08)}}
.promo-banner h2 { font-family:'Playfair Display',serif;font-size:clamp(2rem,4vw,2.8rem);color:var(--green-deep);margin-bottom:1rem;line-height:1.2;position:relative;z-index:1 }
.promo-banner h2 em { font-style:italic }
.promo-banner p { color:rgba(26,58,42,.7);margin-bottom:2rem;position:relative;z-index:1 }

/* ── FOOTER ── */
#colophon { background:var(--green-deep);color:var(--green-sage);padding:4rem 2rem 1.5rem;position:relative }
#colophon::before { content:'';position:absolute;top:-40px;left:0;right:0;height:40px;background:var(--green-deep);clip-path:ellipse(55% 100% at 50% 100%) }
.footer-widgets { display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;max-width:1200px;margin:0 auto 3rem }
.footer-brand .site-name { font-family:'Playfair Display',serif;font-size:1.35rem;color:var(--cream);margin-bottom:.7rem }
.footer-brand p { font-size:.85rem;line-height:1.75;max-width:280px }
.footer-widget-title { font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;color:var(--cream);margin-bottom:1.2rem }
.footer-links { display:flex;flex-direction:column;gap:.55rem }
.footer-links a { font-size:.85rem;color:var(--green-sage);transition:color .2s,padding-left .2s }
.footer-links a:hover { color:var(--cream);padding-left:.4rem }
.footer-bottom-bar { max-width:1200px;margin:0 auto;border-top:1px solid rgba(107,143,113,.15);padding-top:1.5rem;display:flex;justify-content:space-between;font-size:.76rem;color:rgba(107,143,113,.55);flex-wrap:wrap;gap:.5rem }

/* ── SHOP PAGE ── */
.shop-page-hero { background:var(--green-mid);padding:5rem 2rem 3rem;text-align:center;position:relative;overflow:hidden }
.shop-page-hero h1 { font-family:'Playfair Display',serif;font-size:3rem;color:var(--cream) }
.shop-page-hero p  { color:var(--green-light) }

/* Sidebar filtres */
.widget-title { font-family:'Playfair Display',serif!important;font-size:1rem!important;color:var(--green-deep)!important;margin-bottom:1.2rem!important;padding-bottom:.6rem!important;border-bottom:1px solid var(--green-pale)!important }
.widget_product_categories .product-categories li a { color:var(--text-mid);font-size:.88rem;transition:color .2s }
.widget_product_categories .product-categories li a:hover { color:var(--green-mid) }
.widget_price_filter .ui-slider { background:var(--green-pale)!important;border-radius:2px!important;height:4px!important }
.widget_price_filter .ui-slider .ui-slider-range { background:var(--green-mid)!important }
.widget_price_filter .ui-slider .ui-slider-handle { background:var(--green-mid)!important;border-radius:50%!important;border:none!important;width:16px!important;height:16px!important;top:-6px!important }
.widget_price_filter .price_slider_amount .button { background:var(--green-mid)!important;color:#fff!important;border-radius:var(--radius-sm)!important;padding:.4rem 1rem!important;font-size:.82rem!important }

/* WooCommerce ordering */
.woocommerce-result-count { color:var(--green-sage)!important;font-size:.88rem!important }
.woocommerce-ordering select { border:1px solid var(--green-pale)!important;border-radius:var(--radius-sm)!important;color:var(--text-mid)!important;font-family:inherit!important;padding:.5rem 1rem!important;background:var(--white)!important }

/* Pagination */
.woocommerce nav.woocommerce-pagination ul { display:flex!important;gap:.4rem!important;list-style:none!important;justify-content:center!important;padding:2rem 0 0!important }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { border:1.5px solid var(--green-pale)!important;border-radius:50%!important;width:38px!important;height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:.85rem!important;color:var(--text-mid)!important;transition:var(--transition)!important;background:transparent!important }
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current { background:var(--green-mid)!important;border-color:var(--green-mid)!important;color:#fff!important }

/* Formulaires checkout */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea { border:1.5px solid var(--green-pale)!important;border-radius:var(--radius-sm)!important;padding:.75rem 1rem!important;font-family:inherit!important;font-size:.9rem!important;transition:border-color .2s!important;background:var(--white)!important }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color:var(--green-sage)!important;outline:none!important }

/* Étoiles */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before { color:var(--earth-light)!important }

/* Notices */
.woocommerce-message,.woocommerce-info { background:var(--green-pale)!important;border-top-color:var(--green-mid)!important;color:var(--green-deep)!important }

/* ── SCROLL REVEAL ── */
[data-reveal] { opacity:0;transition:opacity .7s ease,transform .7s cubic-bezier(.22,1,.36,1) }
[data-reveal="up"]    { transform:translateY(40px) }
[data-reveal="left"]  { transform:translateX(-40px) }
[data-reveal="right"] { transform:translateX(40px) }
[data-reveal="scale"] { transform:scale(.92) }
[data-reveal="fade"]  { transform:none }
[data-reveal].revealed { opacity:1;transform:none!important }
[data-reveal-delay="1"]{transition-delay:.08s}[data-reveal-delay="2"]{transition-delay:.16s}[data-reveal-delay="3"]{transition-delay:.24s}[data-reveal-delay="4"]{transition-delay:.32s}[data-reveal-delay="5"]{transition-delay:.40s}[data-reveal-delay="6"]{transition-delay:.48s}

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  ul.products.columns-4 { grid-template-columns:repeat(3,1fr)!important }
  .footer-widgets { grid-template-columns:1fr 1fr }
  .trust-bar-inner { grid-template-columns:repeat(2,1fr) }
}
@media (max-width:768px) {
  .header-inner { padding:.8rem 1.2rem }
  #primary-navigation { display:none }
  #primary-navigation.open { display:flex;position:fixed;inset:0;top:62px;background:var(--white);flex-direction:column;padding:2rem;z-index:300;box-shadow:var(--shadow-lg) }
  #primary-navigation.open ul { flex-direction:column;gap:1rem }
  .menu-toggle { display:block }
  .header-search { display:none }
  .cat-grid { grid-template-columns:1fr 1fr }
  .cat-card.span-2 { grid-column:auto;grid-row:auto }
  ul.products.columns-4,ul.products.columns-3 { grid-template-columns:repeat(2,1fr)!important }
  .woocommerce div.product { grid-template-columns:1fr;gap:2rem }
  .footer-widgets { grid-template-columns:1fr 1fr }
  .hero-vine { display:none }
  #leaves-canvas { opacity:.3 }
}
@media (max-width:480px) {
  ul.products.columns-4,ul.products.columns-3 { grid-template-columns:1fr!important }
  .cat-grid { grid-template-columns:1fr }
  .footer-widgets { grid-template-columns:1fr }
  .trust-bar-inner { grid-template-columns:1fr 1fr }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important }
}

/* ── SUPPRESSION SIDEBAR PARTOUT ── */
#secondary,
.widget-area,
.sidebar,
#sidebar,
.woocommerce-page #secondary,
.search-results #secondary,
aside.widget-area { display:none!important }

#primary,
.woocommerce #primary,
.woocommerce-page #primary,
.search-results #primary { width:100%!important;float:none!important;margin:0!important }

/* Supprimer le double tri sur la recherche */
.woocommerce-result-count + .woocommerce-ordering { margin-top:0!important }

/* ── HERO PHOTO ── */
.hero-section {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 0 3rem;
}
.hero-content {
    flex: 0 0 42%;
    max-width: 42%;
    padding: 0;
    margin: 0;
}
.hero-photo-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 1.5rem;
}
.hero-photo-ring-outer {
    position: absolute;
    inset: 0;
    border-radius: 1.6rem;
    border: 1px solid rgba(168,197,160,.18);
    pointer-events: none;
    animation: ringPulse 4s ease-in-out infinite;
}
.hero-photo-ring-inner {
    position: absolute;
    inset: 12px;
    border-radius: 1.3rem;
    border: 1px solid rgba(168,197,160,.08);
    pointer-events: none;
}
@keyframes ringPulse {
    0%,100% { border-color: rgba(168,197,160,.18); }
    50%      { border-color: rgba(168,197,160,.35); }
}
.hero-photo-frame {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 1.2rem;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(168,197,160,.2);
    box-shadow: 0 25px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(168,197,160,.1);
}
.hero-photo-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    filter: brightness(.92) saturate(1.1);
    transition: transform 8s ease, filter 0.5s ease;
    transform: scale(1.02);
}
.hero-photo-frame:hover .hero-photo-img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1.15);
}
.hero-photo-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(26,58,42,.75), transparent);
    pointer-events: none;
}
.hero-photo-card {
    position: absolute;
    bottom: 1rem; left: 1rem; right: 1rem;
    z-index: 2;
}
.hero-photo-card-inner {
    background: rgba(26,58,42,.88);
    backdrop-filter: blur(10px);
    border-radius: .8rem;
    padding: .75rem 1rem;
    border: 1px solid rgba(168,197,160,.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.hero-photo-card-tag {
    color: var(--green-light);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 2px;
}
.hero-photo-card-text {
    color: var(--cream);
    font-size: .88rem;
    font-weight: 500;
}

@media (max-width: 900px) {
    .hero-section { flex-direction: column; padding: 5rem 1.5rem 2rem; }
    .hero-content  { flex: none; max-width: 100%; }
    .hero-photo-wrap { width: 100%; }
}

/* Mots "jardin" et "passion" 30% plus grands */
.hero-word-big {
    font-size: 1.3em;
    line-height: 1;
    display: inline-block;
}
.hero-title em.hero-word-big {
    font-style: italic;
    color: var(--green-light);
    font-size: 1.3em;
}

/* ── PHOTO HERO — corrections ── */
.hero-photo-wrap {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    transform: scale(0.85);
    transform-origin: center;
}
.hero-photo-ring-outer {
    display: block !important;
    position: absolute !important;
    inset: -8px !important;
    border-radius: 1.6rem !important;
    border: 1.5px solid rgba(168,197,160,.35) !important;
    pointer-events: none !important;
    animation: ringPulse 4s ease-in-out infinite !important;
    z-index: 3 !important;
}
.hero-photo-ring-inner {
    display: block !important;
    position: absolute !important;
    inset: -18px !important;
    border-radius: 2rem !important;
    border: 1px solid rgba(168,197,160,.15) !important;
    pointer-events: none !important;
    z-index: 3 !important;
}
@keyframes ringPulse {
    0%,100% { border-color: rgba(168,197,160,.35); box-shadow: 0 0 0 0 rgba(168,197,160,0); }
    50%      { border-color: rgba(168,197,160,.6);  box-shadow: 0 0 20px 4px rgba(168,197,160,.08); }
}

/* ── BULLES CATÉGORIES ── */
.cat-bubbles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.cat-bubble-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    text-decoration: none;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1);
    cursor: pointer;
}
.cat-bubble-item:hover { transform: translateY(-8px); }
.cat-bubble-square {
    width: 165px;
    height: 165px;
    border-radius: 22px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: box-shadow .3s, transform .3s;
    position: relative;
}
.cat-bubble-item:hover .cat-bubble-square {
    box-shadow: 0 14px 35px rgba(0,0,0,.12);
    transform: scale(1.03);
}
.cat-bubble-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 1rem;
    transition: transform .4s ease;
}
.cat-bubble-item:hover .cat-bubble-img {
    transform: scale(1.08);
}
.cat-bubble-fallback {
    font-size: 3.5rem;
}
.cat-bubble-name {
    font-size: .95rem;
    font-weight: 500;
    color: var(--green-deep);
    text-align: center;
    max-width: 165px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .cat-bubble-square { width: 120px; height: 120px; border-radius: 16px; }
    .cat-bubble-name { font-size: .82rem; max-width: 120px; }
}
@media (max-width: 480px) {
    .cat-bubble-square { width: 90px; height: 90px; border-radius: 12px; }
    .cat-bubbles-grid { gap: 1rem; }
}

/* ── CONTACT HERO ── */
.hero-contact {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    margin-top: 1.8rem;
    padding: .7rem 1.4rem;
    background: rgba(168,197,160,.1);
    border: 1px solid rgba(168,197,160,.25);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .2s;
}
.hero-contact:hover {
    background: rgba(168,197,160,.2);
    border-color: rgba(168,197,160,.5);
    transform: translateY(-2px);
}
.hero-contact-icon { font-size: 1.2rem; }
.hero-contact-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero-contact-label {
    font-size: .7rem;
    color: var(--green-sage);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.hero-contact-number {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--cream);
    font-family: 'Playfair Display', serif;
    letter-spacing: .03em;
}

/* ── CONTACT NAV ── */
.nav-contact {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem 1.1rem;
    background: rgba(168,197,160,.15);
    border: 1px solid rgba(168,197,160,.4);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .2s;
    flex-shrink: 0;
}
.nav-contact:hover {
    background: rgba(168,197,160,.28);
    border-color: var(--green-sage);
    transform: translateY(-1px);
}
.nav-contact-icon { font-size: .95rem; }
.nav-contact-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.nav-contact-label {
    font-size: .62rem;
    color: var(--green-sage);
    text-transform: uppercase;
    letter-spacing: .07em;
}
.nav-contact-number {
    font-size: .82rem;
    font-weight: 600;
    color: var(--green-deep);
    font-family: 'Playfair Display', serif;
    letter-spacing: .02em;
}

@media (max-width: 1100px) { .nav-contact { display: none; } }
