/* ================================================================
   Nova-style Product Detail Page  (nova-pro-detail.css)
   Replicated from nova-china.com product detail layout
   ================================================================ */

/* ===== Banner ===== */
.npd-banner {
  position: relative;
  overflow: hidden;
  height: 540px;
  /* fallback banner when litpic is empty */
  background: #1b1b1b url('/skin/images/banner1.jpg') center/cover no-repeat;
  background-size: cover;
  background-position: center;
  margin-top: 70px;
}
/* inline style="background-image:url(...)" overrides when litpic exists */
.npd-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.npd-banner__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background: -webkit-linear-gradient(bottom, #f5f5f5 0%, rgba(245,245,245,0.85) 22%, transparent 100%);
  background: linear-gradient(to top, #f5f5f5 0%, rgba(245,245,245,0.85) 22%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* ===== Page wrapper (proinfo_f equivalent) ===== */
.npd-pf {
  background: #f5f5f5;
}
.npd-container {
  max-width: 1300px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* ===== Title + Intro section (proinfo_t equivalent) ===== */
.npd-pt {
  position: relative;
  top: -100px;
  margin-bottom: -100px;
  z-index: 3;
}
.npd-crumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 30px;
}
.npd-crumb a {
  color: #999;
  text-decoration: none;
  -webkit-transition: color 0.15s;
          transition: color 0.15s;
}
.npd-crumb a:hover { color: #E8890C; }
.npd-crumb span {
  display: inline-block;
  margin: 0 8px;
  color: #ccc;
}
.npd-crumb em {
  font-style: normal;
  color: #555;
}
.npd-heading {
  font-size: 60px;
  font-weight: bold;
  color: #1a1a1a;
  line-height: 1.2;
  margin: 0 0 30px;
  padding-bottom: 26px;
  position: relative;
}
.npd-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: #E8890C;
}
.npd-intro {
  font-size: 18px;
  color: #666;
  line-height: 2.1;
  max-width: 860px;
  margin: 0;
}

/* ===== Dark content section (proinfo2 equivalent) ===== */
.npd-dark {
  background-color: #2b2c30;
  padding: 86px 0 96px;
  margin-top: 86px;
  position: relative;
}
.npd-dark__body {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 2.0;
}
/* Reset editor content for dark bg */
.npd-dark__body p,
.npd-dark__body li {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 2.0;
}
.npd-dark__body h1,
.npd-dark__body h2,
.npd-dark__body h3,
.npd-dark__body h4,
.npd-dark__body h5 {
  color: #fff;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 14px;
}
.npd-dark__body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 28px auto;
  border-radius: 3px;
}
.npd-dark__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
}
.npd-dark__body table th {
  background: rgba(232,137,12,0.18);
  color: #E8890C;
  padding: 14px 18px;
  border: 1px solid rgba(232,137,12,0.3);
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
.npd-dark__body table td {
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
}
.npd-dark__body table tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}
.npd-dark__body ul,
.npd-dark__body ol {
  padding-left: 22px;
}
.npd-dark__body strong,
.npd-dark__body b {
  color: #fff;
  font-weight: 600;
}
.npd-dark__body a {
  color: #E8890C;
  text-decoration: none;
}
.npd-dark__body a:hover { text-decoration: underline; }

/* ===== Related products (solu02-3 equivalent) ===== */
.npd-related {
  background: #f3f3f3;
  padding: 90px 0 110px;
  overflow: hidden;
}
.npd-rel-title {
  font-size: 40px;
  font-weight: bold;
  color: #28282b;
  text-align: center;
  padding-bottom: 22px;
  position: relative;
  margin: 0 auto 54px;
  width: -webkit-fit-content;
  width: fit-content;
}
.npd-rel-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: #E8890C;
}
.npd-rel-swiper {
  overflow: hidden;
  position: relative;
}
.npd-rel-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.npd-rel-card__img {
  overflow: hidden;
  background: #e8e8e8;
  position: relative;
  padding-top: 75%; /* 4:3 ratio */
}
.npd-rel-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  -webkit-transition: -webkit-transform 0.35s ease;
          transition: transform 0.35s ease;
}
.npd-rel-card:hover .npd-rel-card__img img {
  -webkit-transform: scale(1.06);
          transform: scale(1.06);
}
.npd-rel-card h4 {
  font-size: 18px;
  font-weight: bold;
  color: #28282b;
  text-align: center;
  margin: 18px 0 0;
  padding: 0;
  line-height: 1.5;
  -webkit-transition: color 0.2s;
          transition: color 0.2s;
}
.npd-rel-card:hover h4 { color: #E8890C; }

/* Swiper nav buttons */
.npd-rel-swiper .swiper-button-prev,
.npd-rel-swiper .swiper-button-next {
  width: 46px !important;
  height: 46px !important;
  margin-top: -23px !important;
  background-size: 13px 22px !important;
  background-color: rgba(255,255,255,0.9) !important;
  border: 1px solid #ddd !important;
  border-radius: 50% !important;
  -webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.1);
          box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  -webkit-transition: all 0.2s;
          transition: all 0.2s;
}
.npd-rel-swiper .swiper-button-prev:hover,
.npd-rel-swiper .swiper-button-next:hover {
  background-color: #E8890C !important;
  border-color: #E8890C !important;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .npd-banner { height: 420px; }
  .npd-heading { font-size: 44px; }
  .npd-intro { font-size: 17px; }
  .npd-rel-title { font-size: 32px; }
}
@media (max-width: 768px) {
  .npd-banner { height: 260px; margin-top: 70px; }
  .npd-banner__fade { height: 50%; }
  .npd-pt { top: -50px; margin-bottom: -50px; }
  .npd-heading { font-size: 26px; }
  .npd-heading::after { width: 40px; height: 3px; }
  .npd-intro { font-size: 14px; line-height: 1.8; }
  .npd-dark { padding: 60px 0 70px; margin-top: 60px; }
  .npd-container { padding-left: 20px; padding-right: 20px; }
  .npd-related { padding: 60px 0 70px; }
  .npd-rel-title { font-size: 24px; }
  .npd-dark__body p,
  .npd-dark__body li { font-size: 14px; }
}
