/* =====================================================================
   CATALOG GLOW – category buttons, Product Directory, card ribbon
   Load this file LAST (after catalog.css / catalog-pc-card.css).
   ===================================================================== */

/* ---------- 1. Category buttons: light blue -> dark blue ---------- */
.ct-subcard{
  background:linear-gradient(135deg,#5b8af2 0%,#2c4fc0 32%,#16297f 68%,#0c1a55 100%)!important;
  border:1px solid rgba(125,160,255,.55)!important;
  box-shadow:0 8px 18px rgba(12,26,85,.28),0 0 14px rgba(91,138,242,.30)!important;
}
.ct-subcard:hover{
  background:linear-gradient(135deg,#7aa2ff 0%,#3a5fd6 32%,#1b3196 68%,#0f1f66 100%)!important;
  box-shadow:0 12px 26px rgba(12,26,85,.34),0 0 22px rgba(91,138,242,.50)!important;
}
.ct-subcard b{color:#fff!important}
.ct-subcard span{color:#d4defb!important}

/* selected button: light red -> dark red */
.ct-subcard.is-active,
.ct-subcard.is-active:hover{
  background:linear-gradient(135deg,#ff5a60 0%,#e3141b 35%,#b0141a 68%,#7a0b10 100%)!important;
  border-color:rgba(255,140,145,.65)!important;
  box-shadow:0 12px 26px rgba(160,15,22,.35),0 0 22px rgba(255,75,85,.45)!important;
}
.ct-subcard.is-active span{color:#ffe1e3!important}
/* no hard line under the buttons – the glow replaces it */
.ct-subcard::after{display:none!important}

/* ---------- 2. Product Directory: border + glow ---------- */
.ct-side{
  border:1.5px solid rgba(76,120,235,.55)!important;
  box-shadow:
    0 0 0 4px rgba(91,138,242,.10),
    0 0 26px rgba(60,100,230,.28),
    0 14px 30px rgba(11,27,69,.10)!important;
  animation:ctGlow 3.2s ease-in-out infinite;
}
@keyframes ctGlow{
  0%,100%{box-shadow:0 0 0 4px rgba(91,138,242,.10),0 0 22px rgba(60,100,230,.24),0 14px 30px rgba(11,27,69,.10)}
  50%    {box-shadow:0 0 0 4px rgba(91,138,242,.16),0 0 34px rgba(60,100,230,.42),0 14px 30px rgba(11,27,69,.10)}
}
@media (max-width:900px){ .ct-side{animation:none} }
@media (prefers-reduced-motion:reduce){ .ct-side{animation:none} }

/* ---------- 3. Card ribbon: 3 lines removed, soft continuous shadow ---------- */
.pc-ribbon::before{
  clip-path:none!important;
  border-top-right-radius:0!important;
  -webkit-mask-image:none!important;mask-image:none!important;
}
.pc-ribbon::after{
  left:100%!important;width:46px!important;
  transform:none!important;box-shadow:none!important;
  background:linear-gradient(90deg,rgba(91,138,242,.55) 0%,rgba(91,138,242,.22) 45%,rgba(91,138,242,0) 100%)!important;
}


/* Ribbon: ONE smooth fade, no separation line */
.pc-ribbon{padding-right:110px!important}
.pc-ribbon::before{
  clip-path:none!important;box-shadow:none!important;
  background:linear-gradient(90deg,
    #0c1a55 0%,#16297f 26%,#2c4fc0 52%,#5b8af2 68%,
    rgba(91,138,242,.55) 82%,rgba(91,138,242,.18) 93%,rgba(91,138,242,0) 100%)!important;
}
.pc-ribbon::after{display:none!important;content:none!important}


/* View Details / Get A Quote buttons: taller */
html body .pc-btn,
html body #ctGrid > .pc-card .pc-btn{
  height:48px!important;min-height:48px!important;
  font-size:17px!important;border-radius:12px!important;
}
html body .pc-btn svg,html body #ctGrid > .pc-card .pc-btn svg{width:20px!important;height:20px!important}
@media (max-width:640px){
  html body .pc-btn,html body #ctGrid > .pc-card .pc-btn{height:44px!important;min-height:44px!important;font-size:15px!important}
}
/* =====================================================================
   CARD BUTTONS – same design as "Explore Electrical"
   Get A Quote = red, View Details = blue
   ===================================================================== */
html body .pc-btn{
  border:0!important;border-radius:12px!important;
  font-family:"Poppins","Inter",Arial,sans-serif!important;font-weight:600!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease!important;
}
html body .pc-btn::before,html body .pc-btn::after{display:none!important}   /* no white lines at the bottom */
html body .pc-btn-red,html body .ct-row__btn--red{
  background:linear-gradient(180deg,#ff2a36 0%,#d90f1c 100%)!important;
  box-shadow:0 10px 24px rgba(255,30,45,.35),inset 0 1px 0 rgba(255,255,255,.25)!important;
}
html body .pc-btn-blue,html body .ct-row__btn--blue{
  background:linear-gradient(180deg,#3b7bff 0%,#1349d8 100%)!important;
  box-shadow:0 10px 24px rgba(30,90,255,.35),inset 0 1px 0 rgba(255,255,255,.25)!important;
}
html body .pc-btn:hover,html body .ct-row__btn--red:hover,html body .ct-row__btn--blue:hover{transform:translateY(-2px);filter:brightness(1.06)}


/* product picture a little lower (away from the blue header)
   change 64% : bigger number = lower, smaller = higher */
html body .pc-media .pc-img{top:64%!important}
html body #ctGrid > .pc-card .pc-img{max-height:72%!important}
