/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/
#header .header-inner #logo a > img, #header #header-wrap #logo a > img {
    vertical-align: text-bottom;
    height: 90px;
}

.black{color: black;}

/* SLIDE UP GRAY OVERLAY */
.product .product-image{
  position: relative;
  overflow: hidden;
}

/* Make the image link cover the whole image area */
.product .product-link{
  display: block;
}

/* Full overlay (slides up) */
.product .product-overlay-full{
  position: absolute;
  inset: 0;
  background: rgba(70, 70, 70, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10;

  transform: translateY(100%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;

  /* Overlay visible but doesn't block clicking the image link */
  pointer-events: none;
}

.product .product-image:hover .product-overlay-full{
  transform: translateY(0);
  opacity: 1;
}

/* Content layout */
.product .overlay-content{
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  max-width: 90%;
}

/* Lines */
.product .overlay-line{
  margin: 0; /* remove default <p> margin */
  color: rgba(255,255,255,0.95);
  line-height: 1.25;
}

.product .overlay-title{
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
}

.product .overlay-subtitle{
  color: rgba(255,255,255,0.9);
  font-size: 14px;
}

/* Button */
.product .overlay-btn{
  display: inline-block;
  margin-top: 6px;

  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 6px;
  background: rgba(0,0,0,0.15);

  /* re-enable clicks ONLY on the button */
  pointer-events: auto;
}

.product .overlay-btn:hover{
  background: rgba(0,0,0,0.30);
}

/* Disable overlay on phones/tablets (touch devices) */
@media (hover: none) and (pointer: coarse) {
  .product .product-overlay-full{
    display: none !important;
  }
}

.parallaxheight{
    height: 50%;
    min-height: 50vh;
}

.heading-line-red {
  position: relative;
  display: inline-block; /* keeps line tight to text */
  padding-bottom: 8px;
}

.heading-line-red::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 85px;          /* line length */
  height: 2px;          /* line thickness */
  background-color: #c62828; /* red (adjust if needed) */
  border-radius: 2px;
}


/* Menu links */
#mainMenu nav ul li a{
  position: relative;
  display: inline-block;   /* keeps the line tight under the text */
  padding-bottom: 8px;     /* space for the line */
  text-decoration: none;
}

/* The red line (only when active) */
#mainMenu nav ul li.active > a::after,
#mainMenu nav ul li a.active::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 22px;            /* line length */
  height: 3px;            /* thickness */
  background: #c62828;    /* red */
  border-radius: 2px;
}
