/* Theme-clone safeguards (external so CSP style-src 'self' always applies). */
.teamdescdata,
[class*="teamdescdata"],
.teamdescdata[hidden],
[class*="teamdescdata"][hidden] {
  display: none !important;
}

/* Breadcrumb: avoid Bootstrap float clipping / misalignment on flex crumbs */
.cst_breadcrumb .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.cst_breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
}
.cst_breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  float: none;
  padding-right: 0.5rem;
  content: ">";
  color: #6c757d;
}

/* Enquiry math CAPTCHA */
.captcha-row {
  gap: 10px;
}
.captcha-equation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #222;
}
.captcha-image {
  display: none;
}
.captcha-refresh {
  width: 42px;
  height: 42px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}
.captcha-input {
  max-width: 120px;
}
  border: 1px solid #ddd;
  background: #fff;
  color: #e02529;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.captcha-refresh:hover,
.captcha-refresh:focus {
  border-color: #e02529;
  outline: none;
}
.captcha-input {
  max-width: 160px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.captcha-error {
  color: #e02529;
  font-size: 13px;
  margin: 0;
}

/* Enquiry form validation messages */
.js-enquiry-form .error,
.js-enquiry-form .field-error,
.js-enquiry-form label.error,
.js-enquiry-form p.error {
  color: #e02529;
  font-size: 13px;
  margin: 8px 0 0;
  display: block;
}
.js-enquiry-form .error[hidden],
.js-enquiry-form .field-error[hidden] {
  display: none !important;
}
.js-enquiry-form .cstInput.is-invalid,
.js-enquiry-form .captcha-input.is-invalid {
  border-color: #e02529;
}
.js-enquiry-form .cstInput.is-invalid:focus,
.js-enquiry-form .captcha-input.is-invalid:focus {
  box-shadow: 0 0 0 0.15rem rgba(224, 37, 41, 0.15);
}

/*
 * Variants: blue bar + portrait stone thumb overlapping top AND bottom.
 * WP: .slide-item padding creates room; .proThumb_img is absolute + vertically centered.
 */
.section_proSlide .pro_slider {
  overflow-x: auto;
  overflow-y: hidden;
}
.section_proSlide .pro_slider .slide-item {
  display: inline-block;
  vertical-align: bottom;
  padding: 2.604vw 0;
  box-sizing: border-box;
}
.section_proSlide .slideBx {
  position: relative;
  display: block;
  box-sizing: border-box;
  min-height: 0;
  /* Keep bar shorter than thumb so stone peeks above + below */
  padding: 0.9vw 1.781vw;
}
.section_proSlide .slideBx .proTxt {
  line-height: 1.3;
}
.section_proSlide .proThumb_img {
  position: absolute;
  top: 50%;
  right: 1.563vw;
  transform: translate(0, -50%);
  z-index: 2;
  width: 4.948vw;
  max-width: 55px;
  min-width: 42px;
  /* Featured stone crop ~318×510 — taller than the blue bar */
  aspect-ratio: 318 / 510;
  height: auto;
  border-radius: 0.26vw;
  overflow: hidden;
  pointer-events: none;
}
.section_proSlide .proThumb_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 767px) {
  .section_proSlide .pro_slider .slide-item {
    padding: 22px 0;
  }
  .section_proSlide .slideBx {
    padding: 10px 15px;
  }
  .section_proSlide .proThumb_img {
    width: 55px;
    max-width: 55px;
    right: 10px;
  }
}
