/* =====================================================================
   VERDEKO ESPACE - espace.css v1.0.0
   Blindage Woodmart : prefixe body + double-classe, -webkit-text-fill-color
   sur chaque color, reset input complet, autofill, animations opacity-only,
   breakpoint 480px. Theme CLAIR (cream/blanc).
   Si un style ne prend pas : DevTools > Computed pour voir la regle gagnante.
   ===================================================================== */

/* ---- Tokens ---- */
:root{
  --vesp-teal:#23454f; --vesp-teal2:#29525D; --vesp-teal3:#2f5c69;
  --vesp-green:#3A8349; --vesp-green2:#4f934e; --vesp-gold:#c9a227;
  --vesp-cream:#f8f7f2; --vesp-line:#e6e3da; --vesp-ink:#23454f; --vesp-muted:#6b7770;
}

/* ---- Layout compte : on laisse WooCommerce gerer la grille, on stylise ---- */
body .woocommerce-account .woocommerce{ max-width:1180px !important; margin:0 auto !important; }

/* =====================================================================
   PROFIL (avatar + nom + email au-dessus du menu)
   ===================================================================== */
body .vesp-profile{
  display:flex !important; align-items:center !important; gap:13px !important;
  padding:4px 4px 18px !important; margin:0 0 16px !important;
  border-bottom:1px solid var(--vesp-line) !important;
  font-family:Montserrat,"Proxima Nova",-apple-system,sans-serif !important;
}
body .vesp-profile-av{
  flex:0 0 auto !important; width:48px !important; height:48px !important; border-radius:50% !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  background:linear-gradient(135deg,var(--vesp-teal),var(--vesp-green)) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  font-weight:700 !important; font-size:18px !important; letter-spacing:.5px !important;
}
body .vesp-profile-meta{ display:flex !important; flex-direction:column !important; gap:2px !important; min-width:0 !important; }
body .vesp-profile-name{
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
  font-weight:700 !important; font-size:15.5px !important; line-height:1.2 !important;
  white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;
}
body .vesp-profile-mail{
  color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important;
  font-size:12.5px !important; line-height:1.2 !important;
  white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;
}

/* =====================================================================
   NAVIGATION (menu natif WooCommerce restyle)
   ===================================================================== */
body .woocommerce-MyAccount-navigation{
  font-family:Montserrat,"Proxima Nova",-apple-system,sans-serif !important;
}
body .woocommerce-MyAccount-navigation ul{
  list-style:none !important; margin:0 !important; padding:0 !important;
  border:1px solid var(--vesp-line) !important; border-radius:14px !important;
  overflow:hidden !important; background:#fff !important;
  box-shadow:0 2px 12px rgba(35,69,79,.06) !important;
}
body .woocommerce-MyAccount-navigation ul li{
  margin:0 !important; padding:0 !important; background:none !important;
  border:none !important; border-bottom:1px solid var(--vesp-line) !important;
  border-radius:0 !important; box-shadow:none !important; list-style:none !important;
}
body .woocommerce-MyAccount-navigation ul li:last-child{ border-bottom:none !important; }
body .woocommerce-MyAccount-navigation ul li::before,
body .woocommerce-MyAccount-navigation ul li::marker{ content:none !important; display:none !important; }
body .woocommerce-MyAccount-navigation ul li a{
  display:flex !important; align-items:center !important; gap:13px !important; min-height:0 !important;
  padding:15px 20px !important; margin:0 !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
  font-weight:600 !important; font-size:16px !important; text-decoration:none !important;
  text-transform:none !important; letter-spacing:normal !important; line-height:1.2 !important;
  background:none !important; border:none !important; border-radius:0 !important;
  transition:background .15s, color .15s !important;
}
body .woocommerce-MyAccount-navigation ul li a .vesp-nav-ico{
  width:21px !important; height:21px !important; flex:0 0 auto !important; stroke:currentColor !important;
}
body .woocommerce-MyAccount-navigation ul li a:hover{
  background:var(--vesp-cream) !important;
  color:var(--vesp-green) !important; -webkit-text-fill-color:var(--vesp-green) !important;
}
body .woocommerce-MyAccount-navigation ul li.is-active a{
  background:var(--vesp-teal) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
}
/* Pas de bordure / outline / ombre parasite au survol ou focus */
body .woocommerce-MyAccount-navigation ul li a:hover,
body .woocommerce-MyAccount-navigation ul li a:focus,
body .woocommerce-MyAccount-navigation ul li a:active,
body .woocommerce-MyAccount-navigation ul li a:focus-visible{
  outline:none !important; box-shadow:none !important; border:none !important;
}
body .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a{
  color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important;
}

/* =====================================================================
   ESPACE PROJET (dashboard)
   ===================================================================== */
body .vesp{
  font-family:Montserrat,"Proxima Nova",-apple-system,sans-serif !important;
  color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important;
}
body .vesp h2,body .vesp h3,body .vesp h4{
  font-family:Montserrat,"Proxima Nova",sans-serif !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
  margin:0 !important; text-transform:none !important; letter-spacing:normal !important;
}
body .vesp p{ color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; margin:4px 0 0 !important; }

/* Welcome */
body .vesp .vesp-hero{
  position:relative !important; overflow:hidden !important;
  display:flex !important; align-items:center !important; justify-content:space-between !important;
  gap:24px !important;
  background:linear-gradient(135deg, #1f3d45 0%, #29525D 55%, #3a8349 130%) !important;
  border:none !important; border-radius:18px !important;
  padding:30px 32px !important; margin:0 0 26px !important;
  box-shadow:0 10px 30px rgba(35,69,79,.22) !important;
}
body .vesp .vesp-hero::after{
  content:"" !important; position:absolute !important; top:-40%; right:-6%;
  width:280px !important; height:280px !important; border-radius:50% !important;
  background:radial-gradient(circle, rgba(165,209,111,.22) 0%, rgba(165,209,111,0) 70%) !important;
  pointer-events:none !important;
}
body .vesp .vesp-hero-txt{ position:relative !important; z-index:1 !important; }
body .vesp .vesp-hero-badge{
  display:inline-block !important; background:rgba(255,255,255,.12) !important;
  -webkit-backdrop-filter:blur(10px) !important; backdrop-filter:blur(10px) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  padding:6px 14px !important; border-radius:50px !important; font-size:12px !important;
  font-weight:600 !important; letter-spacing:.06em !important; text-transform:uppercase !important;
  margin:0 0 14px !important; border:1px solid rgba(255,255,255,.2) !important; line-height:1 !important;
}
body .vesp .vesp-hero-title{
  font-size:27px !important; font-weight:400 !important; line-height:1.15 !important; margin:0 !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important; letter-spacing:-.01em !important;
}
body .vesp .vesp-hero-title strong{ font-weight:800 !important; color:#a5d16f !important; -webkit-text-fill-color:#a5d16f !important; }
body .vesp .vesp-hero-lead{
  margin:10px 0 0 !important; font-size:15.5px !important; line-height:1.55 !important;
  color:rgba(255,255,255,.85) !important; -webkit-text-fill-color:rgba(255,255,255,.85) !important; max-width:520px !important;
}

/* Sections */
body .vesp .vesp-sec{ margin:0 0 30px !important; }
body .vesp .vesp-sec-h{ margin:0 0 14px !important; }
body .vesp .vesp-sec-h h3{ font-size:17px !important; font-weight:800 !important; }

/* Liste projets (cartes horizontales) */
body .vesp .vesp-projects{ display:flex !important; flex-direction:column !important; gap:13px !important; }
body .vesp .vesp-pc{
  display:flex !important; align-items:center !important; gap:15px !important;
  background:#fff !important; border:1px solid var(--vesp-line) !important; border-radius:14px !important;
  padding:15px !important; box-shadow:0 2px 12px rgba(35,69,79,.06) !important;
  animation:vespFade .3s ease both !important; transition:box-shadow .2s, transform .2s !important;
}
body .vesp .vesp-pc:hover{ box-shadow:0 8px 22px rgba(35,69,79,.1) !important; transform:translateY(-2px) !important; }
body .vesp .vesp-th{
  width:72px !important; height:72px !important; flex:0 0 auto !important;
  border-radius:10px !important; background:#eef3ee !important; border:1px solid var(--vesp-line) !important;
  overflow:hidden !important; display:flex !important; align-items:center !important; justify-content:center !important;
}
body .vesp .vesp-th svg{ width:100% !important; height:100% !important; display:block !important; }
body .vesp .vesp-pb{ flex:1 1 auto !important; min-width:0 !important; }
body .vesp .vesp-pb h4{ font-size:15.5px !important; font-weight:800 !important; margin:0 0 5px !important; color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; }
body .vesp .vesp-pmeta{ font-size:13px !important; color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; }
body .vesp .vesp-pc-acts{ display:flex !important; flex-direction:column !important; gap:7px !important; flex:0 0 auto !important; }

/* Badge statut (inline) */
body .vesp .vesp-st{
  display:inline-block !important; flex:0 0 auto !important;
  font-size:11.5px !important; font-weight:700 !important; padding:5px 12px !important;
  border-radius:999px !important; letter-spacing:.02em !important; white-space:nowrap !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
}
body .vesp .vesp-st-draft{ background:#cfcabc !important; color:#5c5c52 !important; -webkit-text-fill-color:#5c5c52 !important; }
body .vesp .vesp-st-quote{ background:var(--vesp-gold) !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }
body .vesp .vesp-st-order{ background:var(--vesp-green) !important; }
body .vesp .vesp-st-deliv{ background:var(--vesp-teal) !important; }
body .vesp .vesp-st-cancel{ background:#c0392b !important; }

/* Bouton "Voir" (cartes) */
body .vesp .vesp-go{
  display:inline-flex !important; align-items:center !important; justify-content:center !important; gap:6px !important;
  background:var(--vesp-cream) !important; border:1px solid var(--vesp-line) !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
  padding:9px 15px !important; border-radius:9px !important; font-size:13.5px !important; font-weight:700 !important;
  text-decoration:none !important; white-space:nowrap !important; transition:background .15s, border-color .15s !important;
}
body .vesp .vesp-go:hover{ background:#fff !important; border-color:var(--vesp-teal) !important; }
body .vesp .vesp-go-out{ background:#fff !important; }

/* En-tete section + bouton Nouveau projet */
body .vesp .vesp-sec-h{ display:flex !important; align-items:center !important; justify-content:space-between !important; }
body .vesp .vesp-sec-h h3{ color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; }
body .vesp .vesp-newproj{
  display:inline-flex !important; align-items:center !important; justify-content:center !important; gap:8px !important;
  background:var(--vesp-green) !important; color:#fff !important; -webkit-text-fill-color:#fff !important;
  padding:11px 20px !important; border-radius:10px !important; font-size:14px !important; font-weight:700 !important;
  line-height:1.2 !important; white-space:nowrap !important;
  text-decoration:none !important; box-shadow:0 2px 8px rgba(58,131,73,.28) !important; transition:background .15s, transform .15s !important;
}
body .vesp .vesp-newproj:hover{ background:var(--vesp-green2) !important; color:#fff !important; -webkit-text-fill-color:#fff !important; transform:translateY(-1px) !important; }
body .vesp .vesp-newproj svg{ stroke:#fff !important; flex:0 0 auto !important; }

/* Boutons (double-classe pour battre Woodmart) */
body .vesp .vesp-btn.vesp-btn,
body .vesp-auth .vesp-btn.vesp-btn,
body .vesp-addr-form .vesp-btn.vesp-btn,
body .vesp-account-form .vesp-btn.vesp-btn{
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  gap:7px !important; padding:12px 22px !important; border:none !important; border-radius:10px !important;
  font-family:Montserrat,"Proxima Nova",sans-serif !important;
  font-weight:700 !important; font-size:14px !important; line-height:1.3 !important;
  text-transform:none !important; letter-spacing:normal !important; min-height:unset !important;
  cursor:pointer !important; text-decoration:none !important; transition:all .18s !important;
  background:var(--vesp-green) !important; background-color:var(--vesp-green) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  box-shadow:0 2px 8px rgba(58,131,73,.25) !important;
}
body .vesp .vesp-btn.vesp-btn:hover,
body .vesp-addr-form .vesp-btn.vesp-btn:hover,
body .vesp-account-form .vesp-btn.vesp-btn:hover{
  background:var(--vesp-green2) !important; background-color:var(--vesp-green2) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
}
body .vesp .vesp-btn-green.vesp-btn-green,
body .vesp-auth .vesp-btn-green.vesp-btn-green{
  background:var(--vesp-green) !important; background-color:var(--vesp-green) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  box-shadow:0 2px 8px rgba(58,131,73,.25) !important;
}
body .vesp .vesp-btn-green.vesp-btn-green:hover,
body .vesp-auth .vesp-btn-green.vesp-btn-green:hover{
  background:var(--vesp-green2) !important; background-color:var(--vesp-green2) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  transform:translateY(-1px) !important; box-shadow:0 5px 14px rgba(58,131,73,.32) !important;
}
body .vesp .vesp-btn-out.vesp-btn-out,
body .vesp-auth .vesp-btn-out.vesp-btn-out{
  background:#fff !important; background-color:#fff !important;
  border:1.5px solid var(--vesp-line) !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
}
body .vesp .vesp-btn-out.vesp-btn-out:hover,
body .vesp-auth .vesp-btn-out.vesp-btn-out:hover{
  border-color:var(--vesp-teal) !important; background:var(--vesp-cream) !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
}
body .vesp-auth .vesp-btn-full.vesp-btn-full{ width:100% !important; }

/* CTA hero */
body .vesp .vesp-cta{
  position:relative !important; z-index:1 !important; flex:0 0 auto !important;
  display:inline-flex !important; align-items:center !important; gap:8px !important;
  background:#fff !important; color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
  padding:12px 20px !important; border-radius:10px !important; font-weight:700 !important;
  font-size:14px !important; text-decoration:none !important; white-space:nowrap !important;
  box-shadow:0 4px 14px rgba(0,0,0,.18) !important; transition:transform .18s, box-shadow .18s !important;
}
body .vesp .vesp-cta:hover{
  background:#fff !important; color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
  transform:translateY(-2px) !important; box-shadow:0 6px 18px rgba(0,0,0,.24) !important;
}
body .vesp .vesp-cta svg{ stroke:var(--vesp-teal) !important; }
body .vesp .vesp-ico{ flex:0 0 auto !important; }

/* Etat vide */
body .vesp .vesp-empty{
  text-align:center !important; background:#fff !important; border:1px dashed var(--vesp-line) !important;
  border-radius:16px !important; padding:42px 24px !important; margin:0 0 30px !important;
}
body .vesp .vesp-empty h3{ font-size:18px !important; margin:14px 0 6px !important; }
body .vesp .vesp-empty p{ max-width:420px !important; margin:0 auto 18px !important; }

/* Acces rapides */
body .vesp .vesp-quick{ display:grid !important; grid-template-columns:repeat(3,1fr) !important; gap:14px !important; }
body .vesp .vesp-tile{
  display:flex !important; flex-direction:column !important; gap:3px !important;
  background:#fff !important; border:1px solid var(--vesp-line) !important; border-radius:14px !important;
  padding:18px !important; text-decoration:none !important; transition:box-shadow .2s, transform .2s !important;
}
body .vesp .vesp-tile:hover{ box-shadow:0 8px 20px rgba(35,69,79,.10) !important; transform:translateY(-2px) !important; }
body .vesp .vesp-tile-i{ width:34px !important; height:34px !important; margin-bottom:6px !important; }
body .vesp .vesp-tile-i svg{ width:100% !important; height:100% !important; }
body .vesp .vesp-tile b{ color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; font-size:15px !important; }
body .vesp .vesp-tile span{ color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; font-size:12.5px !important; }

/* Parrainage (bloc vert) */
body .vesp .vesp-refer{
  position:relative !important; overflow:hidden !important; display:block !important;
  background:linear-gradient(135deg,#2c6b3a 0%,#3A8349 60%,#4f934e 120%) !important;
  border-radius:16px !important; padding:26px 28px !important; margin:0 0 30px !important;
  box-shadow:0 8px 24px rgba(58,131,73,.22) !important;
}
body .vesp .vesp-refer::after{
  content:"" !important; position:absolute !important; bottom:-55%; right:-4%;
  width:260px !important; height:260px !important; border-radius:50% !important;
  background:radial-gradient(circle,rgba(255,255,255,.12) 0%,rgba(255,255,255,0) 70%) !important; pointer-events:none !important;
}
body .vesp .vesp-refer-txt{ position:relative !important; z-index:1 !important; margin:0 0 16px !important; }
body .vesp .vesp-refer h3{ color:#fff !important; -webkit-text-fill-color:#fff !important; font-size:19px !important; font-weight:800 !important; margin:0 0 6px !important; }
body .vesp .vesp-refer p{ color:rgba(255,255,255,.9) !important; -webkit-text-fill-color:rgba(255,255,255,.9) !important; margin:0 !important; max-width:460px !important; font-size:14.5px !important; }
body .vesp .vesp-refer-row{ position:relative !important; z-index:1 !important; display:flex !important; flex-wrap:wrap !important; gap:12px !important; align-items:center !important; justify-content:space-between !important; }
body .vesp .vesp-refer-codewrap{ display:inline-flex !important; align-items:center !important; gap:8px !important; }
body .vesp .vesp-code{
  display:inline-flex !important; align-items:center !important;
  font-family:"JetBrains Mono",monospace !important; font-weight:800 !important; font-size:16px !important;
  background:rgba(255,255,255,.15) !important; border:1px dashed rgba(255,255,255,.5) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  padding:11px 18px !important; border-radius:10px !important; letter-spacing:.06em !important; white-space:nowrap !important;
}
body .vesp .vesp-refer-copy{
  display:inline-flex !important; align-items:center !important; gap:7px !important;
  background:rgba(255,255,255,.12) !important; color:#fff !important; -webkit-text-fill-color:#fff !important;
  border:1px solid rgba(255,255,255,.45) !important; padding:11px 16px !important; border-radius:10px !important;
  font-size:14px !important; font-weight:700 !important; font-family:inherit !important; cursor:pointer !important;
  text-decoration:none !important; transition:background .15s !important;
}
body .vesp .vesp-refer-copy:hover{ background:rgba(255,255,255,.22) !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }
body .vesp .vesp-refer-copy svg{ stroke:#fff !important; flex:0 0 auto !important; }
body .vesp .vesp-refer-btn{
  display:inline-flex !important; align-items:center !important; justify-content:center !important; gap:8px !important;
  background:#fff !important; color:var(--vesp-green) !important; -webkit-text-fill-color:var(--vesp-green) !important;
  border:none !important; padding:12px 20px !important; border-radius:10px !important;
  font-size:14px !important; font-weight:700 !important; text-decoration:none !important; cursor:pointer !important;
  font-family:inherit !important; line-height:1.2 !important; white-space:nowrap !important;
  box-shadow:0 4px 12px rgba(0,0,0,.14) !important; transition:transform .15s, box-shadow .15s !important;
}
body .vesp .vesp-refer-btn:hover{ transform:translateY(-2px) !important; box-shadow:0 6px 16px rgba(0,0,0,.2) !important; color:var(--vesp-green) !important; -webkit-text-fill-color:var(--vesp-green) !important; }
body .vesp .vesp-refer-btn svg{ stroke:var(--vesp-green) !important; flex:0 0 auto !important; }

/* =====================================================================
   AUTH (ecran de connexion moderne)
   ===================================================================== */
body .vesp-auth{
  display:flex !important; justify-content:center !important; padding:10px 0 30px !important;
  font-family:Montserrat,"Proxima Nova",sans-serif !important;
}
body .vesp-auth .vesp-auth-card{
  width:100% !important; max-width:430px !important; background:#fff !important;
  border:1px solid var(--vesp-line) !important; border-radius:18px !important; padding:34px 30px !important;
  box-shadow:0 8px 30px rgba(35,69,79,.07) !important;
}
body .vesp-auth h2{
  font-size:22px !important; font-weight:800 !important; margin:0 0 6px !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
  text-transform:none !important;
}
body .vesp-auth .vesp-auth-lead{ color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; font-size:14px !important; margin:0 0 20px !important; }
body .vesp-auth .vesp-auth-msg{
  background:#eef6ef !important; border:1px solid #cfe3cd !important; border-radius:12px !important;
  padding:16px !important; font-size:14px !important; line-height:1.55 !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; margin:6px 0 10px !important;
}
body .vesp-auth .vesp-lbl{
  display:block !important; font-size:12.5px !important; font-weight:700 !important; margin:0 0 6px !important;
  color:var(--vesp-teal2) !important; -webkit-text-fill-color:var(--vesp-teal2) !important;
}

/* Inputs : reset complet Woodmart (theme clair) */
body .vesp-auth .vesp-inp.vesp-inp,
body .vesp-auth input[type="email"].vesp-inp,
body .vesp-auth input[type="text"].vesp-inp,
body .vesp-auth input[type="password"].vesp-inp{
  width:100% !important; box-sizing:border-box !important;
  background:#fff !important; background-color:#fff !important; background-image:none !important;
  border:1.5px solid var(--vesp-line) !important; border-radius:10px !important;
  padding:13px 15px !important; font-size:14px !important; font-family:inherit !important;
  line-height:1.4 !important; min-height:unset !important; height:auto !important;
  text-transform:none !important; box-shadow:none !important; -webkit-box-shadow:none !important;
  color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important;
  caret-color:var(--vesp-green) !important; margin:0 0 12px !important;
  transition:border-color .2s, box-shadow .2s !important;
}
body .vesp-auth .vesp-inp.vesp-inp:focus{
  border-color:var(--vesp-green) !important; outline:none !important;
  box-shadow:0 0 0 3px rgba(58,131,73,.12) !important;
}
body .vesp-auth .vesp-inp::placeholder{
  color:#9aa49f !important; -webkit-text-fill-color:#9aa49f !important; opacity:1 !important;
}
/* Autofill : fond blanc force (theme clair) */
body .vesp-auth .vesp-inp:-webkit-autofill,
body .vesp-auth .vesp-inp:-webkit-autofill:hover,
body .vesp-auth .vesp-inp:-webkit-autofill:focus{
  -webkit-box-shadow:0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color:var(--vesp-ink) !important;
  transition:background-color 5000s ease-in-out 0s !important;
}

body .vesp-auth .vesp-hint{ font-size:12px !important; color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; margin:8px 0 0 !important; text-align:center !important; }
body .vesp-auth .vesp-hint a{ color:var(--vesp-green) !important; -webkit-text-fill-color:var(--vesp-green) !important; text-decoration:none !important; }

/* Separateur "ou" */
body .vesp-auth .vesp-sep{
  display:flex !important; align-items:center !important; text-align:center !important;
  color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important;
  font-size:12px !important; margin:18px 0 !important; gap:12px !important;
}
body .vesp-auth .vesp-sep::before,body .vesp-auth .vesp-sep::after{
  content:"" !important; flex:1 !important; height:1px !important; background:var(--vesp-line) !important;
}

/* Toggle mot de passe */
body .vesp-auth .vesp-pw-toggle{
  display:block !important; width:100% !important; background:none !important; border:none !important;
  color:var(--vesp-teal2) !important; -webkit-text-fill-color:var(--vesp-teal2) !important;
  font-size:13.5px !important; font-weight:600 !important; cursor:pointer !important;
  text-decoration:underline !important; text-align:center !important; padding:4px !important;
}
body .vesp-auth .vesp-pw{ display:none !important; }
body .vesp-auth .vesp-pw.is-open{ display:block !important; }

body .vesp-auth .vesp-auth-foot{
  margin-top:22px !important; padding-top:18px !important; border-top:1px solid var(--vesp-line) !important;
  text-align:center !important; font-size:13.5px !important;
  color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; line-height:1.7 !important;
}
body .vesp-auth .vesp-auth-foot a{ color:var(--vesp-green) !important; -webkit-text-fill-color:var(--vesp-green) !important; font-weight:700 !important; text-decoration:none !important; }

/* =====================================================================
   ANIMATION (opacity-only : libere transform pour le hover)
   ===================================================================== */
@keyframes vespFade{ from{opacity:0;} to{opacity:1;} }

/* =====================================================================
   RESPONSIVE (480px, pas 600px)
   ===================================================================== */
@media (max-width:480px){
  body .vesp .vesp-hero{ flex-direction:column !important; align-items:flex-start !important; padding:24px 22px !important; }
  body .vesp .vesp-hero-title{ font-size:23px !important; }
  body .vesp .vesp-cta{ width:100% !important; justify-content:center !important; }
  body .vesp .vesp-projects{ grid-template-columns:1fr !important; }
  body .vesp .vesp-quick{ grid-template-columns:1fr !important; }
  body .vesp .vesp-refer{ flex-direction:column !important; align-items:flex-start !important; }
  body .vesp-auth .vesp-auth-card{ padding:26px 20px !important; }
}

/* =====================================================================
   PAGE RECAP PROJET
   ===================================================================== */
body .vesp-recap{
  font-family:Montserrat,"Proxima Nova",-apple-system,sans-serif !important;
  color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important;
}
body .vesp-recap-empty{ color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; padding:24px 0 !important; }
body .vesp-recap .vesp-recap-back{
  display:inline-flex !important; align-items:center !important; gap:6px !important;
  margin:0 0 16px !important; padding:9px 16px !important;
  background:#fff !important; border:1px solid var(--vesp-line) !important; border-radius:10px !important;
  font-size:13.5px !important; font-weight:700 !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; text-decoration:none !important;
  transition:background .15s, border-color .15s !important;
}
body .vesp-recap .vesp-recap-back:hover{
  background:var(--vesp-cream) !important; border-color:var(--vesp-teal) !important;
}
body .vesp-recap .vesp-recap-back--bottom{ margin:0 !important; }
body .vesp-recap .vesp-recap-head{
  display:flex !important; align-items:center !important; gap:14px !important; margin:0 0 20px !important;
}
body .vesp-recap .vesp-recap-head h2{
  font-size:22px !important; font-weight:800 !important; margin:0 !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; text-transform:none !important;
}

/* Plan SVG en grand */
body .vesp-recap .vesp-recap-plan{
  background:#fff !important; border:1px solid var(--vesp-line) !important; border-radius:16px !important;
  padding:18px !important; margin:0 0 22px !important; text-align:center !important;
}
body .vesp-recap .vesp-recap-plan svg{ width:100% !important; max-width:520px !important; height:auto !important; display:inline-block !important; }

/* Grille config | calepinage */
body .vesp-recap .vesp-recap-grid{
  display:grid !important; grid-template-columns:repeat(2,1fr) !important; gap:18px !important; margin:0 0 18px !important;
}
body .vesp-recap .vesp-recap-card{
  background:#fff !important; border:1px solid var(--vesp-line) !important; border-radius:16px !important;
  padding:22px 24px !important; margin:0 0 18px !important;
}
body .vesp-recap .vesp-recap-card h3{
  font-size:16px !important; font-weight:800 !important; margin:0 0 14px !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; text-transform:none !important;
}
body .vesp-recap .vesp-recap-table{ width:100% !important; border-collapse:collapse !important; }
body .vesp-recap .vesp-recap-table td,
body .vesp-recap .vesp-recap-table th{
  padding:9px 0 !important; border-bottom:1px solid var(--vesp-line) !important; font-size:14px !important;
  text-align:left !important; vertical-align:top !important;
}
body .vesp-recap .vesp-recap-table td{ color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; font-weight:500 !important; }
body .vesp-recap .vesp-recap-table th{ color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important; font-weight:700 !important; text-align:right !important; }
body .vesp-recap .vesp-recap-table tr:last-child td,
body .vesp-recap .vesp-recap-table tr:last-child th{ border-bottom:none !important; }
body .vesp-recap .vesp-recap-total td,
body .vesp-recap .vesp-recap-total th{
  font-size:16px !important; padding-top:14px !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; font-weight:800 !important;
  border-top:2px solid var(--vesp-line) !important;
}
body .vesp-recap .vesp-recap-ship th{ color:var(--vesp-green) !important; -webkit-text-fill-color:var(--vesp-green) !important; }

/* Liste des les */
body .vesp-recap .vesp-recap-les{ list-style:none !important; margin:14px 0 0 !important; padding:0 !important; display:flex !important; flex-wrap:wrap !important; gap:8px !important; }
body .vesp-recap .vesp-recap-les li{
  display:inline-flex !important; align-items:center !important; gap:6px !important;
  background:var(--vesp-cream) !important; border:1px solid var(--vesp-line) !important; border-radius:8px !important;
  padding:6px 10px !important; font-size:13px !important;
  color:var(--vesp-teal2) !important; -webkit-text-fill-color:var(--vesp-teal2) !important; font-weight:600 !important;
}
body .vesp-recap .vesp-recap-le-ref{
  background:var(--vesp-green) !important; color:#fff !important; -webkit-text-fill-color:#fff !important;
  font-size:11px !important; font-weight:700 !important; padding:2px 7px !important; border-radius:5px !important;
}

/* Suivi */
body .vesp-recap .vesp-recap-track .vesp-recap-trackline{
  font-size:14px !important; line-height:1.6 !important; margin:0 0 10px !important;
  color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important;
}
body .vesp-recap .vesp-recap-track .vesp-recap-trackline strong{ color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; }

/* Actions */
body .vesp-recap .vesp-recap-actions{ display:flex !important; flex-wrap:wrap !important; gap:10px !important; margin:6px 0 0 !important; }

@media (max-width:480px){
  body .vesp-recap .vesp-recap-grid{ grid-template-columns:1fr !important; }
  body .vesp-recap .vesp-recap-actions .vesp-btn{ width:100% !important; }
}

/* =====================================================================
   PAGES ADRESSES + MON COMPTE (WooCommerce natif rhabille)
   Cible precise : ne touche PAS aux Commandes (stylees par verdeko-lea-customer)
   ===================================================================== */

/* ---- Adresses : affichage ---- */
body .woocommerce-account .woocommerce-Addresses{
  display:grid !important; grid-template-columns:1fr 1fr !important; gap:18px !important; margin:0 !important;
}
body .woocommerce-account .woocommerce-Address{
  background:#fff !important; border:1px solid var(--vesp-line) !important; border-radius:14px !important;
  padding:22px 24px !important; float:none !important; width:auto !important;
}
body .woocommerce-account .woocommerce-Address-title{ margin:0 0 12px !important; }
body .woocommerce-account .woocommerce-Address-title h2,
body .woocommerce-account .woocommerce-Address-title h3{
  font-family:Montserrat,"Proxima Nova",sans-serif !important; font-size:16px !important; font-weight:800 !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
  text-transform:none !important; letter-spacing:normal !important; margin:0 0 8px !important;
}
body .woocommerce-account .woocommerce-Address-title .edit,
body .woocommerce-account .woocommerce-Address .edit{
  color:var(--vesp-green) !important; -webkit-text-fill-color:var(--vesp-green) !important;
  font-weight:600 !important; font-size:13.5px !important; text-decoration:none !important;
}
body .woocommerce-account .woocommerce-Address address{
  font-style:normal !important; line-height:1.7 !important; font-size:14px !important;
  color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important;
}

/* ---- Formulaires (edition adresse + mon compte) ---- */
body .woocommerce-account .woocommerce-address-fields,
body .woocommerce-account .woocommerce-EditAccountForm{
  font-family:Montserrat,"Proxima Nova",sans-serif !important; max-width:640px !important;
}
body .woocommerce-account .woocommerce-EditAccountForm legend,
body .woocommerce-account fieldset legend{
  font-size:16px !important; font-weight:800 !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
  text-transform:none !important; margin:10px 0 14px !important;
}
body .woocommerce-account .woocommerce-address-fields label,
body .woocommerce-account .woocommerce-EditAccountForm label{
  display:block !important; font-size:13px !important; font-weight:600 !important; margin:0 0 6px !important;
  color:var(--vesp-teal2) !important; -webkit-text-fill-color:var(--vesp-teal2) !important; text-transform:none !important;
}
body .woocommerce-account .woocommerce-address-fields input.input-text,
body .woocommerce-account .woocommerce-address-fields .select2-selection,
body .woocommerce-account .woocommerce-address-fields select,
body .woocommerce-account .woocommerce-EditAccountForm input.input-text,
body .woocommerce-account .woocommerce-EditAccountForm input[type="text"],
body .woocommerce-account .woocommerce-EditAccountForm input[type="email"],
body .woocommerce-account .woocommerce-EditAccountForm input[type="password"]{
  width:100% !important; box-sizing:border-box !important;
  background:#fff !important; background-color:#fff !important; background-image:none !important;
  border:1.5px solid var(--vesp-line) !important; border-radius:10px !important;
  padding:12px 14px !important; font-size:14px !important; font-family:inherit !important; line-height:1.4 !important;
  min-height:unset !important; height:auto !important; text-transform:none !important;
  box-shadow:none !important; -webkit-box-shadow:none !important;
  color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important;
  caret-color:var(--vesp-green) !important;
}
body .woocommerce-account .woocommerce-address-fields input.input-text:focus,
body .woocommerce-account .woocommerce-EditAccountForm input.input-text:focus,
body .woocommerce-account .woocommerce-EditAccountForm input:focus{
  border-color:var(--vesp-green) !important; outline:none !important;
  box-shadow:0 0 0 3px rgba(58,131,73,.12) !important;
}
body .woocommerce-account .woocommerce-address-fields input:-webkit-autofill,
body .woocommerce-account .woocommerce-EditAccountForm input:-webkit-autofill{
  -webkit-box-shadow:0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color:var(--vesp-ink) !important;
  transition:background-color 5000s ease-in-out 0s !important;
}
body .woocommerce-account .woocommerce-EditAccountForm em,
body .woocommerce-account .woocommerce-EditAccountForm .description{
  color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; font-size:12.5px !important;
}

/* Boutons submit (Enregistrer) */
body .woocommerce-account .woocommerce-address-fields button,
body .woocommerce-account .woocommerce-EditAccountForm button,
body .woocommerce-account .woocommerce-address-fields .button,
body .woocommerce-account .woocommerce-EditAccountForm .button{
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  background:var(--vesp-green) !important; background-color:var(--vesp-green) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
  border:none !important; border-radius:10px !important; padding:13px 26px !important;
  font-family:Montserrat,"Proxima Nova",sans-serif !important; font-weight:700 !important; font-size:14px !important;
  text-transform:none !important; letter-spacing:normal !important; min-height:unset !important; cursor:pointer !important;
  box-shadow:0 2px 8px rgba(58,131,73,.25) !important; margin-top:8px !important;
}
body .woocommerce-account .woocommerce-address-fields button:hover,
body .woocommerce-account .woocommerce-EditAccountForm button:hover,
body .woocommerce-account .woocommerce-address-fields .button:hover,
body .woocommerce-account .woocommerce-EditAccountForm .button:hover{
  background:var(--vesp-green2) !important; background-color:var(--vesp-green2) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important;
}

@media (max-width:480px){
  body .woocommerce-account .woocommerce-Addresses{ grid-template-columns:1fr !important; }
}

/* =====================================================================
   PAGE PROJET : recap configurateur reutilise en MODE LECTURE
   ===================================================================== */
body .vesp-recap .vesp-recap-loading{
  color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important;
  padding:40px 0 !important; text-align:center !important; font-size:14px !important;
}
#verdeko-recap-wrapper{ margin:0 0 18px !important; }
body .vesp-diag{
  background:#fff7ed !important; border:1px solid #f0c98a !important; border-radius:12px !important;
  padding:16px 18px !important; margin:0 0 18px !important;
  font-family:Menlo,Consolas,monospace !important; font-size:12.5px !important; line-height:1.55 !important;
  color:#7a4a12 !important; -webkit-text-fill-color:#7a4a12 !important;
}
body .vesp-diag strong{ display:block !important; margin:0 0 8px !important; font-family:Montserrat,sans-serif !important; font-size:13px !important; color:#9a5a14 !important; -webkit-text-fill-color:#9a5a14 !important; }
body .vesp-diag div{ margin:3px 0 !important; word-break:break-word !important; }
body .vesp-diag b{ color:#5a3408 !important; -webkit-text-fill-color:#5a3408 !important; }

/* Fix couleurs : Woodmart force -webkit-text-fill-color sur la zone compte et
   casse les couleurs du recap (bloc prix bleu sur bleu, badges verts illisibles).
   currentColor fait suivre le fill a la couleur reelle definie par le recap. */
#verdeko-recap-wrapper, #verdeko-recap-wrapper *{
  -webkit-text-fill-color:currentColor !important;
}
/* Listes du recap : pas de puces parasites Woodmart */
#verdeko-recap-wrapper ul, #verdeko-recap-wrapper ol, #verdeko-recap-wrapper li{
  list-style:none !important; margin-left:0 !important; padding-left:0 !important;
}

/* Mode lecture : masque le form devis + ajustement des les. GARDE le bloc prix + Commander. */
body.vdk-readonly .vdk-form-card,
body.vdk-readonly #vdk-btn-devis,
body.vdk-readonly #vdk-btn-modifier-les,
body.vdk-readonly .vdk-recap-form{
  display:none !important;
}
body.vdk-readonly .vdk-acc-tog{
  pointer-events:none !important; opacity:.55 !important;
}
/* Projet deja commande/paye : plus de bouton Commander */
body.vdk-paid #vdk-btn-panier,
body.vdk-paid .vdk-cta-panier{
  display:none !important;
}

/* Focus dossier de pose telechargeable */
body .vesp-recap .vesp-pdf-focus{
  display:flex !important; align-items:stretch !important;
  background:#fff !important; border:1px solid var(--vesp-line) !important; border-radius:18px !important;
  overflow:hidden !important; margin:8px 0 18px !important;
}
body .vesp-recap .vesp-pdf-focus-img{ flex:0 0 38% !important; max-width:320px !important; background:var(--vesp-cream) !important; }
body .vesp-recap .vesp-pdf-focus-img img{ width:100% !important; height:100% !important; object-fit:cover !important; display:block !important; }
body .vesp-recap .vesp-pdf-focus-body{ padding:26px 30px !important; display:flex !important; flex-direction:column !important; justify-content:center !important; }
body .vesp-recap .vesp-pdf-focus-tag{
  font-size:11px !important; font-weight:700 !important; letter-spacing:.5px !important; text-transform:uppercase !important;
  color:var(--vesp-gold) !important; -webkit-text-fill-color:var(--vesp-gold) !important; margin:0 0 8px !important;
}
body .vesp-recap .vesp-pdf-focus-body h3{
  font-size:19px !important; font-weight:800 !important; margin:0 0 8px !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; text-transform:none !important;
}
body .vesp-recap .vesp-pdf-focus-body p{
  font-size:14px !important; line-height:1.6 !important; margin:0 0 18px !important;
  color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important;
}
body .vesp-recap .vesp-pdf-focus-body .vesp-btn{ align-self:flex-start !important; }

body .vesp-recap .vesp-recap-actions{
  display:flex !important; align-items:center !important; justify-content:space-between !important; flex-wrap:wrap !important; gap:12px !important;
}

@media (max-width:600px){
  body .vesp-recap .vesp-pdf-focus{ flex-direction:column !important; }
  body .vesp-recap .vesp-pdf-focus-img{ flex:none !important; max-width:none !important; height:180px !important; }
}

/* =====================================================================
   NETTOYAGE GLOBAL COMPTE : focus/outline propres partout
   (liens du menu, boutons, cartes commandes) sans casser l'accessibilite
   clavier des champs (qui gardent leur halo vert).
   ===================================================================== */
body .woocommerce-account a:focus,
body .woocommerce-account a:focus-visible,
body .woocommerce-account button:focus,
body .woocommerce-account .button:focus,
body .woocommerce-account .woocommerce-button:focus{
  outline:none !important; box-shadow:none !important;
}
/* Les boutons gardent un retour visuel discret au focus clavier */
body .woocommerce-account .vesp-btn:focus-visible,
body .woocommerce-account .button:focus-visible{
  box-shadow:0 0 0 3px rgba(58,131,73,.22) !important;
}
/* Liens d'action des commandes (Voir / Suivre) : pas de bordure parasite */
body .woocommerce-account .woocommerce-orders-table a:focus,
body .woocommerce-account .woocommerce-orders-table a:hover{
  outline:none !important; box-shadow:none !important;
}

/* Focus PDF place dans la colonne droite (sous .vdk-proj) : layout vertical compact */
body .vesp-recap .vesp-pdf-focus--side{ flex-direction:column !important; margin:16px 0 0 !important; }
body .vesp-recap .vesp-pdf-focus--side .vesp-pdf-focus-img{ flex:none !important; max-width:none !important; height:160px !important; }
body .vesp-recap .vesp-pdf-focus--side .vesp-pdf-focus-body{ padding:20px 22px !important; }
body .vesp-recap .vesp-pdf-focus--side .vesp-pdf-focus-body h3{ font-size:17px !important; }

/* =====================================================================
   ADRESSES (templates vesp maitrises : my-address.php)
   ===================================================================== */
body .vesp .vesp-addr-intro{
  color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important;
  margin:0 0 22px !important; font-size:15px !important;
}
body .vesp .vesp-addr-grid{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:18px !important; }
body .vesp .vesp-addr-card{
  background:#fff !important; border:1px solid var(--vesp-line) !important; border-radius:14px !important;
  padding:22px 24px !important; box-shadow:0 2px 10px rgba(35,69,79,.05) !important;
  display:flex !important; flex-direction:column !important;
}
body .vesp .vesp-addr-head h3{
  margin:0 0 14px !important; font-size:13px !important; font-weight:700 !important;
  letter-spacing:.06em !important; text-transform:uppercase !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
}
body .vesp .vesp-addr-body{
  font-style:normal !important; color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important;
  line-height:1.6 !important; font-size:15px !important; margin:0 0 18px !important; flex:1 1 auto !important;
}
body .vesp .vesp-addr-edit{
  display:inline-flex !important; align-items:center !important; gap:7px !important; align-self:flex-start !important;
  background:var(--vesp-cream) !important; color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
  padding:8px 14px !important; border-radius:9px !important; font-weight:600 !important; font-size:13.5px !important;
  text-decoration:none !important; border:1px solid var(--vesp-line) !important; transition:background .15s, border-color .15s !important;
}
body .vesp .vesp-addr-edit:hover{ background:#fff !important; border-color:var(--vesp-teal) !important; }
body .vesp .vesp-addr-edit svg{ stroke:var(--vesp-teal) !important; }

/* =====================================================================
   MON COMPTE (edit-account, wrapper vesp-account-form)
   ===================================================================== */
body .vesp-account-form{
  max-width:680px !important;
  background:#fff !important; border:1px solid var(--vesp-line) !important; border-radius:16px !important;
  padding:30px 32px !important; box-shadow:0 6px 22px rgba(35,69,79,.07) !important;
}
body .vesp-account-form .vesp-acc-grid{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:0 18px !important; }
body .vesp-account-form .vesp-acc-field{ margin:0 0 18px !important; display:flex !important; flex-direction:column !important; }
body .vesp-account-form label{
  font-size:13.5px !important; font-weight:600 !important; margin:0 0 7px !important;
  color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important;
}
body .vesp-account-form label .required{ color:var(--vesp-green) !important; -webkit-text-fill-color:var(--vesp-green) !important; border:none !important; }
body .vesp-account-form input.input-text{
  width:100% !important; padding:11px 14px !important; border:1px solid var(--vesp-line) !important;
  border-radius:10px !important; font-size:15px !important; background:var(--vesp-cream) !important; background-color:var(--vesp-cream) !important;
  color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important;
  box-shadow:none !important; transition:border-color .15s, box-shadow .15s !important;
}
body .vesp-account-form input.input-text:focus{
  outline:none !important; border-color:var(--vesp-green) !important; background:#fff !important; background-color:#fff !important; box-shadow:0 0 0 3px rgba(58,131,73,.14) !important;
}
body .vesp-account-form .vesp-acc-hint{
  display:block !important; margin-top:6px !important; font-size:12.5px !important;
  color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important;
}
body .vesp-account-form .vesp-acc-pwd{
  border:1px solid var(--vesp-line) !important; border-radius:14px !important;
  padding:20px 22px 4px !important; margin:6px 0 22px !important; background:var(--vesp-cream) !important;
}
body .vesp-account-form .vesp-acc-pwd input.input-text{ background:#fff !important; background-color:#fff !important; }
body .vesp-account-form .vesp-acc-pwd legend{
  font-size:13px !important; font-weight:700 !important; letter-spacing:.04em !important; text-transform:uppercase !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; padding:0 8px !important;
}
body .vesp-account-form .vesp-acc-submit{ margin:8px 0 0 !important; }
body .vesp-account-form .vesp-btn{
  display:inline-flex !important; align-items:center !important; background:var(--vesp-green) !important;
  color:#fff !important; -webkit-text-fill-color:#fff !important; border:none !important;
  padding:12px 24px !important; border-radius:10px !important; font-weight:700 !important; font-size:15px !important;
  cursor:pointer !important; box-shadow:0 2px 8px rgba(58,131,73,.28) !important; transition:background .18s !important;
}
body .vesp-account-form .vesp-btn:hover{ background:var(--vesp-green2) !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }
@media(max-width:600px){
  body .vesp .vesp-addr-grid{ grid-template-columns:1fr !important; }
  body .vesp-account-form .vesp-acc-grid{ grid-template-columns:1fr !important; }
}

/* =====================================================================
   COMMANDES (listing)
   ===================================================================== */
body .vesp .vesp-orders{ display:flex !important; flex-direction:column !important; gap:12px !important; }
body .vesp .vesp-oc{
  display:grid !important; grid-template-columns:auto 1fr auto auto !important; gap:16px !important; align-items:center !important;
  background:#fff !important; border:1px solid var(--vesp-line) !important; border-radius:14px !important;
  padding:16px 18px !important; box-shadow:0 2px 12px rgba(35,69,79,.06) !important;
}
body .vesp .vesp-onum{ font-size:15px !important; font-weight:800 !important; color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; }
body .vesp .vesp-odate{ font-size:13px !important; color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; margin-top:2px !important; }
body .vesp .vesp-oc-st{ justify-self:start !important; }
body .vesp .vesp-ototal{ font-size:15px !important; font-weight:800 !important; color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; white-space:nowrap !important; }
body .vesp .vesp-ototal del{ color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; font-weight:500 !important; }
body .vesp .vesp-pagination{ display:flex !important; gap:10px !important; justify-content:center !important; margin-top:18px !important; }

/* =====================================================================
   DETAIL COMMANDE
   ===================================================================== */
body .vesp .vesp-oban{
  display:flex !important; align-items:center !important; gap:11px !important;
  background:#fff !important; border:1px solid var(--vesp-line) !important; border-left:4px solid var(--vesp-gold) !important;
  border-radius:12px !important; padding:14px 18px !important; margin:0 0 20px !important; font-size:14.5px !important;
  color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important;
}
body .vesp .vesp-oban strong{ color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; }
body .vesp .vesp-oban .vesp-st{ vertical-align:middle !important; }

body .vesp .vesp-pan{
  background:#fff !important; border:1px solid var(--vesp-line) !important; border-radius:14px !important;
  box-shadow:0 2px 12px rgba(35,69,79,.06) !important; overflow:hidden !important; margin:0 0 18px !important;
}
body .vesp .vesp-ph{
  display:flex !important; justify-content:space-between !important; padding:13px 20px !important;
  border-bottom:1px solid var(--vesp-line) !important; font-size:12.5px !important; font-weight:800 !important;
  letter-spacing:.05em !important; text-transform:uppercase !important;
  color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important;
}
body .vesp .vesp-ol{ display:flex !important; justify-content:space-between !important; gap:16px !important; padding:16px 20px !important; border-bottom:1px solid var(--vesp-line) !important; }
body .vesp .vesp-ol:last-child{ border-bottom:none !important; }
body .vesp .vesp-ol-info{ min-width:0 !important; }
body .vesp .vesp-ol-nm{ font-weight:700 !important; color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; font-size:15px !important; }
body .vesp .vesp-ol-qty{ color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; font-weight:600 !important; font-size:13.5px !important; }
body .vesp .vesp-ol-pr{ font-weight:800 !important; color:var(--vesp-green) !important; -webkit-text-fill-color:var(--vesp-green) !important; white-space:nowrap !important; font-size:15px !important; }
/* Metadonnees produit (wc_display_item_meta) */
body .vesp .vesp-ol-meta{ margin-top:6px !important; }
body .vesp .vesp-ol-meta .wc-item-meta{ list-style:none !important; margin:0 !important; padding:0 !important; font-size:13px !important; line-height:1.65 !important; }
body .vesp .vesp-ol-meta .wc-item-meta li{ margin:0 !important; padding:0 !important; list-style:none !important; display:flex !important; flex-wrap:wrap !important; gap:5px !important; }
body .vesp .vesp-ol-meta .wc-item-meta li::before{ content:none !important; }
body .vesp .vesp-ol-meta .wc-item-meta strong{ font-weight:600 !important; color:#55615c !important; -webkit-text-fill-color:#55615c !important; }
body .vesp .vesp-ol-meta .wc-item-meta p{ margin:0 !important; display:inline !important; color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; }

body .vesp .vesp-totals{ padding:6px 0 !important; }
body .vesp .vesp-tt{ display:flex !important; justify-content:space-between !important; padding:11px 20px !important; font-size:14px !important; }
body .vesp .vesp-tt-l{ color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; }
body .vesp .vesp-tt-v{ font-weight:700 !important; color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; }
body .vesp .vesp-tt-grand{ border-top:1px solid var(--vesp-line) !important; font-size:16px !important; padding:15px 20px !important; }
body .vesp .vesp-tt-grand .vesp-tt-l, body .vesp .vesp-tt-grand span{ font-weight:800 !important; color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; }
body .vesp .vesp-ocust-note{ background:var(--vesp-cream) !important; border:1px solid var(--vesp-line) !important; border-radius:10px !important; padding:12px 16px !important; margin:0 0 18px !important; font-size:14px !important; }
body .vesp .vesp-ocust-note-l{ font-weight:700 !important; color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; }

/* Adresses du detail (2 colonnes) */
body .vesp .vesp-ag2{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:16px !important; margin-top:6px !important; }
body .vesp .vesp-ag2 .vesp-ac{ background:#fff !important; border:1px solid var(--vesp-line) !important; border-radius:14px !important; padding:20px 22px !important; box-shadow:0 2px 12px rgba(35,69,79,.05) !important; }
body .vesp .vesp-ag2 .vesp-ac h4{ margin:0 0 12px !important; font-size:13px !important; font-weight:800 !important; letter-spacing:.05em !important; text-transform:uppercase !important; color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; }
body .vesp .vesp-ag2 .vesp-ac address{ font-style:normal !important; line-height:1.6 !important; font-size:14.5px !important; color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important; }
body .vesp .vesp-ac-x{ color:var(--vesp-muted) !important; -webkit-text-fill-color:var(--vesp-muted) !important; font-size:13.5px !important; }

/* =====================================================================
   MODIFIER ADRESSE (form-edit-address)
   ===================================================================== */
body .vesp-addr-form{
  max-width:680px !important;
  background:#fff !important; border:1px solid var(--vesp-line) !important; border-radius:16px !important;
  padding:30px 32px !important; box-shadow:0 6px 22px rgba(35,69,79,.07) !important;
}
body .vesp-addr-form .vesp-addr-form-title{ font-size:20px !important; font-weight:800 !important; margin:0 0 22px !important; color:var(--vesp-teal) !important; -webkit-text-fill-color:var(--vesp-teal) !important; }
body .vesp-addr-form .vesp-addr-fields{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:0 18px !important; }
body .vesp-addr-form .vesp-addr-fields .form-row{ float:none !important; width:auto !important; margin:0 0 18px !important; padding:0 !important; display:flex !important; flex-direction:column !important; }
body .vesp-addr-form .vesp-addr-fields .form-row-wide,
body .vesp-addr-form .vesp-addr-fields .form-row-last{ grid-column:auto !important; }
body .vesp-addr-form .vesp-addr-fields .form-row-wide{ grid-column:1 / -1 !important; }
body .vesp-addr-form .vesp-addr-fields label{ font-size:13.5px !important; font-weight:600 !important; margin:0 0 7px !important; color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important; }
body .vesp-addr-form .vesp-addr-fields .required, body .vesp-addr-form .vesp-addr-fields .optional{ color:var(--vesp-green) !important; -webkit-text-fill-color:var(--vesp-green) !important; border:none !important; }
body .vesp-addr-form .vesp-addr-fields input.input-text,
body .vesp-addr-form .vesp-addr-fields .woocommerce-input-wrapper input,
body .vesp-addr-form .vesp-addr-fields select,
body .vesp-addr-form .vesp-addr-fields .select2-selection{
  width:100% !important; min-height:44px !important; padding:11px 14px !important; border:1px solid var(--vesp-line) !important;
  border-radius:10px !important; font-size:15px !important; background:var(--vesp-cream) !important; background-color:var(--vesp-cream) !important;
  color:var(--vesp-ink) !important; -webkit-text-fill-color:var(--vesp-ink) !important; box-shadow:none !important;
}
body .vesp-addr-form .vesp-addr-fields input.input-text:focus,
body .vesp-addr-form .vesp-addr-fields select:focus{ outline:none !important; border-color:var(--vesp-green) !important; background:#fff !important; background-color:#fff !important; box-shadow:0 0 0 3px rgba(58,131,73,.14) !important; }
body .vesp-addr-form .vesp-addr-fields .woocommerce-input-wrapper{ display:block !important; width:100% !important; }
body .vesp-addr-form .vesp-addr-fields .select2-container{ width:100% !important; }
body .vesp-addr-form .vesp-addr-fields .select2-selection{ display:flex !important; align-items:center !important; }

/* =====================================================================
   RESPONSIVE (nouvelles sections)
   ===================================================================== */
@media(max-width:680px){
  body .vesp .vesp-pc{ flex-wrap:wrap !important; }
  body .vesp .vesp-pc-acts{ flex-direction:row !important; width:100% !important; }
  body .vesp .vesp-oc{ grid-template-columns:1fr auto !important; }
  body .vesp .vesp-oc .vesp-go{ grid-column:1 / -1 !important; }
  body .vesp .vesp-ag2{ grid-template-columns:1fr !important; }
  body .vesp-addr-form .vesp-addr-fields{ grid-template-columns:1fr !important; }
  body .vesp .vesp-sec-h{ flex-wrap:wrap !important; gap:10px !important; }
}

/* ==========================================================================
   PAGE PROJET RECAP (/mon-compte/projet/{id})
   ========================================================================== */

/* Masquer le header redondant (titre + eyebrow) */
body.vesp-projet-recap .vdk-d-head { display: none !important; }

/* Masquer le formulaire d envoi devis */
body.vesp-projet-recap .vdk-form-card { display: none !important; }

/* Masquer le bouton Commander si deja paye/commande */
body.vdk-paid #vdk-btn-panier { display: none !important; }

/* Ligne de reference (date, n dossier, badge) - plus lisible */
body.vesp-projet-recap .vdk-d-ref {
    color: #23454f !important;
    -webkit-text-fill-color: #23454f !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    margin-top: 8px !important;
}

/* Bloc PDF - style ameliore sur page projet */
body.vesp-projet-recap .vesp-pdf-focus {
    background: #fff !important;
    border: 1px solid #e6e3da !important;
    border-radius: 16px !important;
    padding: 20px 22px !important;
    box-shadow: 0 2px 10px rgba(35,69,79,.05) !important;
    margin-top: 24px !important;
}

/* Header projet V2.8.7 */
/* Header page projet : stack vertical */
body.vesp-projet-recap .vesp-recap-head {
    display: block !important;
    margin: 0 0 24px !important;
}
body.vesp-projet-recap .vesp-head-title {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 800;
    color: #23454f;
    -webkit-text-fill-color: #23454f;
    line-height: 1.2;
}
body.vesp-projet-recap .vesp-head-sub {
    margin: 0;
    font-size: 15px;
    color: #3A8349;
    -webkit-text-fill-color: #3A8349;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
body.vesp-projet-recap .vesp-ref-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    background: #ececec;
    color: #555;
    -webkit-text-fill-color: #555;
}

/* Bloc PDF vertical (image en haut) */
body.vesp-projet-recap .vesp-pdf-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid #e6e3da;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 16px;
    box-shadow: 0 2px 10px rgba(35,69,79,.05);
}
body.vesp-projet-recap .vesp-pdf-visual {
    width: 100%;
    height: 140px;
    overflow: hidden;
}
body.vesp-projet-recap .vesp-pdf-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.vesp-projet-recap .vesp-pdf-content {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
}
body.vesp-projet-recap .vesp-pdf-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #c9a227;
    -webkit-text-fill-color: #c9a227;
    margin: 0 0 6px;
}
body.vesp-projet-recap .vesp-pdf-desc {
    margin: 0 0 14px;
    font-size: 14px;
    color: #23454f;
    -webkit-text-fill-color: #23454f;
    line-height: 1.45;
}

/* Boutons icone+texte : alignement generique */
body.vesp-projet-recap .vesp-btn,
body .vesp-recap .vesp-btn,
body .vesp .vesp-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
body.vesp-projet-recap .vesp-btn svg,
body .vesp-recap .vesp-btn svg,
body .vesp .vesp-btn svg {
    flex: 0 0 auto !important;
    vertical-align: baseline !important;
    margin: 0 !important;
}

/* Filet : neutralise les <br> parasites de wpautop dans tous les boutons */
.woocommerce-account .vesp-btn br,
.woocommerce-account a.vesp-btn br,
.woocommerce-account .button br,
body .vesp-recap .vesp-btn br,
body .vesp .vesp-btn br,
body .vesp .vesp-go br,
body .vesp .vesp-cta br,
body .vesp .vesp-newproj br {
    display: none !important;
}

/* Spinner bouton */
.vesp-spin {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vesp-spin .6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes vesp-spin {
    to { transform: rotate(360deg); }
}

/* =====================================================================
   Bloc PDF Focus (pleine largeur en haut de la page projet)
   ===================================================================== */
body.vesp-projet-recap .vesp-pdf-focus {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    background: #fff !important;
    border-radius: 16px !important;
    padding: 0 !important;
    margin: 0 0 28px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.08) !important;
}
body.vesp-projet-recap .vesp-pdf-focus-visual {
    flex: 0 0 auto !important;
    align-self: center !important;
    padding: 0 !important;
}
body.vesp-projet-recap .vesp-pdf-focus-visual img {
    width: auto !important;
    height: 180px !important;
    border-radius: 8px !important;
    display: block !important;
}
body.vesp-projet-recap .vesp-pdf-focus-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 20px 28px 20px 24px !important;
}
body.vesp-projet-recap .vesp-pdf-focus-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
body.vesp-projet-recap .vesp-pdf-focus-tag {
    display: block !important;
    background: none !important;
    color: var(--vesp-gold) !important;
    -webkit-text-fill-color: var(--vesp-gold) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    padding: 0 !important;
    margin: 0 0 6px !important;
}
body.vesp-projet-recap .vesp-pdf-focus-desc {
    color: var(--vesp-ink) !important;
    -webkit-text-fill-color: var(--vesp-ink) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}
body.vesp-projet-recap .vesp-pdf-focus .vesp-btn {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    align-self: center !important;
}
@media (max-width: 768px) {
    body.vesp-projet-recap .vesp-pdf-focus-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }
}
@media (max-width: 500px) {
    body.vesp-projet-recap .vesp-pdf-focus {
        flex-direction: column !important;
    }
    body.vesp-projet-recap .vesp-pdf-focus-visual {
        flex: 0 0 auto !important;
    }
    body.vesp-projet-recap .vesp-pdf-focus-visual img {
        height: 140px !important;
        width: auto !important;
    }
    body.vesp-projet-recap .vesp-pdf-focus-content {
        align-items: center !important;
        text-align: center !important;
    }
}

/* =====================================================================
   Page projet : masquer lien ajuster + textes plus fonces
   ===================================================================== */
/* Masquer le bouton "Ajuster les rouleaux" sur la page projet */
body.vesp-projet-recap .vdk-btn-out,
body.vesp-projet-recap a.vdk-btn-out,
body.vesp-projet-recap #vdk-btn-modifier-les,
body.vesp-projet-recap button.vdk-act {
    display: none !important;
}
/* Sticky prix : descendre de 110px */
body.vesp-projet-recap .vdk-proj,
body.vesp-projet-recap .vdk-side,
body.vesp-projet-recap .vdk-col-r {
    top: 130px !important;
}

/* Descriptions rouleaux et accessoires */
body.vesp-projet-recap .vdk-roll-s {
    font-size: 13px !important;
    color: var(--vdk-muted) !important;
    -webkit-text-fill-color: var(--vdk-muted) !important;
    font-weight: 400 !important;
}
body.vesp-projet-recap .vdk-acc-desc {
    font-size: 13px !important;
    color: var(--vdk-muted) !important;
    -webkit-text-fill-color: var(--vdk-muted) !important;
    font-weight: 400 !important;
}
/* Titre rouleaux moins gras */
body.vesp-projet-recap .vdk-les-title,
body.vesp-projet-recap .vdk-les-head,
body.vesp-projet-recap .vdk-calep-title,
body.vesp-projet-recap [class*="vdk-les"] > strong,
body.vesp-projet-recap [class*="vdk-calep"] > strong {
    font-weight: 500 !important;
}
