/* Product detail page — industrial navy / brand blue */
.site-product-page {
  --pd-blue: #153f8f;
  --pd-deep: #093480;
  --pd-ink: #1a2332;
  --pd-muted: #6b7a90;
  --pd-line: rgba(21, 63, 143, 0.12);
  --pd-steel: #eef2f8;
  font-family: "Barlow", "Segoe UI", sans-serif;
  background: #f7f9fc;
}

.site-bread__current {
  color: var(--pd-muted);
  font-weight: 500;
}

.site-product {
  padding-top: 28px;
  padding-bottom: 56px;
}

.site-product__card {
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(15, 45, 107, 0.06);
  padding: 28px 28px 20px;
  margin-bottom: 28px;
}

.site-product__top {
  margin-left: -10px;
  margin-right: -10px;
}

.site-product__gallery.showpic_box,
.site-product__info.proinfo_box {
  margin: 0 0 24px;
  padding-left: 10px;
  padding-right: 10px;
  float: left;
}

.site-product__gallery .bx-wrapper {
  margin-bottom: 12px !important;
  box-shadow: none !important;
  border: 1px solid var(--pd-line) !important;
  border-radius: 4px;
  background: #fff !important;
  position: relative;
}

.site-product__gallery .bx-viewport {
  background: #fff !important;
  box-shadow: none !important;
  border: none !important;
  left: 0 !important;
}

.site-product__gallery .bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -20px;
  width: 40px;
  height: 40px;
  z-index: 50;
  text-indent: 0;
  font-size: 0;
  line-height: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.88) !important;
  background-image: none !important;
  border: 1px solid rgba(21, 63, 143, 0.16);
  box-shadow: 0 2px 10px rgba(15, 45, 107, 0.08);
  opacity: 0.95;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.site-product__gallery .bx-controls-direction a:hover,
.site-product__gallery .bx-controls-direction a:focus {
  background-color: #fff !important;
  border-color: rgba(21, 63, 143, 0.35);
  box-shadow: 0 4px 14px rgba(15, 45, 107, 0.14);
  opacity: 1;
  transform: none;
}

.site-product__gallery .bx-controls-direction a.disabled {
  display: none;
}

.site-product__gallery .bx-prev {
  left: 10px;
}

.site-product__gallery .bx-next {
  right: 10px;
}

.site-product__gallery .bx-prev::before,
.site-product__gallery .bx-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #5a6f94;
  border-right: 2px solid #5a6f94;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.site-product__gallery .bx-controls-direction a:hover::before,
.site-product__gallery .bx-controls-direction a:focus::before {
  border-color: #153F8F;
}

.site-product__gallery .bx-prev::before {
  margin: -4px 0 0 -2px;
  transform: rotate(-135deg);
}

.site-product__gallery .bx-next::before {
  margin: -4px 0 0 -6px;
  transform: rotate(45deg);
}

.site-product__gallery .showpic_flash {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-product__gallery .showpic_flash li {
  text-align: center;
}

.site-product__gallery .example-image-link {
  display: block;
  padding: 20px;
  line-height: 0;
}

.site-product__gallery .example-image {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.site-product__thumbs#pic-page {
  text-align: left;
  margin-top: 12px;
}

.site-product__thumbs#pic-page a {
  display: inline-block;
  margin: 0 6px 6px 0;
  line-height: 0;
  border: 1px solid var(--pd-line);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.site-product__thumbs#pic-page a img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 4px;
  border: none !important;
  margin: 0;
  background: #fff;
}

.site-product__thumbs#pic-page a:hover,
.site-product__thumbs#pic-page a.active {
  border-color: var(--pd-blue);
}

.site-product__info .product_h1 {
  margin: 0 0 18px;
  padding: 0 0 14px;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--pd-ink);
  border-bottom: 2px solid var(--pd-blue);
}

.site-product__specs.product_info {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.site-product__specs li {
  display: flex;
  gap: 12px;
  margin: 0 0 8px;
  padding: 10px 12px;
  line-height: 1.5;
  font-size: 14px;
  color: var(--pd-ink);
  background: var(--pd-steel);
  border-left: 3px solid var(--pd-blue);
  border-radius: 0 3px 3px 0;
}

.site-product__label {
  flex: 0 0 110px;
  font-weight: 600;
  color: var(--pd-muted);
}

.site-product__value {
  flex: 1 1 auto;
  min-width: 0;
}

.site-product__value a {
  color: var(--pd-blue);
  font-weight: 600;
}

.site-product__value a:hover {
  color: var(--pd-deep);
  text-decoration: none;
}

.site-product__actions {
  padding-top: 18px;
  border-top: 1px solid var(--pd-line);
}

.site-product__share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 16px;
}

.site-product__share-label {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-muted);
}

.site-product__share-list {
  display: flex;
  gap: 8px;
}

.site-product__share-list a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--pd-line);
  background: #fff;
  color: var(--pd-ink);
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-product__share-list a:hover {
  background: var(--pd-blue);
  border-color: var(--pd-blue);
  color: #fff;
  text-decoration: none;
}

.site-product__share-list .icon-x {
  width: 12px;
  height: 12px;
}

.site-product__cta form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-product__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.site-product__btn--primary {
  background: linear-gradient(180deg, #1a4fa8 0%, var(--pd-blue) 100%);
  color: #fff !important;
  border: none;
}

.site-product__btn--primary:hover {
  background: var(--pd-deep);
  color: #fff !important;
  transform: translateY(-1px);
}

.site-product__btn--ghost {
  background: #fff;
  color: var(--pd-ink) !important;
  border: 1px solid var(--pd-line);
}

.site-product__btn--ghost:hover {
  border-color: var(--pd-blue);
  color: var(--pd-blue) !important;
}

.site-product__block {
  clear: both;
  padding-top: 8px;
}

.site-product__block-title {
  margin: 0 0 16px;
  border-bottom: 1px solid var(--pd-line);
}

.site-product__block-title span {
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: -1px;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pd-ink);
  border-bottom: 2px solid var(--pd-blue);
}

.site-product__content.product_con {
  clear: both;
  margin: 0;
  padding: 0;
  border: none;
  line-height: 1.7;
  color: #3a4556;
  font-size: 15px;
  overflow: auto;
}

.site-product__content img {
  max-width: 100%;
  height: auto;
}

.site-product__tags.tags {
  margin: 20px 0 8px;
  font-size: 13px;
  color: var(--pd-muted);
}

.site-product__tags a {
  margin: 0 6px 6px 0;
  padding: 4px 10px;
  line-height: 1.4;
  color: var(--pd-ink);
  background: var(--pd-steel);
  border-radius: 3px;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-product__tags a:hover {
  background: var(--pd-blue);
  color: #fff;
}

.site-product__nav.point {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 8px;
  padding-top: 18px;
  border-top: 1px solid var(--pd-line);
  overflow: hidden;
}

.site-product__nav .to_prev,
.site-product__nav .to_next {
  float: none !important;
  width: auto;
  max-width: 48%;
  padding: 0 !important;
}

.site-product__nav .to_prev a,
.site-product__nav .to_next a,
.site-product__nav span a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pd-ink) !important;
  background: var(--pd-steel);
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-product__nav.point span.to_prev a:hover,
.site-product__nav.point span.to_next a:hover,
.site-product__nav span a:hover {
  background: var(--pd-blue) !important;
  color: #fff !important;
  text-decoration: none;
}

.site-product__nav .to_next {
  margin-left: auto;
  text-align: right;
}

/* Inquiry form */
.site-product__inquiry {
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(15, 45, 107, 0.06);
  padding: 24px 28px 12px;
  margin-bottom: 28px;
}

.site-product__section-head.right_head h2 {
  height: auto;
  margin: 0 0 20px;
  padding: 0 0 12px;
  line-height: 1.25;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pd-ink);
  border-bottom: 1px solid var(--pd-line);
}

.site-product__section-head.right_head h2 span {
  display: inline-block;
  height: auto;
  padding-bottom: 12px;
  margin-bottom: -13px;
  border-bottom: 2px solid var(--pd-blue);
}

.site-product__form .control-label {
  font-weight: 600;
  color: var(--pd-muted);
  font-size: 13px;
}

.site-product__form .form-control {
  border: 1px solid var(--pd-line);
  border-radius: 3px;
  box-shadow: none;
  height: 40px;
}

.site-product__form textarea.form-control {
  height: auto;
}

.site-product__form .form-control:focus {
  border-color: rgba(21, 63, 143, 0.4);
  box-shadow: 0 0 0 3px rgba(21, 63, 143, 0.08);
}

.site-product__submit {
  background: linear-gradient(180deg, #1a4fa8 0%, var(--pd-blue) 100%) !important;
  border: none !important;
  border-radius: 3px !important;
  color: #fff !important;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 22px;
}

.site-product__submit:hover {
  background: var(--pd-deep) !important;
}

.site-product__reset {
  border: 1px solid var(--pd-line) !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: var(--pd-ink) !important;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 18px;
}

/* Related */
.site-product__related {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(21, 63, 143, 0.05), transparent 55%),
    #fff;
  border: 1px solid var(--pd-line);
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(15, 45, 107, 0.06);
  padding: 28px 28px 22px;
  overflow: hidden;
}

.site-product__related::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pd-blue) 0%, #4a7fd4 40%, transparent 75%);
  pointer-events: none;
}

.site-product__related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.site-product__related .site-product__section-head.right_head {
  flex: 1 1 auto;
  min-width: 0;
}

.site-product__related .site-product__section-head.right_head h2 {
  margin-bottom: 16px;
}

.site-product__related-more {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pd-blue) !important;
  transition: gap 0.2s ease, color 0.2s ease;
}

.site-product__related-more:hover {
  color: var(--pd-deep) !important;
  gap: 10px;
  text-decoration: none;
}

.site-product__related-grid.product_list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
  padding: 0;
  clear: both;
}

.site-product__related-item.product_img {
  float: none !important;
  width: 25% !important;
  padding: 10px !important;
  min-height: 0 !important;
  margin: 0 0 4px !important;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.site-product__related-media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--pd-line);
  border-radius: 4px 4px 0 0;
  background: #f7f9fc;
  line-height: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-product__related-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--pd-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
  z-index: 1;
}

.site-product__related-item:hover .site-product__related-media {
  border-color: rgba(21, 63, 143, 0.3);
  background: #fff;
  box-shadow: 0 -4px 18px rgba(15, 45, 107, 0.08);
}

.site-product__related-item:hover .site-product__related-media::after {
  transform: scaleX(1);
}

.site-product__related-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
  margin: 0;
  max-width: none;
  max-height: none;
  opacity: 1 !important;
  transition: transform 0.45s ease;
}

.site-product__related-item:hover .site-product__related-media img {
  transform: scale(1.07);
  opacity: 1 !important;
}

.site-product__related-item .product_title {
  margin: 0;
  padding: 12px 10px 14px;
  min-height: calc(1.4em * 2 + 26px);
  height: auto;
  border: 1px solid var(--pd-line);
  border-top: none;
  border-radius: 0 0 4px 4px;
  text-align: center;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-product__related-item:hover .product_title {
  border-color: rgba(21, 63, 143, 0.3);
  box-shadow: 0 10px 22px rgba(15, 45, 107, 0.1);
}

.site-product__related-item .product_title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "Barlow", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--pd-ink);
  transition: color 0.2s ease;
}

.site-product__related-item:hover .product_title a {
  color: var(--pd-blue);
}

@media screen and (max-width: 991px) {
  .site-product__related-item.product_img {
    width: 50% !important;
  }

  .site-product__info .product_h1 {
    font-size: 24px;
  }
}

@media screen and (max-width: 767px) {
  .site-product {
    padding-top: 18px;
    padding-bottom: 40px;
  }

  .site-product__card,
  .site-product__inquiry,
  .site-product__related {
    padding: 18px 16px 12px;
  }

  .site-product__related-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-product__related-more {
    margin-bottom: 12px;
  }

  .site-product__gallery.showpic_box,
  .site-product__info.proinfo_box {
    width: 100%;
    float: none;
  }

  .site-product__label {
    flex: 0 0 90px;
  }

  .site-product__cta form {
    flex-direction: column;
  }

  .site-product__btn {
    justify-content: center;
    width: 100%;
  }

  .site-product__nav .to_prev,
  .site-product__nav .to_next {
    max-width: 100%;
    width: 100%;
  }

  .site-product__nav .to_next {
    margin-left: 0;
    text-align: left;
  }

  .site-product__related-item.product_img {
    padding: 6px !important;
  }

  .site-product__related-media img {
    padding: 10px;
  }
}
