/* CG Inspiring Life v9 — UAT consistency, active-media presentation and admin feedback */
:root{
  --v9-navy:#082a59;--v9-deep:#061f49;--v9-blue:#0877df;--v9-sky:#5fc3ff;
  --v9-ice:#f2f8fe;--v9-line:#cfe2f2;--v9-ink:#0b2d58;--v9-muted:#5c7188;
  --v9-shadow:0 18px 45px rgba(8,48,98,.13)
}

/* Header: one consistent navigation colour and a visible search glyph. */
.enterprise-header,.enterprise-header.scrolled{background:rgba(247,251,255,.985)!important}
.enterprise-menu>a,
.enterprise-menu>.mega-item>button,
.enterprise-menu>.mega-item>button span{color:var(--v9-ink)!important;text-shadow:none!important}
.enterprise-menu>a:hover,
.enterprise-menu>.mega-item>button:hover,
.enterprise-menu>.mega-item.open>button{color:var(--v9-blue)!important}
.enterprise-search{background:#eaf5ff!important;border-color:#b8d6ed!important;color:var(--v9-ink)!important}
.enterprise-search svg{display:block!important;width:21px!important;height:21px!important;fill:none!important;stroke:var(--v9-ink)!important;stroke-width:2.25!important;stroke-linecap:round!important;stroke-linejoin:round!important;opacity:1!important}
.enterprise-search:hover{background:#dcedfb!important;border-color:#8fc1e7!important}
.header-login{white-space:nowrap}

/* The category strip must grow with its cards instead of showing an internal scrollbar. */
.category-bar.v7-category-bar.v8-category-bar{height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
.v8-category-bar .shell{height:auto!important;overflow:visible!important;scrollbar-width:none!important}
.v8-category-bar .shell::-webkit-scrollbar{display:none!important}
.v8-category-bar a{overflow:hidden!important}

/* Catalogue and legacy page banners: readable, proportional and contained at 100% zoom. */
.v6-catalog-hero{padding:54px 0 42px!important;min-height:0!important;color:#fff!important}
.v6-catalog-hero .eh-overline{color:#79d3ff!important}
.v6-catalog-hero h1{font-size:clamp(42px,5.1vw,76px)!important;line-height:1!important;letter-spacing:-.045em!important;color:#fff!important;max-width:980px!important;margin:10px 0 18px!important;text-wrap:balance}
.v6-catalog-hero>div>p:not(.eh-overline){font-size:clamp(14px,1.25vw,18px)!important;line-height:1.55!important;color:#d8ecff!important;max-width:720px!important}
.v7-category-path,.v7-category-path a,.v7-category-path span,.v6-catalog-hero .v7-category-path a,.v6-catalog-hero .v7-category-path span{color:#d9edff!important}
.v7-category-path a:last-child,.v7-category-path span:last-child{color:#fff!important;font-weight:800!important}
.eh-page-hero{padding:78px 0!important;min-height:0!important}
.eh-page-hero h1{font-size:clamp(43px,5vw,72px)!important;line-height:1.02!important;letter-spacing:-.045em!important;margin:10px 0 18px!important}
.eh-page-hero p:not(.eh-overline){font-size:16px!important;line-height:1.6!important}
.v6-hero-copy h1,.eh-hero-copy h1{font-size:clamp(46px,5.5vw,78px)!important;line-height:.98!important;max-width:760px!important;text-wrap:balance}
.v6-hero-copy>p,.eh-hero-copy>p{font-size:clamp(15px,1.25vw,18px)!important;max-width:650px!important}

/* Active product media: no blur, no crop, no oversized interpolation effects. */
.product-image,.v6-product-image{height:310px!important;padding:20px!important;background:linear-gradient(145deg,#fff,#edf6fd)!important}
.product-image img,.v6-product-image img,.v6-gallery-main img,.v6-gallery-thumbs img,.v6-category-image img{
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;filter:none!important;backdrop-filter:none!important;
  image-rendering:auto!important;transform:none!important;opacity:1!important
}
.v6-product-card:hover .v6-product-image img{transform:scale(1.012)!important}
.v6-gallery-main{background:#fff!important}.v6-gallery-main img{padding:16px!important}
.v6-category-image img{object-fit:cover!important}

/* Standard search/filter proportions on all location directories. */
.v7-location-section>.shell{max-width:1360px!important}
.v7-location-search{width:100%!important;grid-template-columns:minmax(380px,1.75fr) minmax(190px,.72fr) minmax(190px,.72fr) auto!important;gap:12px!important;padding:14px!important}
.v7-location-search label{min-width:0!important;padding:11px 15px!important}
.v7-location-search input,.v7-location-search select{width:100%!important;min-width:0!important;font-size:14px!important}
.v7-location-search button{min-width:180px!important;padding-inline:22px!important}

/* Compact video and media presentation. */
.video-hero,.media-hero{padding-block:68px!important}
.eh-video-grid{max-width:1080px;margin:0 auto;gap:22px!important}
.eh-video-grid article{min-width:0}
.eh-video{max-height:300px!important;border-radius:18px!important;margin-bottom:15px!important;background:linear-gradient(135deg,#06316d,#0a5aa8)!important}
.eh-video-grid h2{font-size:20px!important;margin:6px 0 0!important}
.eh-channel-cta{max-width:1080px;margin:48px auto 0!important;padding:35px 40px!important}
.eh-channel-cta h2{font-size:clamp(27px,3vw,38px)!important;margin:5px 0!important}
.eh-campaign-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
.eh-campaign-grid article{border-radius:18px!important;background:#fff;box-shadow:0 12px 28px rgba(8,48,98,.07)}
.eh-campaign-grid img{height:215px!important;object-fit:cover!important}
.eh-campaign-grid article>div{padding:18px!important}
.eh-campaign-grid h2{font-size:19px!important;line-height:1.25!important;margin:6px 0 12px!important}

/* Footer is intentionally centered for equal visual weight across all contact groups. */
.enterprise-footer-grid,.v8-footer-contacts,.enterprise-footer-bottom{text-align:center!important}
.footer-brand p{margin-inline:auto!important}
.footer-socials{justify-content:center!important;flex-wrap:wrap!important}
.enterprise-footer-grid>div{align-items:center!important}
.v8-footer-contacts article{align-items:center!important;text-align:center!important}
.enterprise-footer-bottom{justify-content:center!important;align-items:center!important;gap:18px!important;flex-wrap:wrap!important}
.enterprise-footer-bottom span:last-child{justify-content:center!important}
.footer-cta-band .shell{text-align:center!important}

/* Clear backend and import/save feedback. */
.flash-stack{position:fixed!important;right:22px!important;top:132px!important;z-index:220!important;display:grid!important;gap:10px!important;max-width:min(520px,calc(100vw - 34px))!important}
.flash{padding:15px 18px!important;border-radius:13px!important;border:1px solid transparent!important;box-shadow:0 16px 38px rgba(5,36,78,.19)!important;font-weight:750!important;line-height:1.45!important;background:#eef7ff!important;color:#0a3b70!important}
.flash.success{background:#e8f8f0!important;color:#08623f!important;border-color:#a9dec8!important}
.flash.warning{background:#fff7df!important;color:#745200!important;border-color:#efd081!important}
.flash.error{background:#fff0f0!important;color:#8d2525!important;border-color:#efb0b0!important}
.v9-admin-form-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.v9-admin-form-title span{display:block;color:var(--v9-blue);font:800 9px Manrope,sans-serif;text-transform:uppercase;letter-spacing:.12em}
.v9-admin-form-title h2{margin:5px 0 0!important}.v9-admin-form-title>a{font-size:12px;font-weight:800;color:var(--v9-blue)}
.v9-admin-row-actions{display:flex!important;align-items:center!important;gap:10px!important;margin-left:auto!important}
.v9-admin-row-actions>a{display:inline-flex;padding:8px 12px;border:1px solid #bad8ef;border-radius:9px;background:#edf7ff;color:#075fae;font:800 11px Manrope,sans-serif}
.v9-admin-row-actions form{margin:0!important}.v9-admin-content-list article{gap:15px!important}

/* CG SmartHome App */
.v9-smarthome-hero{position:relative;overflow:hidden;color:#fff;background:radial-gradient(circle at 78% 20%,#2c8edb 0,#0b559f 30%,#06275a 72%)}
.v9-smarthome-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:46px 46px;mask-image:linear-gradient(90deg,transparent,#000)}
.v9-smarthome-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.82fr);align-items:center;gap:70px;min-height:650px;padding:72px 0}
.v9-smarthome-copy .eh-overline{color:#8edaff}.v9-smarthome-copy h1{font:800 clamp(48px,6vw,86px)/.98 Manrope,sans-serif;letter-spacing:-.055em;margin:12px 0 24px;max-width:800px;text-wrap:balance}.v9-smarthome-copy>p{max-width:690px;color:#d8edff;font-size:17px;line-height:1.7}
.v9-store-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.v9-store-button{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;align-items:center;min-width:190px;padding:10px 16px;border:1px solid rgba(255,255,255,.34);border-radius:15px;background:rgba(255,255,255,.12);backdrop-filter:blur(8px);color:#fff}.v9-store-button>span{grid-row:1/3;font-size:25px}.v9-store-button small{font-size:9px;letter-spacing:.05em}.v9-store-button strong{font:800 17px Manrope}
.v9-smarthome-visual{position:relative;display:grid;place-items:center;min-height:500px}.v9-phone-frame{position:relative;width:270px;min-height:520px;padding:23px 20px;border:8px solid rgba(255,255,255,.82);border-radius:43px;background:linear-gradient(180deg,#f8fcff,#dff1ff);color:var(--v9-ink);box-shadow:0 35px 90px rgba(0,22,59,.38);transform:rotate(4deg)}.v9-phone-status{display:flex;justify-content:space-between;font-size:10px;font-weight:800}.v9-phone-status i{width:54px;height:15px;border-radius:20px;background:#092958}.v9-app-mark{margin:34px 0 24px;font:900 31px Manrope;color:#0875d7}.v9-app-mark span{display:block;color:#0b2d58;font-size:15px}.v9-device-summary{padding:18px;border-radius:18px;background:linear-gradient(135deg,#0c6fc9,#0b3f85);color:#fff}.v9-device-summary small,.v9-device-summary strong{display:block}.v9-device-summary strong{margin-top:4px}.v9-device-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.v9-device-grid div{min-height:92px;padding:14px;border:1px solid #c8e0f3;border-radius:16px;background:#fff}.v9-device-grid b,.v9-device-grid span{display:block}.v9-device-grid b{color:#0875d7;font-size:18px}.v9-device-grid span{margin-top:13px;color:#677d94;font-size:10px}.v9-orbit{position:absolute;padding:11px 15px;border:1px solid rgba(255,255,255,.32);border-radius:999px;background:rgba(5,41,91,.72);font:800 10px Manrope;box-shadow:0 12px 28px rgba(0,22,59,.2)}.v9-orbit.one{left:0;top:25%}.v9-orbit.two{right:0;bottom:25%}
.v9-smarthome-features{background:#f6fbff}.v9-section-heading{max-width:780px;margin-bottom:45px}.v9-section-heading h2{font:800 clamp(38px,4.5vw,64px)/1.02 Manrope;letter-spacing:-.045em;margin:9px 0 17px}.v9-section-heading>p{color:var(--v9-muted);font-size:16px;line-height:1.7}.v9-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.v9-feature-grid article{min-height:260px;padding:28px;border:1px solid var(--v9-line);border-radius:23px;background:linear-gradient(145deg,#fff,#eaf6ff);box-shadow:0 13px 30px rgba(8,48,98,.06)}.v9-feature-grid article>span{color:var(--v9-blue);font:800 10px Manrope}.v9-feature-grid h3{font:800 21px/1.2 Manrope;margin:58px 0 12px}.v9-feature-grid p{color:var(--v9-muted);font-size:13px;line-height:1.6}
.v9-smarthome-details{padding:90px 0;background:#fff}.v9-smarthome-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.v9-smarthome-detail-grid article{padding:38px;border:1px solid var(--v9-line);border-radius:25px}.v9-smarthome-detail-grid h2{font:800 34px/1.1 Manrope;margin:9px 0 24px}.v9-smarthome-detail-grid dl{margin:0}.v9-smarthome-detail-grid dl div{display:grid;grid-template-columns:130px 1fr;gap:15px;padding:14px 0;border-bottom:1px solid #e1edf7}.v9-smarthome-detail-grid dt{font-weight:800;color:var(--v9-ink)}.v9-smarthome-detail-grid dd{margin:0;color:var(--v9-muted)}.v9-smarthome-detail-grid article>p{color:var(--v9-muted);line-height:1.75}.v9-app-note{padding:15px;border-radius:13px;background:#eef7ff;font-size:12px!important}.v9-smarthome-download{padding:55px 0;background:linear-gradient(135deg,#06316d,#0b5ba9);color:#fff}.v9-smarthome-download .shell{display:flex;align-items:center;justify-content:space-between;gap:40px}.v9-smarthome-download span{color:#8dd8ff;font:800 10px Manrope;text-transform:uppercase;letter-spacing:.12em}.v9-smarthome-download h2{font:800 42px Manrope;margin:6px 0}.v9-smarthome-download .v9-store-actions{margin:0}.v9-smarthome-download .v9-store-actions a{padding:13px 18px;border:1px solid rgba(255,255,255,.35);border-radius:12px;font-weight:800}

@media(max-width:1280px){
  .enterprise-menu{gap:17px!important}.enterprise-menu>a,.enterprise-menu>.mega-item>button{font-size:11px!important}
  .v8-category-bar .shell{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .v7-location-search{grid-template-columns:minmax(280px,1.4fr) minmax(165px,.7fr) minmax(165px,.7fr) auto!important}
  .v9-feature-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:980px){
  .v7-location-search{grid-template-columns:1fr 1fr!important}.v7-location-search button{width:100%!important}
  .eh-campaign-grid{grid-template-columns:1fr 1fr!important}
  .v9-smarthome-hero-grid{grid-template-columns:1fr;gap:25px;padding:70px 0}.v9-smarthome-visual{min-height:480px}.v9-smarthome-detail-grid{grid-template-columns:1fr}.v9-smarthome-download .shell{align-items:flex-start;flex-direction:column}
}
@media(max-width:820px){
  .enterprise-menu>a,.enterprise-menu>.mega-item>button,.enterprise-menu>.mega-item>button span{color:#fff!important}
  .enterprise-search svg{stroke:var(--v9-ink)!important}
  .v6-catalog-hero h1{font-size:clamp(38px,11vw,54px)!important}
  .v6-hero-copy h1,.eh-hero-copy h1{font-size:clamp(40px,11vw,58px)!important}
  .product-image,.v6-product-image{height:230px!important;padding:14px!important}
  .enterprise-footer-grid{grid-template-columns:1fr 1fr!important;gap:35px!important}
  .eh-video-grid{grid-template-columns:1fr!important}.eh-video{max-height:none!important}
}
@media(max-width:620px){
  .v8-category-bar .shell{grid-template-columns:1fr 1fr!important}
  .v7-location-search{grid-template-columns:1fr!important}.v7-location-search button{min-width:0!important}
  .eh-campaign-grid{grid-template-columns:1fr!important}.eh-campaign-grid img{height:200px!important}
  .enterprise-footer-grid{grid-template-columns:1fr!important}.footer-cta-band .shell{flex-direction:column!important;justify-content:center!important;padding:28px 0!important}
  .v9-feature-grid{grid-template-columns:1fr}.v9-feature-grid article{min-height:210px}.v9-feature-grid h3{margin-top:30px}.v9-smarthome-copy h1{font-size:45px}.v9-phone-frame{width:240px;min-height:470px}.v9-orbit{display:none}.v9-smarthome-detail-grid article{padding:25px}.v9-smarthome-detail-grid dl div{grid-template-columns:1fr;gap:4px}.v9-smarthome-download h2{font-size:34px}
  .flash-stack{right:10px!important;top:80px!important;max-width:calc(100vw - 20px)!important}
}
@media(prefers-reduced-motion:reduce){.v6-product-card:hover .v6-product-image img{transform:none!important}}
.v7-location-search label.is-disabled{opacity:.58}.v7-location-search select:disabled{cursor:not-allowed}
.flash{position:relative!important;padding-right:46px!important}.v9-flash-close{position:absolute;right:10px;top:9px;width:28px;height:28px;border:0;border-radius:50%;background:rgba(8,48,98,.08);color:inherit;font-size:20px;line-height:1;cursor:pointer}
