.pd-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 30px;
  font-family: Arial, Helvetica, sans-serif;
  color: #26302b;
  box-sizing: border-box;
  background: #fff;
}

.pd-wrap *,
.pd-wrap *::before,
.pd-wrap *::after {
  box-sizing: border-box;
}

/* =========================
   Basic Section Style
   无外框、无分割线
   ========================= */

.pd-section {
  background: #fff;
  border: none !important;
  border-radius: 0 !important;
  padding: 34px 0;
  margin: 0 !important;
  box-shadow: none !important;
}

.pd-title {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 18px;
  color: #26302b;
  font-weight: 700;
}

.pd-small-title {
  font-size: 18px;
  line-height: 1.4;
  margin: 26px 0 16px;
  text-align: center;
  color: #26302b;
  font-weight: 700;
}

.pd-center {
  text-align: center;
}

.pd-subtitle {
  font-size: 15px;
  color: #6b746c;
  margin: 0 0 22px;
  line-height: 1.7;
}

.pd-text {
  font-size: 15px;
  line-height: 1.8;
  color: #4c554e;
  margin: 0;
}

.pd-text-gap {
  margin-top: 14px;
}

/* =========================
   Grid Layout
   ========================= */

.pd-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.pd-core-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 34px;
  align-items: center;
}

.pd-packaging-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 34px;
  align-items: center;
}

/* =========================
   Product Overview 三宫格图片
   左大图 + 右侧上下两张小图
   上下严格对齐，右侧间距更小
   ========================= */

.pd-overview-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  column-gap: 14px;
  margin-top: 28px;
  width: 100%;
  height: 520px;
  align-items: stretch;
}

.pd-overview-main {
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #f4f2ee;
}

.pd-overview-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  row-gap: 6px;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.pd-overview-main img,
.pd-overview-side img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 右侧两张图各占一半高度，扣掉中间 6px 间距 */
.pd-overview-side img {
  height: calc((520px - 6px) / 2) !important;
}

/* =========================
   General Images
   ========================= */

.pd-img,
.pd-packaging-img,
.pd-factory-img {
  width: 100% !important;
  max-width: 100% !important;
  object-position: center center !important;
  border-radius: 10px;
  background: #f4f2ee;
  display: block;
}

.pd-img {
  height: 260px !important;
  object-fit: cover !important;
}

.pd-packaging-img {
  height: 300px !important;
  object-fit: contain !important;
}

.pd-factory-img {
  height: 300px !important;
  object-fit: cover !important;
}

/* =========================
   Badge Style
   ========================= */

.pd-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pd-badge {
  display: inline-flex;
  align-items: center;
  background: #eef3ec;
  color: #627260;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}

/* =========================
   Product Parameters Table
   ========================= */

.pd-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #fff;
}

.pd-parameter-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  color: #26302b;
}

.pd-parameter-table th,
.pd-parameter-table td {
  border: 1px solid #e5e2dc;
  padding: 12px 16px;
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
}

.pd-parameter-table th {
  width: 220px;
  background: #f7f6f3;
  font-weight: 700;
  color: #26302b;
}

.pd-parameter-table td {
  background: #fff;
  color: #4c554e;
}

/* =========================
   List Style
   ========================= */

.pd-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pd-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: #4c554e;
}

.pd-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #627260;
  font-weight: 700;
}

/* =========================
   Packaging Single Image
   ========================= */

.pd-options-block {
  margin-top: 24px;
}

.pd-options-single {
  width: 100%;
  text-align: center;
}

.pd-options-single img {
  width: 100% !important;
  max-width: 760px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto;
  background: #f4f2ee;
}

/* 如果旧代码里还残留 options grid，也强制隐藏 */
.pd-options-grid,
.pd-option-card {
  display: none !important;
}

/* =========================
   Production Process
   ========================= */

.pd-process-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 18px;
  align-items: stretch;
}

.pd-process-grid-8 .pd-card {
  position: relative;
  border: none !important;
  border-radius: 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pd-process-imgbox {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f2ee;
  margin-bottom: 12px;
}

.pd-process-imgbox img {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pd-process-no {
  width: 30px;
  height: 30px;
  background: #627260;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.pd-process-grid-8 .pd-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #26302b;
  margin: 0 0 6px;
  line-height: 1.35;
}

.pd-process-grid-8 .pd-card-text {
  font-size: 13px;
  line-height: 1.55;
  color: #5f675f;
  margin-top: 0 !important;
}

/* =========================
   Quality Certificates
   ========================= */

.pd-quality-section {
  background: #fbfaf7 !important;
  padding: 42px 24px !important;
}

.pd-certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.pd-certificate-card {
  background: transparent;
  padding: 0;
}

.pd-certificate-card img {
  width: 100% !important;
  height: 330px !important;
  object-fit: contain !important;
  display: block;
  background: transparent;
}

/* =========================
   CTA
   ========================= */

.pd-cta {
  background: #627260;
  color: #fff;
  text-align: center;
  border-radius: 0;
  padding: 38px 20px;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.pd-cta h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.3;
  color: #fff;
}

.pd-cta p {
  margin: 0 0 22px;
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.6;
}

.pd-cta a {
  display: inline-block;
  background: #fff;
  color: #627260;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 992px) {
  .pd-grid-2,
  .pd-core-grid,
  .pd-packaging-grid,
  .pd-overview-gallery {
    grid-template-columns: 1fr;
  }

  .pd-overview-gallery {
    height: auto;
    row-gap: 12px;
  }

  .pd-overview-main,
  .pd-overview-side {
    height: auto;
  }

  .pd-overview-side {
    grid-template-rows: auto;
    row-gap: 12px;
  }

  .pd-overview-main img,
  .pd-overview-side img {
    height: auto !important;
  }

  .pd-process-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-certificate-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pd-wrap {
    padding: 0 12px 24px;
  }

  .pd-section {
    padding: 26px 0;
  }

  .pd-title {
    font-size: 24px;
  }

  .pd-process-grid-8 {
    grid-template-columns: 1fr;
  }

  .pd-img,
  .pd-packaging-img,
  .pd-factory-img {
    height: auto !important;
  }

  .pd-process-imgbox {
    height: 220px;
  }

  .pd-parameter-table {
    font-size: 14px;
  }

  .pd-parameter-table th,
  .pd-parameter-table td {
    padding: 12px;
  }

  .pd-parameter-table th {
    width: 145px;
  }

  .pd-cta h2 {
    font-size: 24px;
  }
}