/* V2.6.3 — vrai habillage premium du simulateur, non seulement le theme Astra.
   Ces règles s'activent exclusivement lorsque le réglage Premium est coché.
   Aucun changement du calcul, des données ou des formulaires. */
body.lm262-theme{background:#f8faf8;color:#203b33}
body.lm262-theme .ast-container{max-width:1280px}
body.lm262-theme .entry-content h1{font-size:clamp(29px,3.4vw,46px);font-weight:750}
body.lm262-theme .entry-content h2{font-weight:750}

/* Premier élément immédiatement visible dans l'outil : nouvelle carte + filet or */
body.lm262-theme .lm-widget.lm-estimator-v2{position:relative;max-width:1180px;margin:30px auto 48px;
  background:linear-gradient(180deg,#ffffff 0%,#fcfdfa 100%);border:1px solid #dae5dc;
  border-radius:22px;padding:clamp(22px,3.2vw,44px);
  box-shadow:0 20px 55px rgba(20,67,49,.095);overflow:visible}
body.lm262-theme .lm-widget.lm-estimator-v2::before{content:"";position:absolute;top:0;left:clamp(22px,3.2vw,44px);
  width:82px;height:4px;background:linear-gradient(90deg,#b08a4d,#e4cb9c);border-radius:0 0 8px 8px}
body.lm262-theme .lm-widget.lm-estimator-v2>h2{font-size:clamp(27px,2.7vw,38px)!important;
  line-height:1.18;margin:13px 0 17px;color:#123e31!important;letter-spacing:-.035em;font-weight:800}
body.lm262-theme .lm-widget.lm-estimator-v2>p:first-of-type{font-size:15.5px;line-height:1.8;
  color:#536b61;max-width:82ch;margin:0 0 29px}

/* Plus de grandes lignes de 5 champs compresses : 3 > 2 > 1 colonnes. */
body.lm262-theme .lm-estimator-v2 .lm-est-form .lm-grid{display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 20px;margin:16px 0 23px}
body.lm262-theme .lm-estimator-v2 .lm-est-form label{font-size:13px;line-height:1.45;
  color:#27483e;font-weight:750;letter-spacing:.006em;margin-bottom:0}
body.lm262-theme .lm-estimator-v2 .lm-est-form select,
body.lm262-theme .lm-estimator-v2 .lm-est-form input:not([type=hidden]):not([type=checkbox]){
  margin-top:9px;width:100%;min-height:52px;padding:12px 14px;box-sizing:border-box;
  background:#fff!important;border:1px solid #c4d5ca!important;border-radius:11px!important;
  color:#1c4639;box-shadow:0 2px 4px rgba(15,61,46,.025);font-size:15px;font-weight:500}
body.lm262-theme .lm-estimator-v2 .lm-est-form select:focus,
body.lm262-theme .lm-estimator-v2 .lm-est-form input:focus{outline:2px solid #c5a36d;
  outline-offset:2px;border-color:#377c66!important}
body.lm262-theme .lm-estimator-v2 .lm-address-block{padding:16px 18px 10px;
  background:#f6f9f5;border:1px solid #e1eae1;border-radius:14px;margin:20px 0 15px}
body.lm262-theme .lm-estimator-v2 .lm-address-block small{margin-top:9px;font-size:12px;color:#5c7064}
body.lm262-theme .lm-estimator-v2 .lm-official-note{font-size:12px;color:#65786d}

body.lm262-theme .lm-estimator-v2 .lm-est-form>button[type=submit]{display:block;
  min-height:56px;padding:14px 34px;margin:24px auto 0;
  width:min(100%,360px);border-radius:12px!important;
  background:#135a47!important;color:#fff!important;font-size:15.5px;font-weight:800;
  box-shadow:0 10px 24px rgba(19,90,71,.20)!important;letter-spacing:.01em;
  transition:background .18s,box-shadow .18s,transform .18s}
body.lm262-theme .lm-estimator-v2 .lm-est-form>button[type=submit]:hover{
  background:#0d4838!important;transform:translateY(-1px);box-shadow:0 14px 30px rgba(19,90,71,.26)!important}
body.lm262-theme .lm-estimator-v2 .lm-est-result .lm-result-card{
  border-radius:18px;background:#fff;padding:clamp(20px,2.8vw,34px);
  border:1px solid #dae8de;box-shadow:0 12px 36px rgba(18,64,46,.055)}
body.lm262-theme .lm-estimator-v2 .lm-result-card h3{color:#123d31;font-weight:800}
body.lm262-theme .lm-estimator-v2 .lm-rent-point,
body.lm262-theme .lm-estimator-v2 .lm-market-point{border-radius:15px;min-height:130px;
  box-shadow:0 6px 20px rgba(18,64,46,.04)}
body.lm262-theme .lm-estimator-v2 .lm-rent-ref,
body.lm262-theme .lm-estimator-v2 .lm-market-center{
  border-color:#1d7458;background:#e6f3e9;box-shadow:0 8px 24px rgba(18,89,58,.11)}
body.lm262-theme .lm-estimator-v2 .lm-study-lead{border-radius:18px;padding:clamp(19px,3vw,34px);
  background:linear-gradient(155deg,#f0f8f2,#ffffff);box-shadow:0 12px 30px rgba(25,74,52,.055)}
body.lm262-theme .lm-estimator-v2 .lm-study-lead h3{font-weight:800;letter-spacing:-.02em}
body.lm262-theme .lm-estimator-v2 .lm-study-lead button[type=submit]{min-height:54px;border-radius:12px}

/* Extension et pages : mêmes codes de confiance, sans écraser la grille Astra. */
body.lm262-theme .lm26-form-wrap{border-radius:20px;box-shadow:0 15px 40px rgba(20,68,51,.07)}
body.lm262-theme .lm26-card{border-radius:17px;box-shadow:0 10px 30px rgba(14,63,43,.05)}
body.lm262-theme .lm262-related-item{box-shadow:0 7px 20px rgba(20,65,48,.04)}

@media(max-width:980px){
  body.lm262-theme .lm-estimator-v2 .lm-est-form .lm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  body.lm262-theme .lm-widget.lm-estimator-v2{padding:22px 17px;margin:14px auto 26px;border-radius:15px}
  body.lm262-theme .lm-estimator-v2 .lm-est-form .lm-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  body.lm262-theme .lm-estimator-v2 .lm-address-block{padding:14px}
  body.lm262-theme .lm-estimator-v2 .lm-est-form>button[type=submit]{width:100%}
  body.lm262-theme .lm-estimator-v2 .lm-market-cards{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
  body.lm262-theme .lm-estimator-v2 .lm-est-form>button[type=submit]{transition:none!important;transform:none!important}
}
@media print{
  body.lm262-theme .lm-widget.lm-estimator-v2,
  body.lm262-theme .lm-estimator-v2 .lm-est-result .lm-result-card,
  body.lm262-theme .lm-estimator-v2 .lm-rent-point{box-shadow:none!important}
  body.lm262-theme .lm-estimator-v2 .lm-est-form{display:none!important}
}
