/* A5 official identity, graphite navigation and premium Meridia refinements. */
:root{
  --a5-ink:#141619;
  --a5-charcoal:#1b1e22;
  --a5-graphite:#282c31;
  --a5-steel:#aeb5bd;
  --a5-cloud:#f2f4f5;
  --a5-gold:#dfb90d;
}

/* Official CG identity and a neutral, architectural header. */
.cg-topbar{background:#17191c!important;color:#d8dce1!important}
.cg-socials a{border-color:#626970!important;color:#f7f8f9!important}
.enterprise-header,.enterprise-header.scrolled{background:rgba(247,248,249,.97)!important;border-bottom-color:#d9dde1!important;box-shadow:0 10px 30px rgba(16,20,24,.08)!important}
.cg-logo.vA3-logo.vA5-official-logo{width:108px!important;height:74px!important}
.cg-logo.vA3-logo.vA5-official-logo img{width:88px!important;height:66px!important;object-fit:contain!important}
.enterprise-menu>a,.mega-item>button{color:#272b30!important}
.enterprise-menu>a:hover,.mega-item>button:hover{color:#005eab!important}
.category-bar{background:#eceff1!important;border-bottom-color:#d5d9dd!important}
.mega-menu{background:#f7f8f9!important;border-top-color:#d7dadd!important}
.mega-intro,.support-menu-lead{background:linear-gradient(145deg,#25292e,#111315)!important}
.mega-intro>span,.support-menu-lead>span{color:#c7cdd3!important}
.mega-intro p,.support-menu-lead p{color:#d2d6da!important}
.support-menu-grid a:hover{background:#eceff1!important;border-color:#d4d9de!important}

/* The brand watermark is a real, aligned element rather than an oversized
   pseudo-element that can escape the section, as seen in the supplied QA shot. */
.vA4-category-section:before{display:none!important}
.vA4-category-section>.shell{isolation:isolate}
.vA5-category-watermark{
  position:absolute;
  z-index:-1;
  right:0;
  top:28px;
  max-width:100%;
  overflow:hidden;
  color:#edf1f4;
  font:800 clamp(48px,6.2vw,96px)/1 Manrope,sans-serif;
  letter-spacing:-.065em;
  white-space:nowrap;
  pointer-events:none;
}
.vA5-category-watermark>span{display:inline-block;margin-inline:.03em;color:#dce3e8;font-weight:350}
.vA4-category-section .vA3-section-heading{position:relative;z-index:1}

/* Official Meridia vector, kept separate from editable campaign imagery. */
.vA3-meridia-copy>.vA5-meridia-logo-plate,
.vA5-meridia-hero-logo{
  display:block;
  width:min(360px,100%);
  margin-top:22px;
  padding:13px 16px 11px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  background:rgba(250,249,246,.94);
  box-shadow:0 18px 45px rgba(0,0,0,.25);
  backdrop-filter:blur(14px);
}
.vA3-meridia-copy>.vA5-meridia-logo-plate{color:inherit;letter-spacing:0;text-transform:none}
.vA5-meridia-logo-plate img,.vA5-meridia-hero-logo img{display:block;width:100%;height:auto}
.vA3-meridia-copy>.vA5-meridia-logo-plate+small{margin-top:10px;color:#d2d6db}
.vA5-meridia-hero-logo{width:min(390px,100%);margin:0 0 21px}
.vA4-meridia-hero-copy{display:flex;flex-direction:column;align-items:flex-start}
.vA4-meridia-kicker{margin-top:0}
.vA4-meridia-hero:after{content:"CG|MERIDIA";right:3%;left:auto;white-space:nowrap}

/* Hierarchical Meridia collection: children remain visibly attached to their
   database parent, so Single Door sits beneath Refrigerator. */
.vA5-meridia-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.vA5-meridia-category-grid>article{
  min-height:280px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.018));
  transition:transform .35s ease,border-color .35s ease,background .35s ease;
}
.vA5-meridia-category-grid>article:hover{transform:translateY(-4px);border-color:rgba(223,185,13,.45);background:rgba(255,255,255,.07)}
.vA5-meridia-category-root{display:grid;grid-template-columns:38px 1fr;gap:4px;padding:24px;border-bottom:1px solid rgba(255,255,255,.12)}
.vA5-meridia-category-root>i{padding-top:4px;color:var(--a5-gold);font:700 9px Manrope,sans-serif}
.vA5-meridia-category-root>a{display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px 15px;color:#fff}
.vA5-meridia-category-root span{font:700 22px/1.15 Manrope,sans-serif;letter-spacing:-.03em}
.vA5-meridia-category-root small{grid-column:1;color:#8295a8;font-size:9px}
.vA5-meridia-category-root b{grid-column:2;grid-row:1/3;color:var(--a5-gold);font-size:18px}
.vA5-meridia-category-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:12px 16px 19px}
.vA5-meridia-category-branches>div{padding:11px;border-radius:10px;transition:background .25s}
.vA5-meridia-category-branches>div:hover{background:rgba(255,255,255,.055)}
.vA5-meridia-category-branches>div>a{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#edf2f7}
.vA5-meridia-category-branches strong{font-size:11px}
.vA5-meridia-category-branches small{color:#6f8499;font-size:9px}
.vA5-meridia-category-branches nav{display:flex;flex-wrap:wrap;gap:5px 9px;margin-top:8px;padding-left:9px;border-left:1px solid rgba(223,185,13,.35)}
.vA5-meridia-category-branches nav a{color:#93a7b9;font-size:9px;line-height:1.35}
.vA5-meridia-category-branches nav a:hover{color:#f2d777}

/* Explicit, calm pagination: catalogue pages never auto-append every product. */
.vA5-pagination{margin-top:36px;padding:24px 20px;border:1px solid #d8dde1;border-radius:16px;background:#fff}
.vA5-pagination>div a{border:1px solid #d8dde1;background:#f7f8f9;color:#343a40}
.vA5-pagination>div a.is-current{border-color:#1e2226;background:#1e2226;color:#fff}
.vA5-pagination>a{color:#33383d}

/* Graphite footer with the official mark deliberately placed on the right. */
.footer-cta-band{background:linear-gradient(110deg,#2b2f34,#17191c)!important}
.footer-cta-band span{color:#bfc5cb!important}
.enterprise-footer{background:linear-gradient(145deg,#191c20,#0f1113)!important}
.enterprise-footer-grid.v8-footer-grid{
  grid-template-columns:repeat(3,minmax(150px,.75fr)) minmax(270px,1.35fr)!important;
  gap:clamp(30px,4vw,65px)!important;
  align-items:start!important;
  text-align:left!important;
}
.enterprise-footer-grid>div{align-items:flex-start!important}
.enterprise-footer-grid>div:not(:first-child) a{width:auto;text-align:left!important}
.enterprise-footer-grid h3{color:#aeb5bd!important}
.enterprise-footer-grid a{color:#d5d9dd!important}
.vA5-footer-brand{
  order:4;
  max-width:390px!important;
  margin:0 0 0 auto!important;
  align-items:flex-end!important;
  text-align:right!important;
}
.vA5-footer-brand img{
  width:170px!important;
  height:auto!important;
  padding:11px!important;
  border:1px solid rgba(255,255,255,.13);
  border-radius:16px!important;
  background:#f9fafb!important;
  box-shadow:0 22px 48px rgba(0,0,0,.28)!important;
}
.vA5-footer-brand p{max-width:380px!important;margin:17px 0 0 auto!important;color:#aab1b8!important}
.vA5-footer-brand .footer-socials{justify-content:flex-end}
.v8-footer-contacts{border-top-color:rgba(255,255,255,.12)!important}
.v8-footer-contacts article{border-color:rgba(255,255,255,.12)!important;background:rgba(255,255,255,.035)!important}
.v8-footer-contacts article>span{color:#aeb5bd!important}
.v8-footer-contacts p,.v8-footer-contacts a{color:#cbd0d5!important}
.enterprise-footer-bottom{border-top-color:rgba(255,255,255,.12)!important;color:#818990!important}

@media(max-width:1050px){
  .enterprise-footer-grid.v8-footer-grid{grid-template-columns:1fr 1fr!important}
  .vA5-footer-brand{margin:0!important;align-items:flex-start!important;text-align:left!important}
  .vA5-footer-brand p{margin-left:0!important}
  .vA5-footer-brand .footer-socials{justify-content:flex-start}
}

@media(max-width:820px){
  .cg-logo.vA3-logo.vA5-official-logo{width:76px!important;height:66px!important}
  .cg-logo.vA3-logo.vA5-official-logo img{width:68px!important;height:58px!important}
  .enterprise-menu{background:#f2f4f5!important}
  .vA5-category-watermark{top:54px;font-size:52px}
  .vA5-meridia-category-grid{grid-template-columns:1fr}
}

@media(max-width:560px){
  .vA5-category-watermark{display:none}
  .vA3-meridia-copy>.vA5-meridia-logo-plate{width:min(295px,100%);margin-top:18px}
  .vA5-meridia-hero-logo{width:min(300px,100%)}
  .vA5-meridia-category-branches{grid-template-columns:1fr}
  .vA5-meridia-category-root{padding:20px}
  .enterprise-footer-grid.v8-footer-grid{grid-template-columns:1fr!important}
}
