/* Tabs */
.ctpc-tabs-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  position:relative;
  justify-content: center;
}

.ctpc-tabs{
  display:flex;
  gap: 5vw;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:14px;
  scroll-behavior:smooth;
}

.ctpc-tabs-prev,
.ctpc-tabs-next{
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
}

.ctpc-tabs-prev[disabled],
.ctpc-tabs-next[disabled]{
  opacity:.35;
  cursor:not-allowed;
}

.ctpc-tab{
  background:transparent;
  border:none;
  border-radius: 0;
  padding:10px 11px;
  font-weight:500;
  cursor:pointer;
  opacity:.55;
  border-bottom:2px solid transparent;
  font-size: 18px;
}

.ctpc-tab:hover{
  opacity: 1;
  border-bottom: 2px solid #1a73e8;
  background: #0000ff0f;
}

.ctpc-tab.is-active{
  opacity: 1;
  border-bottom: 2px solid #1a73e8;
  background: #0000ff0f;
}

/* Panels */
.ctpc-panel{ display:none; }
.ctpc-panel.is-active{ display:block; }

/* Banner */
.ctpc-banner-wrap{ position:relative; }

.ctpc-banner-img{
  width:100%;
  height:auto;
  display:block;
  border-radius:16px;
}

/* Banner arrows (show on hover, overlay on banner) */
.ctpc-banner-prev,
.ctpc-banner-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  border-radius:999px;
  background:rgba(0,0,0,.45);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:10;
  user-select:none;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease;
}

.ctpc-banner-prev{ left:12px; }
.ctpc-banner-next{ right:12px; }

.ctpc-banner-wrap:hover .ctpc-banner-prev,
.ctpc-banner-wrap:hover .ctpc-banner-next{
  opacity:1;
  visibility:visible;
}

/* Products area */
.ctpc-products-wrap{ margin-top:14px; }

/* Fix swiper grid slide height */
.ctpc-products-swiper .swiper-slide{
  height:auto;
}

/* Ukamas-like product card */
.ctpc-uk-card{
  background:#fff;
  border-radius:14px;
  padding:18px 16px;
  text-align:center;
  box-shadow:0 12px 26px rgba(0,0,0,.08);
  border:1px solid rgba(0,0,0,.04);
}

.ctpc-uk-img img{
  width:100%;
  height:280px;
  object-fit:contain;
  display:block;
}

.ctpc-uk-sku{
  margin-top:10px;
  font-size:12px;
  color:#777;
  font-weight:800;
  letter-spacing:.2px;
}

.ctpc-uk-title{
  display:block;
  margin-top:8px;
  font-size:14px;
  font-weight:500;
  color:#111;
  text-decoration:none;
  min-height:40px;
}

.ctpc-uk-actions{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:center;
}

.ctpc-uk-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:180px;
  text-align:center;
  padding:10px 14px;
  border-radius:999px;
  font-weight:500;
  text-decoration:none;
  font-size:12px;
  letter-spacing:.3px;
}

.ctpc-uk-btn-outline{
  border:1px solid #d9d9d9;
  color:#111;
  background:#fff;
}

.ctpc-uk-btn-solid{
  background:#0f1a2a;
  color:#fff;
  border:1px solid #0f1a2a;
  cursor:pointer;
}

/* Enquire button base */
.get-quote-btn{
  appearance:none;
  border:none;
}

/* Product dots under cards */
.ctpc-products-pagination{
  text-align:center;
  margin-top:14px;
}

.ctpc-products-pagination .swiper-pagination-bullet{ opacity:.35; }
.ctpc-products-pagination .swiper-pagination-bullet-active{ opacity:1; }

/* View More button */
.ctpc-more-wrap{
  display:flex;
  justify-content:center;
  margin-top:12px;
}

.ctpc-more-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:500;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#111;
  box-shadow:0 10px 20px rgba(0,0,0,.06);
}

@media(max-width:500px){
    .ctpc-banner-img {
    height: 400px !important;
    display: block;
    object-fit: cover;
}
  .ctpc-tabs{
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow:hidden;
    gap:14px;
  }
.ctpc-uk-btn{
    width: 135px;
}
  .ctpc-tab{
    white-space:nowrap;
  }

  .ctpc-uk-img img{
    height:250px;
  }

  .ctpc-uk-card{
    padding:12px 10px;
  }
}
