/* Product detail pages — Jilani reference layout with HTKS brand colors */

body.htks-product-page #banner {
  margin: 0;
  padding: 0;
}

body.htks-product-page .bnr_con {
  min-height: 0;
  padding: 0;
}

body.htks-product-page .non_ban {
  position: relative;
  overflow: hidden;
}

body.htks-product-page .non_ban_img {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  transform: none;
}

body.htks-product-page .non_ban_img figure,
body.htks-product-page .non_ban_img img {
  display: block;
  width: 100%;
  max-height: 420px;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
}

body.htks-product-page .page_title {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  margin: 0;
  padding: 15px 20px;
  text-align: center;
  isolation: isolate;
}

body.htks-product-page .page_title::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  left: 0;
  transform: none;
  background: linear-gradient(90deg, var(--htks-brand-green) 0%, var(--htks-brand-green-light) 100%);
  opacity: 0.78;
  z-index: -1;
}

body.htks-product-page .page_title .h1_title {
  margin: 0;
  padding: 0;
  font-family: var(--secFont);
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff !important;
}

body.htks-product-page #main_area {
  background: #fff;
  padding: 30px 0 60px;
  font-weight: 400;
}

body.htks-product-page .main_con {
  min-height: 300px;
  padding: 0;
}

body.htks-product-page main {
  text-align: left;
  line-height: 1.75;
}

body.htks-product-page #breadcrumbs {
  border-bottom: 1px dashed #c5d5df;
  padding-bottom: 10px;
  margin: 0 0 30px;
}

body.htks-product-page .entry-content .intro_txt {
  width: min(80%, 760px);
  border-bottom: 5px solid var(--htks-brand-green);
  font-family: var(--priFont);
  font-size: clamp(1.35rem, 2.5vw, 1.875rem);
  font-weight: 500;
  text-align: center;
  margin: 0 auto 25px;
  padding: 15px 10px;
  line-height: 1.35;
  color: var(--htks-brand-blue);
}

body.htks-product-page .entry-content > h2,
body.htks-product-page .entry-content h2 {
  font-family: var(--secFont);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin: 30px 0 20px;
  color: var(--htks-brand-blue) !important;
}

body.htks-product-page .entry-content h3 {
  font-family: var(--secFont);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 24px 0 16px;
  color: var(--htks-brand-blue) !important;
}

body.htks-product-page .entry-content > p,
body.htks-product-page .entry-content p {
  margin: 0 0 20px;
  max-width: 100%;
  color: var(--htks-text-body);
}

body.htks-product-page .entry-content ul.bullet {
  padding: 0;
  margin: 0 0 25px;
  list-style: none;
}

body.htks-product-page .entry-content ul.bullet li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  color: var(--htks-text-body);
}

body.htks-product-page .entry-content ul.bullet li::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  left: 3px;
  top: 0.65em;
  background: var(--htks-brand-green);
}

body.htks-product-page .entry-content .cta {
  border: 2px solid var(--htks-brand-green);
  border-radius: 10px;
  padding: 24px 28px;
  max-width: min(100%, 560px);
  margin: 60px auto 0;
  text-align: center;
  box-shadow: 0 5px 10px 5px rgba(0, 0, 0, 0.08);
  background: #fff;
}

body.htks-product-page .entry-content .cta h2 {
  margin: 0 0 12px;
  font-size: 24px;
  color: var(--htks-brand-blue) !important;
}

body.htks-product-page .entry-content .cta p {
  margin: 0;
  color: var(--htks-text-body);
}

body.htks-product-page .entry-content .cta a {
  color: var(--htks-brand-green);
  font-weight: 600;
}

body.htks-product-page .entry-content .cta a:hover {
  color: var(--htks-brand-blue);
}

@media (max-width: 767px) {
  body.htks-product-page .non_ban_img img {
    min-height: 200px;
    max-height: 280px;
  }

  body.htks-product-page .entry-content .intro_txt {
    width: 100%;
    font-size: 1.25rem;
    padding: 12px 0;
  }

  body.htks-product-page .entry-content > h2,
  body.htks-product-page .entry-content h2 {
    font-size: 22px;
  }

  body.htks-product-page .entry-content h3 {
    font-size: 19px;
  }

  body.htks-product-page .entry-content .cta {
    margin-top: 40px;
    padding: 20px 18px;
  }
}
