@font-face{font-family:MGWholesale;src:url('../fonts/Roboto-SemiBold.ttf') format('truetype');font-weight:600;font-display:swap}
body.mg-wholesale-page{margin:0!important;background:#fff!important}.mg-wholesale-page #main-container,.mg-wholesale-page .ct-container-full{padding:0!important}.mgwl{--g:#13803F;--lime:#85C440;--yellow:#FED842;--ink:#101914;font-family:MGWholesale,Arial,sans-serif;color:var(--ink);background:#fff}.mgwl *{box-sizing:border-box}.mgwl a{text-decoration:none}.mgwl svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mgwl-wrap{width:min(1540px,calc(100% - 96px));margin:auto;position:relative;z-index:2}
/* HERO — пропорции согласованного макета */
.mgwl-hero{height:640px;position:relative;color:#fff;background:#0b3f29 url('../images/wholesale/f0a2e99b-3ff8-403f-8372-4721cbb95095.png') 72% 14%/cover no-repeat;overflow:hidden}.mgwl-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,45,25,.98) 0%,rgba(2,45,25,.91) 24%,rgba(2,45,25,.68) 39%,rgba(2,45,25,.20) 56%,rgba(2,45,25,.02) 70%)}.mgwl-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.03) 62%,rgba(0,0,0,.12))}.mgwl-hero-overlay{position:absolute;z-index:1;inset:0;background:radial-gradient(circle at 28% 48%,rgba(3,56,31,.24),transparent 44%)}.mgwl-hero-header{height:154px;padding-top:34px;display:flex;justify-content:space-between;align-items:flex-start}.mgwl-brandline{display:flex;align-items:center;gap:24px}.mgwl-brandline img{width:190px;height:90px;object-fit:contain}.mgwl-brandline>span{height:66px;width:1px;background:rgba(255,255,255,.75)}.mgwl-brandline b{font-size:17px;line-height:1.2;color:#fff}.mgwl-partner{display:flex;align-items:flex-start;gap:13px;font-size:16px;line-height:1.2;padding-top:7px;margin-right:70px}.mgwl-partner i{color:var(--yellow);font-style:normal;font-size:21px}.mgwl-hero-copy{width:790px;max-width:56%}.mgwl-hero-copy h1{color:#fff;font-size:58px;line-height:1.02;letter-spacing:-.028em;margin:4px 0 18px}.mgwl-hero-copy h1 em{font-style:normal;color:var(--lime)}.mgwl-hero-copy>p{font-family:Arial,sans-serif;font-size:20px;line-height:1.4;margin:0 0 29px;color:#fff}.mgwl-advantages{display:flex;gap:40px;margin-bottom:30px}.mgwl-advantages>div{display:flex;align-items:center;gap:13px;font-size:14px;line-height:1.25}.mgwl-advantages span{width:52px;height:52px;border-radius:50%;background:var(--lime);color:#0b5b32;display:grid;place-items:center;flex:0 0 52px}.mgwl-advantages span svg{width:27px;height:27px}.mgwl-hero-buttons{display:flex;gap:18px}.mgwl-hero-buttons a{height:58px;padding:0 22px;border:1.5px solid var(--lime);border-radius:31px;color:#fff;display:flex;align-items:center;gap:12px;font-size:13px}.mgwl-hero-buttons a span{width:24px;height:24px}.mgwl-hero-buttons a span svg{width:24px;height:24px}.mgwl-hero-buttons a b{color:var(--yellow);font-size:19px;margin-left:4px}.mgwl-hero-buttons a:hover{background:var(--g)}
/* MATERIALS */
.mgwl-downloads{position:relative;background:linear-gradient(115deg,#fff 0%,#fbfbf7 72%,#f1f4eb 100%);padding:42px 0 44px;overflow:hidden;min-height:620px}.mgwl-download-content{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:28px;align-items:start}.mgwl-download-main{min-width:0}.mgwl-download-head{display:grid;grid-template-columns:1.2fr .8fr;gap:42px;align-items:end;margin-bottom:24px}.mgwl-download-head>div>span{color:var(--lime);font-size:15px}.mgwl-download-head h2{color:#111;font-size:42px;line-height:1.02;letter-spacing:-.02em;margin:8px 0 0;white-space:nowrap}.mgwl-download-head>p{font-family:Arial,sans-serif;font-size:15px;line-height:1.48;border-left:1px solid #809088;padding-left:24px;color:#4f5b54;margin:0}.mgwl-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:820px}.mgwl-cards article{background:#fff;padding:11px 11px 13px;border-radius:6px;box-shadow:0 4px 16px rgba(15,50,28,.10);display:flex;flex-direction:column}.mgwl-cards img{width:100%;height:300px;object-fit:cover;object-position:top;border-radius:3px}.mgwl-cards h3{color:#111;font-size:15px;line-height:1.2;margin:11px 0 5px}.mgwl-cards p{font-family:Arial,sans-serif;font-size:12px;line-height:1.38;color:#59635d;margin:0 0 12px;min-height:50px}.mgwl-download-button{height:48px;border:0;border-radius:4px;background:var(--g);color:#fff!important;font-family:MGWholesale;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px}.mgwl-download-button span{color:var(--yellow);width:19px;height:19px}.mgwl-download-button span svg{width:19px;height:19px}.mgwl-download-button:hover{background:#0c6c35}
/* Постоянно открытая форма, как в макете */
.mgwl-formbox{margin-top:96px;background:#fff;border-radius:13px;padding:30px 31px 25px;box-shadow:0 20px 55px rgba(0,0,0,.17);position:relative;z-index:5}.mgwl-form-title{display:flex;gap:15px;align-items:center}.mgwl-doc{width:50px;height:50px;background:#dff19e;border-radius:7px;display:grid;place-items:center;color:var(--g)}.mgwl-doc svg{width:26px;height:26px}.mgwl-form-title h3{color:#111;font-size:23px;margin:0 0 4px}.mgwl-form-title p{font-family:Arial;margin:0;color:#4e5752;font-size:16px}.mgwl-form-note{font:14px/1.45 Arial;color:#5f6963;margin:24px 0 16px}.mgwl-formbox form label{height:53px;border:1px solid #d7ddd9;border-radius:7px;margin:10px 0;display:flex;align-items:center;padding:0 13px;gap:11px}.mgwl-formbox form label span{width:20px;height:20px;color:#283a31;flex:0 0 20px}.mgwl-formbox form label span svg{width:20px;height:20px}.mgwl-formbox input{border:0!important;outline:0!important;width:100%;font:14px Arial!important;padding:0!important;background:transparent!important;box-shadow:none!important}.mgwl-formbox form label.mgwl-consent{height:auto!important;min-height:0;border:0!important;border-radius:0;margin:13px 0 14px;padding:0!important;display:flex;align-items:flex-start;gap:9px;background:transparent!important}.mgwl-consent input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;width:16px!important;height:16px!important;min-width:16px!important;margin:1px 0 0!important;padding:0!important;accent-color:var(--g)}.mgwl-consent span{width:auto!important;height:auto!important;flex:1!important;font:12px/1.35 Arial!important;color:#5f6963!important}.mgwl-consent a{color:var(--g)!important;text-decoration:underline!important;text-underline-offset:2px}.mgwl-consent a:hover{color:#0c6c35!important}
.mgwl-formbox form>button{width:100%;height:55px;border:0;border-radius:7px;background:var(--g);color:#fff;font-family:MGWholesale;font-size:17px;cursor:pointer;margin-top:5px;display:flex;align-items:center;justify-content:center;gap:10px}.mgwl-formbox form>button svg{width:21px;height:21px}.mgwl-formbox form>button:hover{background:#0c6c35}.mgwl-safe{display:flex;justify-content:center;align-items:center;gap:11px;margin-top:20px;font:11px/1.35 Arial;color:#68726c}.mgwl-safe>svg{width:21px;height:21px;flex:0 0 21px}.mgwl-status{font:12px/1.35 Arial;margin-top:9px;color:#13803F;min-height:15px}
/* декоративная хвоя справа снизу */
.mgwl-downloads:after{content:"";position:absolute;right:-90px;bottom:-150px;width:440px;height:440px;background:url('../images/wholesale/f0a2e99b-3ff8-403f-8372-4721cbb95095.png') 30% 84%/760px auto no-repeat;border-radius:50%;filter:saturate(1.25);opacity:.98;clip-path:polygon(30% 0,100% 0,100% 100%,0 100%,10% 64%)}
/* FOOTER */
.mgwl-footer{height:190px;background:linear-gradient(90deg,#075035,#0b6a3b);color:#fff;overflow:hidden}.mgwl-footer>.mgwl-wrap{height:100%;display:flex;align-items:center;justify-content:space-between}.mgwl-footer-brand{display:flex;align-items:center;gap:22px}.mgwl-footer-brand img{width:170px;height:88px;object-fit:contain}.mgwl-footer-brand span{width:1px;height:62px;background:rgba(255,255,255,.5)}.mgwl-footer-brand p{font:13px/1.4 Arial;margin:0;color:#fff}.mgwl-footer nav{display:flex;gap:30px}.mgwl-footer nav a{color:#fff;font-size:14px;display:flex;align-items:center;gap:8px}.mgwl-footer nav svg{width:20px;height:20px}.mgwl-footer-slogan{border-left:1px solid rgba(255,255,255,.35);padding-left:38px;color:#fff;font-size:20px;line-height:1.12;transform:rotate(-4deg);margin-right:90px}.mgwl-footer-slogan b{color:var(--yellow)}
@media(max-width:1250px){.mgwl-wrap{width:min(1120px,calc(100% - 50px))}.mgwl-hero{height:590px}.mgwl-hero-copy h1{font-size:49px}.mgwl-hero-copy>p{font-size:17px}.mgwl-download-content{grid-template-columns:minmax(0,1fr) 350px}.mgwl-download-head h2{font-size:34px}.mgwl-formbox{margin-top:112px;padding:25px}.mgwl-footer-slogan{margin-right:20px}}
@media(max-width:900px){.mgwl-wrap{width:calc(100% - 30px)}.mgwl-hero{height:auto;min-height:720px}.mgwl-hero:after{width:100%;opacity:.72}.mgwl-hero-overlay{background:linear-gradient(90deg,rgba(2,33,18,.94),rgba(2,33,18,.55))}.mgwl-partner,.mgwl-brandline b,.mgwl-brandline>span{display:none}.mgwl-hero-copy{width:100%;max-width:100%}.mgwl-hero-copy h1{font-size:40px}.mgwl-advantages{flex-direction:column;gap:12px}.mgwl-hero-buttons{flex-wrap:wrap}.mgwl-download-content,.mgwl-download-head{grid-template-columns:1fr}.mgwl-download-head h2{white-space:normal}.mgwl-cards{grid-template-columns:repeat(2,1fr)}.mgwl-formbox{margin-top:0}.mgwl-downloads:after{display:none}.mgwl-footer{height:auto;padding:30px 0}.mgwl-footer>.mgwl-wrap{flex-direction:column;align-items:flex-start;gap:25px}.mgwl-footer-slogan{margin-right:0}}
@media(max-width:560px){.mgwl-cards{grid-template-columns:1fr}.mgwl-hero-copy h1{font-size:33px}.mgwl-hero-copy>p br{display:none}.mgwl-hero-buttons{flex-direction:column}.mgwl-hero-buttons a{justify-content:center}.mgwl-download-head h2{font-size:30px}.mgwl-brandline img{width:155px}.mgwl-footer nav{flex-wrap:wrap}}

.mgwl-max-icon img{width:24px;height:24px;object-fit:contain;display:block}.mgwl-footer-max{width:20px;height:20px;object-fit:contain;display:block}

/* ===== Single lead magnet: Памятка по озеленению ===== */
.mgwl-downloads{min-height:610px}
.mgwl-download-content{grid-template-columns:minmax(0,1fr) 410px;gap:42px}
.mgwl-download-head{grid-template-columns:1fr 1fr;max-width:1040px}
.mgwl-download-head h2{white-space:normal}
.mgwl-single-lead{display:grid;grid-template-columns:330px minmax(0,1fr);gap:34px;align-items:center;max-width:900px;background:#fff;border-radius:10px;padding:16px 24px 16px 16px;box-shadow:0 5px 20px rgba(15,50,28,.09)}
.mgwl-lead-cover img{display:block;width:100%;height:360px;object-fit:cover;object-position:top;border-radius:5px}
.mgwl-lead-kicker{display:block;color:var(--g);font-size:12px;letter-spacing:.04em;margin-bottom:8px}
.mgwl-lead-copy h3{font-size:28px;line-height:1.08;margin:0 0 12px;color:#111}
.mgwl-lead-copy>p{font:15px/1.5 Arial;color:#4f5b54;margin:0 0 16px}
.mgwl-lead-copy ul{margin:0 0 18px;padding:0;list-style:none}
.mgwl-lead-copy li{position:relative;padding-left:23px;margin:9px 0;font:14px/1.4 Arial;color:#34433b}
.mgwl-lead-copy li:before{content:'✓';position:absolute;left:0;top:0;color:var(--g);font-family:MGWholesale;font-weight:600}
.mgwl-lead-hint{border-left:3px solid var(--lime);padding:10px 0 10px 14px;font:12px/1.45 Arial;color:#5a665f}
.mgwl-formbox{margin-top:86px}

/* Success popup appears only after successful server response */
.mgwl-success{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:20px}
.mgwl-success.is-open{display:flex}
.mgwl-success__backdrop{position:absolute;inset:0;background:rgba(3,35,20,.58);backdrop-filter:blur(3px)}
.mgwl-success__dialog{position:relative;z-index:1;width:min(460px,100%);background:#fff;border-radius:16px;padding:38px 34px 32px;text-align:center;box-shadow:0 25px 80px rgba(0,0,0,.28)}
.mgwl-success__close{position:absolute;right:15px;top:11px;width:34px;height:34px;border:0;background:transparent;color:#445149;font:30px/1 Arial;cursor:pointer}
.mgwl-success__icon{width:64px;height:64px;margin:0 auto 18px;border-radius:14px;background:#dff19e;color:var(--g);display:grid;place-items:center}
.mgwl-success__icon svg{width:34px;height:34px}
.mgwl-success__dialog h3{font-size:27px;line-height:1.1;color:#111;margin:0 0 10px}
.mgwl-success__dialog p{font:15px/1.45 Arial;color:#59635d;margin:0 0 23px}
.mgwl-success__download{height:56px;border-radius:7px;background:var(--g);color:#fff!important;display:flex;align-items:center;justify-content:center;gap:10px;font-size:17px}
.mgwl-success__download:hover{background:#0c6c35}
.mgwl-success__download svg{width:22px;height:22px;color:var(--yellow)}
body.mgwl-modal-open{overflow:hidden}
@media(max-width:900px){.mgwl-single-lead{grid-template-columns:280px 1fr}.mgwl-formbox{margin-top:0}}
@media(max-width:650px){.mgwl-single-lead{grid-template-columns:1fr;padding:13px}.mgwl-lead-cover img{height:auto;max-height:480px}.mgwl-download-head{grid-template-columns:1fr}.mgwl-success__dialog{padding:34px 22px 26px}.mgwl-success__dialog h3{font-size:23px}}

/* Third landing: accommodate the longer reference guide headline. */
body.page-template-page-wholesale-replacements .mgwl-download-head h2{font-size:clamp(27px,3vw,40px);white-space:normal}
body.page-template-page-wholesale-replacements .mgwl-lead-copy li{margin-bottom:9px}
body.page-template-page-wholesale-replacements .mgwl-success__download[aria-disabled="true"]{opacity:.5;cursor:not-allowed}

/* Mobile layout fix for all three wholesale lead-magnet landing pages.
   Keep after desktop rules: earlier responsive rules were overwritten by later desktop declarations. */
@media (max-width: 900px) {
  .mgwl, .mgwl-wrap, .mgwl-downloads, .mgwl-download-content, .mgwl-download-main,
  .mgwl-download-head, .mgwl-single-lead, .mgwl-lead-copy, .mgwl-formbox { min-width: 0; }
  .mgwl-wrap { width: calc(100% - 32px); max-width: 100%; }
  .mgwl-download-content { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; }
  .mgwl-download-head { display: grid; grid-template-columns: minmax(0,1fr); max-width: 100%; gap: 16px; }
  .mgwl-download-head h2 { white-space: normal; overflow-wrap: anywhere; }
  .mgwl-single-lead { grid-template-columns: minmax(0,1fr); max-width: 100%; }
  .mgwl-formbox { width: 100%; max-width: 100%; margin-top: 0; }
  .mgwl-formbox form label { min-width: 0; }
  .mgwl-formbox input { min-width: 0; max-width: 100%; }
  .mgwl-form-note, .mgwl-form-title h3, .mgwl-lead-copy, .mgwl-lead-copy p { overflow-wrap: anywhere; }
}
@media (max-width: 650px) {
  .mgwl-downloads { padding: 28px 0 38px; }
  .mgwl-download-content { gap: 22px; }
  .mgwl-download-head h2 { font-size: clamp(25px,7vw,34px); line-height: 1.12; }
  .mgwl-single-lead { padding: 13px; gap: 18px; }
  .mgwl-lead-cover img { height: auto; max-height: 480px; object-fit: contain; }
  .mgwl-formbox { padding: 22px 18px; }
  .mgwl-form-title { gap: 11px; }
  .mgwl-form-title h3 { font-size: 21px; line-height: 1.2; }
  .mgwl-form-note { margin: 17px 0 12px; }
  .mgwl-formbox form>button { font-size: 15px; }
  .mgwl-consent span { overflow-wrap: anywhere; }
}

/* optlead3: display the entire portrait brochure cover without cropping */
.mgwl-replacements .mgwl-lead-cover { height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; overflow: visible !important; }
.mgwl-replacements .mgwl-lead-cover img { display: block; width: 100%; height: auto !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; object-position: center top !important; }

/* Industry selector for all three lead-magnet forms */
.mgwl-formbox .mgwl-industry select { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: #174c36; font: inherit; padding: 0 6px 0 0; outline-offset: 2px; cursor: pointer; }
.mgwl-formbox .mgwl-industry select:invalid { color: #668777; }
.mgwl-formbox .mgwl-industry select option { color: #174c36; }


/* Body-copy readability update for all three wholesale lead magnets; no heading changes. */
.mgwl :where(p, li, label, input:not([type="checkbox"]):not([type="radio"]), select, textarea, button, .mgwl-formbox .mgwl-industry select) { font-size: 18px; }
.mgwl :where(small, .mgwl-small, .mgwl-caption) { font-size: 16px; }
.mgwl :where(p, li) { line-height: 1.6; }
@media (max-width: 767px) {
  .mgwl :where(input, select, textarea, button) { max-width: 100%; }
}


/* Monblan: readable lead-magnet text, headings unchanged. */
body .mgwl :where(p, li, label, input:not([type="checkbox"]):not([type="radio"]), select, textarea, button, .mgwl-formbox .mgwl-industry select) { font-size: 18px !important; }
body .mgwl .mgwl-consent span, body .mgwl .mgwl-safe, body .mgwl .mgwl-status { font-size: 14px !important; }
