/* DREWNOPLAST REX UPDATE 40 — global cleanup only */

/* Product gallery: no captions under images. */
.product-gallery-grid figcaption,
.product-gallery-item figcaption{
  display:none!important;
}

/* Entrance-door catalogue: strong red CTA directly below product tiles. */
.rex40-door-catalog{
  display:block!important;
  grid-template-columns:1fr!important;
  background:#e31e24!important;
  color:#fff!important;
  padding:44px 48px!important;
  margin-top:28px!important;
  margin-bottom:70px!important;
  border-radius:0!important;
  overflow:hidden!important;
}
.rex40-door-catalog .catalog-feature-copy{
  max-width:860px!important;
  padding:0!important;
}
.rex40-door-catalog .section-kicker,
.rex40-door-catalog h2,
.rex40-door-catalog p{
  color:#fff!important;
}
.rex40-door-catalog .section-kicker{opacity:.82!important;}
.rex40-door-catalog h2{margin-top:10px!important;}
.rex40-door-catalog .primary-btn{
  background:#fff!important;
  color:#e31e24!important;
  border-color:#fff!important;
  margin-top:12px!important;
}
.rex40-door-catalog .primary-btn:hover{
  background:#f6f6f3!important;
  color:#c9151b!important;
}
.rex40-door-catalog .catalog-frame{
  display:none!important;
}

/* Home-page catalogue link. */
.rex40-home-door-catalog{
  width:min(1320px,calc(100% - 48px));
  margin:30px auto 78px;
  background:#e31e24;
  color:#fff;
  padding:26px 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.rex40-home-door-catalog strong{
  display:block;
  font-size:clamp(19px,2vw,28px);
  line-height:1.15;
  font-weight:650;
}
.rex40-home-door-catalog span{
  display:block;
  font-size:12px;
  margin-top:5px;
  opacity:.86;
}
.rex40-home-door-catalog a{
  flex:0 0 auto;
  background:#fff;
  color:#e31e24;
  text-decoration:none;
  font-weight:700;
  font-size:12px;
  padding:14px 18px;
}

/* Small mega-menu label intentionally removed in markup; fallback in case of cached markup. */
.mega-menu .mega-kicker{display:none!important;}

@media(max-width:720px){
  .rex40-door-catalog{padding:32px 22px!important;margin-bottom:52px!important;}
  .rex40-home-door-catalog{width:calc(100% - 36px);padding:24px 20px;display:block;margin-bottom:55px;}
  .rex40-home-door-catalog a{display:inline-block;margin-top:18px;}
}
