/* EMDAD SOLAR 6.3 — targeted parity fixes after desktop screenshot comparison.
   Load LAST after v62.css. Preserve existing mobile hero and site content. */

/* Header remains visible while customers scroll, like reference storefront. */
body.em6-active .em6-topbar{position:sticky!important;top:0!important;z-index:1200!important;box-shadow:none!important}
body.em6-active .em6-header{position:sticky!important;top:40px!important;z-index:1199!important;background:#fff!important;box-shadow:0 5px 12px rgba(0,44,25,.05)!important}
body.em6-active .em6-menu-panel{z-index:1250!important}
body.em6-active .em6-topbar-inner{height:35px}
body.em6-active .em6-brand,body.em6-active .em6-menu,body.em6-active .em62-main-search{min-width:0}
body.em6-active .reference-content .category-products{scroll-margin-top:222px}

/* Product grid — same generous card dimensions and image treatment. */
body.em6-active .reference-content .products-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important;align-items:stretch}
body.em6-active .reference-content .em63-product-card{position:relative!important;min-width:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;background:#fff!important;border:1px solid #dfe5df!important;border-radius:33px!important;box-shadow:0 7px 25px rgba(17,46,29,.06)!important;transform:none!important}
body.em6-active .reference-content .em63-product-card:hover{box-shadow:0 13px 35px rgba(17,46,29,.11)!important}
body.em6-active .reference-content .em63-product-card .product-photo{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:322px!important;min-height:322px!important;max-height:322px!important;padding:18px 16px 42px!important;overflow:hidden!important;background:#fff!important;border:none!important;border-radius:0!important}
body.em6-active .reference-content .em63-product-card .product-photo img{display:block!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;transform:none!important}
body.em6-active .reference-content .em63-product-card .product-promo{position:absolute!important;z-index:3!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:9px!important;max-width:none!important;min-height:35px!important;padding:6px 9px!important;border:0!important;border-radius:0!important;color:#fff!important;background:linear-gradient(180deg,#26724f,#084c32)!important;box-shadow:none!important;font-size:12px!important;font-weight:900!important;line-height:1.3!important;text-align:center!important;white-space:normal!important}
body.em6-active .reference-content .em63-product-card .product-promo svg{height:16px;width:16px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}
body.em6-active .reference-content .em63-photo-favorite{position:absolute!important;z-index:4!important;top:18px!important;left:17px!important;right:auto!important;display:grid!important;place-items:center!important;min-width:38px!important;width:38px!important;height:38px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;color:#25382c!important;background:#fff!important;box-shadow:0 3px 13px rgba(9,27,14,.07)!important;line-height:1!important;font-size:25px!important}
body.em6-active .reference-content .em63-photo-favorite:hover,body.em6-active .reference-content .em63-photo-favorite.is-favorite{color:#b52346!important;background:#fff5f6!important}
body.em6-active .reference-content .em63-product-card .product-body{display:flex!important;flex:1!important;flex-direction:column!important;align-items:stretch!important;min-height:203px!important;padding:17px 19px 21px!important;border-top:none!important}
body.em6-active .reference-content .em63-product-card .card-micro{display:flex!important;justify-content:flex-start!important;margin:0 0 8px!important;min-height:20px!important;color:#166344!important;font-size:12px!important;font-weight:800!important;gap:8px!important}
body.em6-active .reference-content .em63-product-card .product-title{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;line-clamp:2!important;overflow:hidden!important;min-height:58px!important;max-height:58px!important;color:#1a2320!important;font-size:16px!important;font-weight:850!important;line-height:1.8!important;text-decoration:none!important}
body.em6-active .reference-content .em63-product-card .product-bottom{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:flex-end!important;justify-content:space-between!important;gap:12px!important;width:100%!important;margin-top:auto!important;padding:20px 0 0!important}
body.em6-active .reference-content .em63-price{min-width:0;display:flex;flex-direction:column;gap:4px;text-align:right}
body.em6-active .reference-content .em63-price small{display:block;font-size:12px!important;color:#7b8581!important;font-weight:400!important}
body.em6-active .reference-content .em63-price strong{display:block!important;color:#085637!important;font-size:20px!important;line-height:1.4!important;font-weight:950!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.em6-active .reference-content .em63-card-actions{display:flex!important;flex:0 0 auto!important;gap:7px!important;align-items:center!important;flex-direction:row!important}
body.em6-active .reference-content .em63-card-actions .mini-add{width:43px!important;min-width:43px!important;height:43px!important;border:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;padding:0!important;background:#00603d!important;color:#fff!important;box-shadow:none!important}
body.em6-active .reference-content .em63-card-actions .mini-add:disabled{background:#9aa7a0!important;cursor:not-allowed}
body.em6-active .reference-content .em63-card-actions .mini-add svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.em6-active .reference-content .em63-card-actions .v4-card-compare{width:36px!important;min-width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border:1px solid #dce5df!important;border-radius:9px!important;font-size:20px!important;padding:0!important;background:#fff!important;color:#175b42!important}
body.em6-active .reference-content .em63-card-actions .v4-card-compare.is-compared{background:#e6f5eb!important;border-color:#409a6a!important}
body.em6-active .reference-content .em63-product-card .unavailable{align-self:flex-start;margin-top:7px}
/* Section heading and rows */
body.em6-active .reference-content .category-products{margin:31px 0 38px!important;padding-top:26px!important;border-top:1px solid #e5ebe6!important}
body.em6-active .reference-content .category-products-head{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px!important;margin-bottom:18px!important}
body.em6-active .reference-content .category-products-head h3{margin:0!important;font-size:20px!important;color:#133e31!important}
body.em6-active .reference-content .category-products-head a{margin-inline-start:auto!important;white-space:nowrap!important}

/* WhatsApp support button: the store's own number from admin settings. */
body.em6-active .em63-wa-float{position:fixed!important;inset:auto 22px 23px auto!important;z-index:1450!important;display:flex!important;align-items:center!important;justify-content:center!important;width:66px!important;height:66px!important;padding:14px!important;border-radius:50%!important;background:#21d167!important;border:5px solid #ecf8f0!important;box-shadow:0 0 0 5px rgba(4,98,48,.08),0 6px 24px rgba(3,88,42,.25)!important;color:#fff!important;text-decoration:none!important;transition:transform .18s ease!important}
body.em6-active .em63-wa-float:hover{transform:translateY(-3px)!important}
body.em6-active .em63-wa-float svg{height:35px!important;width:35px!important;flex-shrink:0!important;color:#fff!important}
body.em6-active .em63-wa-hint{position:absolute;bottom:calc(100% + 12px);right:0;display:block;background:#171d1d;color:#fff;border-radius:12px;padding:9px 13px;white-space:nowrap;font-size:12px;font-weight:800;box-shadow:0 3px 12px #0002}
body.em6-active .em63-wa-hint::after{content:"";position:absolute;top:100%;right:22px;border:8px solid transparent;border-top-color:#171d1d}
body.em6-active .v4-compare-float{bottom:100px!important}

@media(min-width:1051px) and (max-width:1370px){
 body.em6-active .reference-content .products-grid{gap:14px!important}
 body.em6-active .reference-content .em63-product-card .product-photo{height:270px!important;min-height:270px!important;max-height:270px!important}
 body.em6-active .reference-content .em63-product-card .product-body{padding:13px 13px 17px!important}
 body.em6-active .reference-content .em63-product-card .product-title{font-size:14px!important}
 body.em6-active .reference-content .em63-price strong{font-size:16px!important}
}
@media(min-width:701px) and (max-width:1050px){
 body.em6-active .em6-topbar{position:relative!important}
 body.em6-active .em6-header{top:0!important}
 body.em6-active .reference-content .products-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important}
 body.em6-active .reference-content .em63-product-card .product-photo{height:230px!important;min-height:230px!important;max-height:230px!important}
 body.em6-active .reference-content .em63-product-card .product-body{padding:13px!important}
 body.em6-active .reference-content .em63-product-card .product-title{font-size:14px!important}
 body.em6-active .reference-content .em63-price strong{font-size:16px!important}
}
@media(max-width:700px){
 body.em6-active .em6-topbar{position:relative!important}
 body.em6-active .em6-header{position:sticky!important;top:0!important;z-index:1199!important}
 body.em6-active .reference-content .products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body.em6-active .reference-content .em63-product-card{border-radius:16px!important}
 body.em6-active .reference-content .em63-product-card .product-photo{height:168px!important;min-height:168px!important;max-height:168px!important;padding:10px 10px 28px!important}
 body.em6-active .reference-content .em63-product-card .product-promo{min-height:27px!important;padding:4px 3px!important;font-size:9px!important;gap:3px!important}
 body.em6-active .reference-content .em63-product-card .product-promo svg{width:12px;height:12px}
 body.em6-active .reference-content .em63-photo-favorite{top:7px!important;left:7px!important;width:29px!important;min-width:29px!important;height:29px!important;font-size:20px!important}
 body.em6-active .reference-content .em63-product-card .product-body{min-height:182px!important;padding:10px 9px 12px!important}
 body.em6-active .reference-content .em63-product-card .product-title{min-height:63px!important;max-height:63px!important;font-size:12px!important;line-height:1.68!important;-webkit-line-clamp:3!important;line-clamp:3!important}
 body.em6-active .reference-content .em63-price small{font-size:10px!important}
 body.em6-active .reference-content .em63-price strong{font-size:13px!important}
 body.em6-active .reference-content .em63-card-actions{gap:4px!important}
 body.em6-active .reference-content .em63-card-actions .mini-add{width:33px!important;min-width:33px!important;height:33px!important}
 body.em6-active .reference-content .em63-card-actions .mini-add svg{height:16px;width:16px}
 body.em6-active .reference-content .em63-card-actions .v4-card-compare{width:28px!important;min-width:28px!important;height:28px!important;font-size:16px!important}
 body.em6-active .em63-wa-float{right:13px!important;bottom:18px!important;width:57px!important;height:57px!important;padding:10px!important}
 body.em6-active .em63-wa-hint{display:none!important}
 body.em6-active .em63-wa-float svg{height:31px!important;width:31px!important}
 body.em6-active .v4-compare-float{bottom:80px!important}
}
@media(max-width:360px){
 body.em6-active .reference-content .em63-product-card .product-bottom{flex-wrap:wrap!important}
 body.em6-active .reference-content .em63-card-actions{margin-right:auto!important}
}
@media(prefers-reduced-motion:reduce){body.em6-active .em63-wa-float{transition:none!important}}
