
html{
  scroll-behavior:smooth;
}

body{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}


.enquiry h1{
  font-size:32px;
  margin-bottom:25px;
}

/* buttons wrap properly */
.enquiry .btn{
  margin:8px;
}



  .recommended-strip{
  padding:33px 0 42px;
  color:#fff;
  text-align:center;
      margin-top: -20px;
}

/* TITLE */
.rec-title{
  font-size:26px;
  margin-bottom:40px;
  font-weight:500;
  opacity:.9;
}

/* GRID INSTEAD OF SLIDER */
.rec-slider{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:40px;
  max-width:900px;
  margin:0 auto;
  margin-top: -50px;
}

/* ITEM */
.rec-item{
  position:relative;
  padding:3px 8px;
  border-radius:14px;
  background:rgba(255,255,255,0.03);
  backdrop-filter:blur(6px);
  text-decoration:none;
  color:#fff;
  transition:.3s;
  
}

/* BADGE */
.rec-badge{
  position:absolute;
  top:10px;
  left:10px;
  font-size:11px;
  padding:13px 10px;
  border-radius:20px;
  background:#228d35;
  color:#000;
  font-weight:600;
  z-index: 2;
}

/* TITLE */
.rec-item h4{
  
  font-size:16px;
  font-weight:600;
  
}
.rec-item:hover{
    color: #000;
}
.rec-item p{
  font-size:13px;
  opacity:.7;
  margin-top:-25px;
}

/* IMAGE */
.rec-item img{
  width:100%;
  height:180px;
  object-fit:contain;
  margin-top:10px;
  filter:drop-shadow(0 15px 25px rgba(0,0,0,.6));
  transition:.4s;
}

/* HOVER */
.rec-item:hover img{

    background:rgba(255,255,255,0.06);
  transform:translateY(-6px);
}

/* TEXT */
.rec-item span{
  display:block;
  margin-top:12px;
  font-size:15px;
  opacity:.85;
}


/* ===== NEW HERO PARALLAX ===== */
.product-hero-parallax{
  position:relative;
  height:55vh;
  overflow:hidden;
}

/* actual parallax layer */
.hero-bg{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:1;
    will-change: transform;   /* smooth rendering */
}
.hero-bg::before{
      content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}
/* content (center text) */
.hero-inner{
  position:relative;
  z-index:2;

  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
}

.hero-title{
  color:#fff;
  font-size:38px;
  text-align:center;
}

/* ===== TABS (NOT PARALLAX) ===== */
.hero-tabs-wrap{
  position:absolute;
  bottom:60px; /* sits above divider */
  width:100%;
  z-index:3;

  display:flex;
  justify-content:center;
}

.hero-tabs{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;

  padding:10px 16px;
  border-radius:40px;

   background:rgba(0,0,0,0.6); /* remove blur */
  backdrop-filter:blur(10px);
}

/* buttons */
.hero-tabs a{
  padding:10px 18px;
  font-size:14px;
  border-radius:30px;
  white-space:nowrap;
}


/* CATEGORY STRIP */
.product-category-strip{
  background:#fff;
  padding:20px 0;
 box-shadow:0 4px 20px rgba(0,0,0,0.04);
  margin-top:-10px;
  position:relative;
}
/* right fade */
.product-category-strip::after{
  content:'';
  position:absolute;
  right:0;
  top:0;
  width:30px;
  height:100%;
  pointer-events:none;

  background:linear-gradient(to left, #fff, transparent);
}
/* tabs */
.category-tabs{
  display:flex;
  justify-content:center; 
  align-items:center; 
  gap:14px;
  flex-wrap:wrap;
  scroll-behavior:smooth;
}

/* buttons */
.category-tabs a{
  padding:10px 20px;
  border-radius:30px;
  font-size:14px;
font-weight:600;
  color:#333;
  text-decoration:none;

  background:#f3f3f3;
  transition:.3s;
}

/* active */
.category-tabs a.active{
  background:#000;
  color:#fff;
}

/* hover */
.category-tabs a:hover{
   background:#e5e5e5;
}

.category-tabs::after{
  content:'';
  min-width:10px;
}

@media(max-width:768px){
  .rec-slider{
    grid-template-columns:repeat(3, 1fr); /* 🔥 2 items */
    gap:15px;
    padding:19px 8px;
  }

  .rec-item img{
    height:120px;
  }
.rec-badge{
        top: 25px;
        left: 0px;
        font-size: 7px;
        padding: 7px 4px;
        border-radius: 19px;
        background: #228d35;
        color: #000;
        font-weight: 600;
        z-index: 2;
}


  .rec-item p{
    margin-top:-25px;
    font-size:7px;
  }
  .rec-title{
    font-size:20px;
    margin-bottom:25px;
  }

  .rec-item{
    padding:0px;
  }

}
/* ===== MOBILE ===== */
@media(max-width:768px){

  .hero-tabs{
    flex-direction:column;
    width:260px;
    border-radius:20px;
  }

  .hero-tabs a{
    width:100%;
    text-align:center;
  }

  .hero-title{
    font-size:26px;
  }

}


@media(max-width:768px){

  .product-category-strip{
    padding:10px 0;
  }

  .category-tabs{
    display:flex !important;
    flex-wrap:nowrap !important;     /* 🔥 MOST IMPORTANT */
    justify-content:flex-start !important;

    overflow-x:auto;
    gap:8px;
    padding:0 12px;

    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }

  .category-tabs a{
    flex:0 0 auto;
    scroll-snap-align:start;

    padding:6px 12px;      /* 🔥 smaller */
    font-size:11px;        /* 🔥 compact */
    border-radius:18px;

    white-space:nowrap;
  }

  .category-tabs a.fade-left,
  .category-tabs a.fade-right,
  .category-tabs a.fade-top,
  .category-tabs a.fade-bottom,
  .category-tabs a.product-animate,
  .category-tabs a.show{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
    animation:none !important;
  }

/* scrollbar visible + styled */
.category-tabs::-webkit-scrollbar{
  height:4px;
}

.category-tabs::-webkit-scrollbar-track{
  background:transparent;
}

.category-tabs::-webkit-scrollbar-thumb{
  background:#ccc;
  border-radius:10px;
}

.category-tabs::-webkit-scrollbar-thumb:hover{
  background:#999;
}
}


@media(max-width:768px){
  .product-hero-parallax{
    height:30vh;
    min-height:200px;
  }
}

@media(max-width:768px){
  .hero-bg{
    background-attachment:scroll;  /* 🔥 important */
  }
  .parallax-bottom{
     background-attachment:scroll;  /* 🔥 important */
  }
}

/* mobile */
@media(max-width:768px){
    .enquiry{
    padding-top:40px;  /* 🔥 push content down */
  }

  .enquiry h1{
    font-size:22px;
  }

  .enquiry .btn{
    display:block;
    width:100%;
    max-width:280px;
    margin:10px auto;
  }
}
