/* ===============================
   PRODUCT CARD (SINGLE)
================================ */

.cps-box{
  display:flex;
  gap:32px;
  background:#ffffff;
  padding:32px;
  border-radius:18px;
  box-shadow:0 20px 45px rgba(0,0,0,0.08);
  transition:transform .3s ease, box-shadow .3s ease;
}

.cps-box:hover{
  transform:translateY(-4px);
  box-shadow:0 28px 60px rgba(0,0,0,0.12);
}

/* LEFT IMAGE CARD */
.cps-left{
  width:45%;
  background:#f8fafc;
  border-radius:16px;
  padding:14px;
  overflow:hidden;
}

.cps-left img{
  width:100%;
  border-radius:14px;
  transition:transform .4s ease;
  cursor:zoom-in;
}

 /* ===============================
   PRODUCT IMAGE BEHAVIOR
================================ */

.cps-main-wrap{
  position:relative;
  overflow:hidden;
  touch-action: pan-y; /* allow vertical scroll */
}

.cps-main-img{
  width:100%;
  display:block;
  user-select:none;
  -webkit-user-drag:none;
  cursor:zoom-in;
}

 

/* NO ZOOM ON THUMBNAILS */
.cps-thumbs img{
  transform:none !important;
  cursor:pointer;
}


/* THUMBNAILS */
.cps-thumbs{
  display:flex;
  gap:10px;
  margin-top:14px;
}

.cps-thumbs img{
  width:68px;
  height:68px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
  border:2px solid transparent;
  transition:.3s;
}

.cps-thumbs img:hover{
  border-color:#2563eb;
  transform:translateY(-2px);
}

/* RIGHT CONTENT CARD */
.cps-right{
  width:55%;
}

.cps-right h2{
  font-size:26px;
  font-weight:700;
  margin-bottom:14px;
  color:#0f172a;
}

.cps-right p{
  font-size:16px;
  line-height:1.7;
  color:#475569;
}

/* ===============================
   BUTTONS
================================ */

.cps-btn,
.cps-wa{
  display: inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 18px;
  border-radius:12px;
  font-weight:600;
  font-size:18px;
  text-decoration:none;
  transition:.3s ease;
}

 

.cps-right .cps-btn + .cps-wa{
  margin-top:14px;
}



.cps-btn{
  background:linear-gradient(135deg,#2563eb,#1e40af);
  color:#fff;
  box-shadow:0 10px 22px rgba(37,99,235,.35);
}

.cps-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(37,99,235,.45);
}

.cps-wa{
  background:linear-gradient(135deg,#25D366,#16a34a);
  color:#fff;
  margin-left:12px;
  box-shadow:0 10px 22px rgba(34,197,94,.35);
}

.cps-wa:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(34,197,94,.45);
}

/* ===============================
   PRODUCT GRID (CARD VIEW)
================================ */

.cps-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
  margin:40px 0;
}

.cps-grid-item{
  background:#fff;
  border-radius:18px;
  padding:18px;
  box-shadow:0 16px 40px rgba(0,0,0,.08);
  transition:.3s ease;
  text-align:center;
}

.cps-grid-item:hover{
  transform:translateY(-6px);
  box-shadow:0 28px 60px rgba(0,0,0,.12);
}

.cps-grid-item img{
  width:100%;
  border-radius:14px;
  margin-bottom:14px;
}

.cps-grid-item h3{
  font-size:18px;
  font-weight:600;
  color:#0f172a;
  margin-bottom:14px;
}

.cps-grid-btn{
  display:inline-block;
  padding:10px 20px;
  border-radius:10px;
  background:#2563eb;
  color:#fff;
  font-weight:600;
  text-decoration:none;
  transition:.3s;
}

.cps-grid-btn:hover{
  background:#1e40af;
}

/* ===============================
   POPUP (ENQUIRY)
================================ */

/* =====================================
   FULL SCREEN POPUP (NO BLINK, NO SCROLL)
===================================== */

.cps-popup{
  position:fixed;
  inset:0;
  width:100vw;
  height:100vh;
  background:rgba(15,23,42,0.85);

  /* DO NOT USE display:none */
  opacity:0;
  visibility:hidden;

  display:flex;
  align-items:center;
  justify-content:center;

  z-index:999999;
  transition:opacity .25s ease, visibility .25s ease;
}

/* ACTIVE STATE */
.cps-popup.cps-active{
  opacity:1;
  visibility:visible;
}

/* POPUP BOX */
.cps-popup-box{
  background:#ffffff;
  padding:28px;
  border-radius:20px;
  width:100%;
  max-width:420px;
  max-height:90vh;
  overflow-y:auto;

  box-shadow:0 30px 70px rgba(0,0,0,.35);
  transform:scale(.96);
  transition:transform .25s ease;
}

/* SCALE IN */
.cps-popup.cps-active .cps-popup-box{
  transform:scale(1);
}

/* LOCK SCROLL (IMPORTANT) */
html.cps-popup-open,
body.cps-popup-open{
  overflow:hidden !important;
  height:100%;
}


@keyframes cpsPop{
  from{transform:scale(.9);opacity:0}
  to{transform:scale(1);opacity:1}
}

.cps-popup-box h3{
  margin-bottom:16px;
  font-size:20px;
  font-weight:700;
}

.cps-popup-box input,
.cps-popup-box textarea{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  margin-bottom:12px;
  font-size:14px;
}

.cps-popup-box input:focus,
.cps-popup-box textarea:focus{
  outline:none;
  border-color:#2563eb;
}

.cps-close{
  float:right;
  font-size:24px;
  cursor:pointer;
  color:#64748b;
}

.cps-timer{
  margin-top:16px;
  padding:12px;
  background:#ecfdf5;
  color:#065f46;
  border-radius:10px;
  font-size:14px;
  text-align:center;
}

/* ===============================
   MOBILE
================================ */

@media(max-width:768px){
  .cps-box{
    flex-direction:column;
    padding:22px;
  }
  .cps-left,
  .cps-right{
    width:100%;
  }
  .cps-wa{
    margin-left:0;
    margin-top:10px;
  }
}

/* ===============================
   IMAGE LIGHTBOX (ENHANCED)
================================ */

.cps-image-popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999999;
}

.cps-image-popup img{
  max-width:90vw;
  max-height:90vh;
  border-radius:12px;
  box-shadow:0 20px 60px rgba(0,0,0,.6);
}

/* CLOSE BUTTON */
.cps-image-close{
  position:absolute;
  top:20px;
  right:20px;
  font-size:32px;
  color:#fff;
  cursor:pointer;
  line-height:1;
}


/* ===============================
   SCROLLABLE THUMBNAILS
================================ */

.cps-thumbs{
  display:flex;
  gap:10px;
  margin-top:14px;
  overflow-x:auto;
  padding-bottom:6px;
}

.cps-thumbs::-webkit-scrollbar{
  height:6px;
}

.cps-thumbs::-webkit-scrollbar-thumb{
  background:#cbd5f5;
  border-radius:10px;
}

.cps-thumbs img{
  flex:0 0 auto;
}

/* ================================
   CPS PRODUCTS – CAROUSEL VIEW
================================ */

.cps-carousel {
  display: flex !important;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 5px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar (optional) */
.cps-carousel::-webkit-scrollbar {
  height: 6px;
}
.cps-carousel::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

/* Each product card */
.cps-carousel .cps-product-card {
  min-width: 260px;
  max-width: 260px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  scroll-snap-align: start;
  text-align: center;
}

/* Image */
.cps-carousel .cps-product-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
}

 