/* Exproof Elektrik final UX refinements — 2026-09-11 */

/* 1) Global quote modal */
.quoteModal{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(5,20,19,.72);backdrop-filter:blur(6px)}
.quoteModal.isOpen{display:flex}
.quoteModalDialog{position:relative;width:min(760px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border:1px solid #d7dcd5;box-shadow:0 28px 90px rgba(0,0,0,.28);color:#101a1b}
.quoteModalTop{padding:30px 78px 0 34px}
.quoteModalTop>span{display:block;color:#0d5833;font-size:9px;font-weight:900;letter-spacing:1.8px;margin-bottom:8px}
.quoteModalTop h2{margin:0;font-size:34px;line-height:1.05;letter-spacing:-1.7px}
.quoteModalTop p{margin:12px 0 0;color:#677271;font-size:13px;line-height:1.6}
.quoteModalClose{position:absolute;top:18px;right:18px;width:44px;height:44px;border:1px solid #d7dcd5;background:#fff;color:#101a1b;font-size:24px;line-height:1;cursor:pointer;display:grid;place-items:center}
.quoteModalClose:hover{border-color:#0d5833;color:#0d5833}
.quoteModal .contactForm{border:0!important;box-shadow:none!important;padding:24px 34px 34px!important;gap:18px!important;display:grid!important;background:#fff!important}
.quoteModal .formRow{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.quoteModal .contactForm label{display:grid;gap:8px;color:#53605a;font-size:9px;font-weight:900;letter-spacing:1.1px}
.quoteModal .contactForm input,.quoteModal .contactForm textarea{width:100%;box-sizing:border-box;color:#101a1b;font:inherit;resize:vertical;background:#f7f8f5;border:1px solid #d7dcd5;outline:none;padding:15px 16px;font-size:14px}
.quoteModal .contactForm input:focus,.quoteModal .contactForm textarea:focus{background:#fff;border-color:#0d5833;box-shadow:0 0 0 3px rgba(13,88,51,.08)}
.quoteModal .contactForm button[type="submit"]{color:#fff;cursor:pointer;background:#0d5833;border:0;justify-content:space-between;align-items:center;padding:17px 20px;font-size:11px;font-weight:900;display:flex}
.quoteModal .contactForm button[type="submit"]:hover{background:#073d23}
.quoteModal .contactForm button[disabled]{opacity:.6;cursor:not-allowed}
.quoteModal .humanCheck{display:grid;gap:8px}.quoteModal .humanQuestion{font-weight:800;letter-spacing:.4px}
.quoteModal .exproofelektrikHoneypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.quoteModal .formStatus{min-height:24px;margin:6px 0 0;font-size:14px;font-weight:700}.quoteModal .formStatus.isSuccess{color:#137333}.quoteModal .formStatus.isError{color:#b3261e}
body.quoteModalOpen{overflow:hidden}

/* 2) Homepage products: 4-up horizontal slider */
.productSliderControls{display:flex;gap:8px;justify-content:flex-end;align-items:center;margin-top:20px}
.productSliderControls button,.blogControls button{width:42px;height:42px;border:1px solid #c7d0ca;background:#fff;color:#0d5833;cursor:pointer;font-size:18px;display:grid;place-items:center;transition:.2s}
.productSliderControls button:hover,.blogControls button:hover{background:#0d5833;color:#fff;border-color:#0d5833}
.products .sectionIntro{position:relative}
.productSliderTrack{display:flex!important;grid-template-columns:none!important;gap:16px;border-left:0!important;border-top:0!important;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:1px 1px 18px}
.productSliderTrack::-webkit-scrollbar{display:none}
.productSliderTrack .category{box-sizing:border-box;flex:0 0 calc((100% - 48px)/4);scroll-snap-align:start;border:1px solid var(--line);height:365px}

/* 3) Featured product image, intentionally compact */
.feature{grid-template-columns:42% 58%;min-height:560px}
.featureImage{padding:48px}
.featureImage img{width:min(62%,360px)!important;height:min(62%,360px)!important;object-fit:contain}
.featureCopy{padding:74px 7vw}

/* 5) Product detail pages: landing-page style hero, product data below remains intact */
body.productDetailPage{background:#f7f8f5}
body.productDetailPage main>.wrap:first-child{max-width:none;padding:0}
body.productDetailPage .crumbs{max-width:1180px;margin:0 auto;padding:20px 24px;color:#64736b}
body.productDetailPage .productLandingHero{position:relative;isolation:isolate;overflow:hidden;min-height:560px;padding:72px max(6vw,24px);grid-template-columns:minmax(0,.95fr) minmax(380px,.85fr);gap:7vw;background:linear-gradient(115deg,#0b2117 0%,#103624 58%,#0b2419 100%);color:#fff;border:0;border-radius:0;align-items:center}
body.productDetailPage .productLandingHero:before{content:"";position:absolute;z-index:-1;width:640px;height:640px;border:1px solid rgba(255,255,255,.09);border-radius:50%;right:-180px;top:-260px;box-shadow:0 0 0 90px rgba(255,255,255,.035),0 0 0 180px rgba(255,255,255,.02)}
body.productDetailPage .productLandingHero:after{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 73% 46%,rgba(114,177,139,.18),transparent 27%),linear-gradient(90deg,transparent 0 55%,rgba(255,255,255,.02) 55% 56%,transparent 56%)}
body.productDetailPage .productLandingHero .visual{order:2;justify-self:end;width:min(100%,520px);height:430px;aspect-ratio:auto;border:1px solid rgba(255,255,255,.10);border-radius:0;background:rgba(255,255,255,.04);backdrop-filter:blur(2px);position:relative}
body.productDetailPage .productLandingHero .visual:after{content:"ATEX";position:absolute;right:22px;bottom:16px;color:rgba(255,255,255,.08);font-size:74px;font-weight:900;letter-spacing:-5px;pointer-events:none}
body.productDetailPage .productLandingHero .visual img{width:72%;height:72%;padding:0;object-fit:contain;filter:drop-shadow(0 28px 24px rgba(0,0,0,.32));position:relative;z-index:1}
body.productDetailPage .productLandingHero>div:last-child{order:1;position:relative;z-index:1;max-width:720px}
body.productDetailPage .productLandingHero .kicker{color:#8fd1a8;font-size:10px;letter-spacing:1.8px}
body.productDetailPage .productLandingHero h1{color:#fff;font-size:clamp(48px,6vw,84px);line-height:.96;letter-spacing:-4px;margin:14px 0 20px}
body.productDetailPage .productLandingHero .lead{color:#c9d9d0;font-size:18px;line-height:1.7;max-width:650px}
body.productDetailPage .productLandingHero .chips{margin:26px 0}
body.productDetailPage .productLandingHero .chip{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.13);color:#e8f2ec;border-radius:2px;padding:8px 11px;font-size:11px}
body.productDetailPage .productLandingHero .btn{border-radius:0;min-height:48px;padding:0 20px}
body.productDetailPage .productLandingHero .btn.primary{background:#68b989;border-color:#68b989;color:#082015}
body.productDetailPage .productLandingHero .btn.secondary{background:transparent;border-color:rgba(255,255,255,.28);color:#fff}
body.productDetailPage .stats{position:relative;z-index:3;max-width:1180px;margin:-34px auto 54px;padding:0 18px;gap:0;background:#fff;box-shadow:0 18px 45px rgba(9,39,26,.10);border:1px solid #dce4df}
body.productDetailPage .stat{border:0;border-right:1px solid #e0e6e2;border-radius:0;padding:23px 22px;min-height:90px}
body.productDetailPage .stat:last-child{border-right:0}
body.productDetailPage .stat small{font-size:10px;text-transform:uppercase;letter-spacing:1px}
body.productDetailPage .stat strong{font-size:18px;color:#102a1c}

/* 8) Archive cards: ensure restored class structure presents as cards */
.blogArchiveBody .archiveGrid{align-items:stretch}
.blogArchiveBody .archiveCard{box-sizing:border-box}

@media(max-width:1100px){
  .productSliderTrack .category{flex-basis:calc((100% - 32px)/3)}
  body.productDetailPage .productLandingHero{grid-template-columns:1fr 1fr;gap:4vw}
  body.productDetailPage .productLandingHero h1{font-size:clamp(46px,6vw,68px)}
}
@media(max-width:800px){
  .productSliderTrack .category{flex-basis:calc((100% - 16px)/2)}
  .feature{grid-template-columns:1fr;min-height:0}.featureImage{min-height:360px}.featureCopy{padding:62px 24px}
  body.productDetailPage .productLandingHero{grid-template-columns:1fr;min-height:0;padding:58px 24px 72px}
  body.productDetailPage .productLandingHero .visual{order:1;justify-self:start;height:340px;max-width:520px}
  body.productDetailPage .productLandingHero>div:last-child{order:2}
  body.productDetailPage .stats{grid-template-columns:repeat(2,1fr);margin:-28px 24px 45px;padding:0}
  body.productDetailPage .stat:nth-child(2){border-right:0}body.productDetailPage .stat:nth-child(-n+2){border-bottom:1px solid #e0e6e2}
}
@media(max-width:650px){
  .quoteModal{padding:0;align-items:flex-end}.quoteModalDialog{width:100%;max-height:94vh;border-left:0;border-right:0;border-bottom:0}.quoteModalTop{padding:28px 66px 0 20px}.quoteModalTop h2{font-size:30px}.quoteModalClose{top:14px;right:14px}.quoteModal .contactForm{padding:22px 20px 28px!important}.quoteModal .formRow{grid-template-columns:1fr}
  .products .sectionIntro{display:block}.productSliderControls{justify-content:flex-start;margin:22px 0 4px}
  .productSliderTrack .category{flex-basis:86%}
  .featureImage{min-height:300px;padding:35px}.featureImage img{width:min(58%,280px)!important;height:min(58%,280px)!important}
  body.productDetailPage .productLandingHero h1{font-size:48px;letter-spacing:-3px}
  body.productDetailPage .productLandingHero .visual{height:300px}
  body.productDetailPage .stats{grid-template-columns:1fr;margin:-24px 16px 38px}
  body.productDetailPage .stat{border-right:0;border-bottom:1px solid #e0e6e2!important}body.productDetailPage .stat:last-child{border-bottom:0!important}
}
