/* CG Inspiring Life v12 UAT refinements */
:root{
  --v12-navy:#062c63;
  --v12-blue:#0a67bd;
  --v12-sky:#eaf6ff;
  --v12-line:#d7e7f4;
  --v12-text:#102f55;
  --v12-muted:#647a91;
}

/* Header: compact, legible and consistent. */
.cg-topbar .shell{min-height:36px;justify-content:flex-end}
.cg-toplinks{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,2vw,28px);width:100%;margin-left:0}
.cg-toplinks a{color:#e8f4ff!important;font-size:11px;font-weight:700;letter-spacing:.01em;white-space:nowrap}
.enterprise-menu>a,.mega-item>button{color:#0c315f!important}
.enterprise-menu>a:hover,.mega-item>button:hover,.mega-item.open>button{color:#0876d6!important}
.enterprise-search{background:#fff!important;border-color:#b9d8f2!important}
.enterprise-search svg{display:block!important;fill:none!important;stroke:#0c315f!important;stroke-width:2.2!important;opacity:1!important}

/* Homepage hero: equal frames, balanced spacing and no forced image upscaling. */
.v6-hero{height:clamp(570px,68vh,680px)!important;min-height:570px!important}
.v6-hero .eh-hero-layout{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:clamp(24px,3vw,48px)!important;
  padding:42px 0 58px!important;
}
.v6-hero-copy,.v6-hero-visual{
  height:clamp(430px,52vh,510px)!important;
  min-height:430px!important;
  box-sizing:border-box!important;
  border-radius:30px!important;
}
.v6-hero-copy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  max-width:none!important;
  padding:clamp(30px,3vw,50px)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  background:linear-gradient(135deg,rgba(3,35,78,.82),rgba(10,78,145,.42))!important;
  box-shadow:0 24px 65px rgba(0,25,65,.2)!important;
}
.v6-hero-copy:before{display:none!important}
.v6-hero-copy h1,.eh-hero-copy h1{
  font-size:clamp(38px,4.15vw,62px)!important;
  line-height:1.03!important;
  letter-spacing:-.045em!important;
  max-width:640px!important;
  text-wrap:balance;
}
.v6-hero-copy>p,.eh-hero-copy>p{
  font-size:clamp(14px,1vw,16px)!important;
  line-height:1.6!important;
  max-width:590px!important;
  margin:20px 0 25px!important;
}
.v6-hero-visual{
  position:relative!important;
  width:100%!important;
  padding:clamp(24px,2.6vw,42px)!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.28)!important;
  background:radial-gradient(circle at 48% 38%,#fff 0,#f6fbff 46%,#cdeaff 100%)!important;
  box-shadow:0 24px 65px rgba(0,25,65,.2)!important;
}
.v6-hero-visual img{
  width:auto!important;
  height:auto!important;
  max-width:94%!important;
  max-height:94%!important;
  object-fit:contain!important;
  object-position:center!important;
  filter:drop-shadow(0 18px 25px rgba(2,42,88,.18))!important;
  image-rendering:auto!important;
  transform:none!important;
}
.v6-hero-visual>span{right:24px!important;bottom:20px!important;color:#27669e!important;border-color:#a9d1ee!important;background:rgba(255,255,255,.76)!important}

/* Product images: preserve source sharpness and avoid blur-inducing zoom. */
.v6-product-image img,.product-image img,.v6-gallery-main img,.v6-gallery-thumbs img{
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  filter:none!important;
  image-rendering:auto!important;
  transform:none!important;
}
.v6-product-card:hover .v6-product-image img{transform:none!important}
.v6-product-card:hover{transform:translateY(-3px)!important}

/* Compact catalogue cards: remove artificial vertical gaps. */
.v6-catalog-grid{gap:16px!important}
.v6-catalog-grid .v6-product-card{height:auto!important;align-self:start!important;border-radius:18px!important}
.v6-catalog-grid .v6-product-image{height:235px!important;aspect-ratio:auto!important;padding:18px!important}
.v6-catalog-grid .v6-product-copy{padding:14px 16px 16px!important;gap:0!important}
.v6-catalog-grid .v6-product-copy>p{
  min-height:0!important;
  margin:0 0 5px!important;
  font-size:9px!important;
  line-height:1.35!important;
}
.v6-catalog-grid .v6-product-copy h3{
  min-height:0!important;
  margin:0!important;
  font-size:16px!important;
  line-height:1.25!important;
}
.v6-catalog-grid .v6-product-identifiers{
  min-height:0!important;
  margin-top:7px!important;
  gap:3px 10px!important;
  font-size:10.5px!important;
  line-height:1.35!important;
}
.v6-catalog-grid .v6-product-copy .product-price{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-top:8px!important;
  padding-top:0!important;
}
.v6-catalog-grid .product-price strong,
.v6-catalog-grid .product-price del{
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:800!important;
}
.v6-catalog-grid .product-price del{font-weight:650!important;color:#788ba0!important}
.v6-catalog-grid .v6-card-link{
  margin-top:9px!important;
  padding-top:9px!important;
  font-size:11px!important;
}
.v6-catalog-grid .product-card>a:last-child{margin-top:0!important}
.v6-catalog-grid .v8-card-scheme{margin-top:7px!important;padding:7px 9px!important;font-size:10px!important}

/* Homepage product rail stays premium but uses crisp images. */
.eh-product-rail .v6-product-image{padding:22px!important}
.eh-product-rail .v6-product-copy .product-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.eh-product-rail .product-price strong,.eh-product-rail .product-price del{font-size:14px!important}

/* Product specifications: higher contrast and easier scanning. */
.v6-spec-section{background:linear-gradient(135deg,#052b60,#0a4f93)!important;padding:82px 0!important}
.v6-spec-layout{grid-template-columns:minmax(250px,.62fr) minmax(0,1.38fr)!important;gap:55px!important;align-items:start!important}
.v6-spec-layout>div>p{color:#d1e5f6!important;max-width:420px!important}
.v6-spec-layout dl{
  margin:0!important;
  padding:10px 18px!important;
  border:1px solid rgba(255,255,255,.32)!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 22px 55px rgba(0,18,48,.2)!important;
  overflow:hidden!important;
}
.v6-spec-layout dl>div{
  grid-template-columns:minmax(165px,.72fr) minmax(0,1.28fr)!important;
  gap:22px!important;
  padding:15px 14px!important;
  border-bottom:1px solid #dce9f4!important;
  border-radius:10px!important;
}
.v6-spec-layout dl>div:nth-child(even){background:#f4f9fd!important}
.v6-spec-layout dl>div:last-child{border-bottom:0!important}
.v6-spec-layout dt{color:#466783!important;font-size:12px!important;font-weight:750!important;line-height:1.45!important}
.v6-spec-layout dd{color:#0d2f55!important;font-size:13px!important;font-weight:800!important;line-height:1.5!important;overflow-wrap:anywhere!important}

/* Admin import audit and built-in menu editor. */
.v12-import-summary{display:flex;align-items:flex-start;gap:10px;margin:10px 0 14px;padding:12px 14px;border:1px solid #cfe3f4;border-radius:12px;background:#f4faff;color:#31536f;font-size:12px}
.v12-import-summary strong{color:#092f5d;white-space:nowrap}
.v12-log-button{background:#edf7ff!important;border-color:#b9d9f2!important;color:#075ba8!important}
.v12-core-menu-editor{margin-bottom:24px!important;padding:22px!important;border:1px solid #cfe2f2!important;border-radius:18px!important;background:linear-gradient(145deg,#fff,#f4faff)!important}
.v12-core-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.v12-core-menu-grid label{display:flex;flex-direction:column;gap:6px;font-weight:700;color:#173b62}
.v12-core-menu-grid input{width:100%}

@media(max-width:1050px){
  .v6-hero .eh-hero-layout{grid-template-columns:minmax(0,.92fr) minmax(340px,1.08fr)!important;gap:22px!important}
  .v6-hero-copy,.v6-hero-visual{height:450px!important;min-height:450px!important}
  .v6-hero-copy{padding:30px!important}
  .v6-spec-layout{grid-template-columns:1fr!important;gap:34px!important}
}
@media(max-width:820px){
  .cg-toplinks{justify-content:center!important;overflow-x:auto!important;scrollbar-width:none!important;padding:0 4px!important}
  .v6-hero{height:auto!important;min-height:760px!important}
  .v6-hero .eh-hero-layout{grid-template-columns:1fr!important;align-content:start!important;padding:30px 0 80px!important}
  .v6-hero-copy,.v6-hero-visual{position:relative!important;right:auto!important;bottom:auto!important;width:100%!important;height:auto!important;min-height:0!important;opacity:1!important}
  .v6-hero-copy{padding:28px!important}
  .v6-hero-visual{height:300px!important;min-height:300px!important;padding:20px!important}
  .v6-spec-layout dl>div{grid-template-columns:1fr!important;gap:5px!important}
  .v12-core-menu-grid{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  .cg-toplinks{gap:12px!important}.cg-toplinks a{font-size:8.5px!important}
  .cg-toplinks a:nth-child(2){display:inline-flex!important}
  .v6-hero{min-height:700px!important}
  .v6-hero-copy h1,.eh-hero-copy h1{font-size:clamp(33px,10.5vw,46px)!important}
  .v6-hero-visual{height:245px!important;min-height:245px!important}
  .v6-catalog-grid .v6-product-image{height:260px!important}
  .v6-spec-section{padding:58px 0!important}.v6-spec-layout dl{padding:8px!important}
}
