/* JD Energy detail reference, adapted to SHENDE content and typography. */
.pd-jd-detail .pd-jd-details-band { background: #e8ebee; padding-block: 88px 44px; }
.pd-jd-detail .pd-jd-why-band { background: #fff; padding-block: 88px 88px; }
.pd-jd-detail .pd-jd-section-title { text-align: center; margin-bottom: 42px; }
.pd-jd-detail .pd-jd-section-title h2 { margin: 0; font: 550 clamp(34px, 3.1vw, 48px) / 1.2 var(--text-type); letter-spacing: 0; }
.pd-jd-detail .pd-jd-detail-cards { --pd-card-active-grow: 3.7; display: flex; gap: 16px; min-width: 0; }
.pd-jd-detail .pd-jd-detail-card { flex: 1 1 0; position: relative; min-width: 0; height: 420px; border-radius: 16px; background: #e8ebee; color: #173b56; overflow: hidden; transition: flex .75s cubic-bezier(.2,.7,.3,1), background-color .4s, color .4s; }
.pd-jd-detail .pd-jd-card-quality { --pd-card-image: url('../assets/quality.webp'); --pd-card-position: 55% center; }
.pd-jd-detail .pd-jd-card-supply { --pd-card-image: url('../assets/factory.jpg'); --pd-card-position: center 55%; }
.pd-jd-detail .pd-jd-card-processing { --pd-card-image: url('../assets/process.webp'); --pd-card-position: 55% center; }
.pd-jd-detail .pd-jd-card-delivery { --pd-card-image: url('../assets/products/why-choose-us/export-logistics.webp'); --pd-card-position: 65% center; }
.pd-jd-detail .pd-jd-detail-card.is-active {
  flex: var(--pd-card-active-grow) 1 0;
  color: #fff;
  background-color: #102c43;
  background-image: linear-gradient(110deg,rgba(6,28,46,.86) 0%,rgba(8,33,53,.78) 56%,rgba(8,33,53,.70) 100%), var(--pd-card-image);
  background-position: center, var(--pd-card-position,center);
  background-size: cover;
  background-repeat: no-repeat;
}
.pd-jd-detail .pd-jd-card-heading { margin: 0; height: 100%; font: inherit; }
.pd-jd-detail .is-active .pd-jd-card-heading { height: 176px; }
.pd-jd-detail .pd-jd-card-heading button { position: relative; display: block; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; color: inherit; text-align: left; font: inherit; letter-spacing: 0; cursor: pointer; }
.pd-jd-detail .pd-jd-card-icon { position: absolute; top: 27px; left: 50%; transform: translateX(-50%); width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #f1f5fa; }
.pd-jd-detail .pd-jd-card-icon img { width: 26px; height: 26px; }
.pd-jd-detail .pd-jd-card-icon img[src$='footer/grid.svg'] { filter: invert(28%) sepia(66%) saturate(1016%) hue-rotate(181deg) brightness(91%) contrast(95%); }
.pd-jd-detail .is-active .pd-jd-card-icon { left: auto; right: 28px; transform: none; background: #2853a0; }
.pd-jd-detail .is-active .pd-jd-card-icon img { filter: brightness(0) invert(1); }
.pd-jd-detail .pd-jd-card-label { position: absolute; left: 18px; right: 18px; bottom: 70px; text-align: center; font-size: 19px; line-height: 1.35; font-weight: 600; }
.pd-jd-detail .is-active .pd-jd-card-label { left: 32px; right: 28px; top: 123px; bottom: auto; text-align: left; font-size: 27px; }
.pd-jd-detail .pd-jd-card-number { position: absolute; left: 0; right: 0; bottom: 28px; text-align: center; color: #8b9cac; font-size: 12px; }
.pd-jd-detail .is-active .pd-jd-card-number { left: 32px; right: auto; top: 49px; bottom: auto; font-size: 14px; color: #b9ccdf; }
.pd-jd-detail .pd-jd-card-content { padding: 0 32px 30px; font-size: 15px; line-height: 1.75; animation: pd-jd-card-enter .6s cubic-bezier(.22,1,.36,1) .12s both; }
/* Keep line wrapping stable while the outer card animates to this final width.
   The existing card overflow clips the reveal; compact cards remain fluid. */
@media (min-width: 901px) {
  .pd-jd-detail .pd-jd-detail-cards .pd-jd-card-content { box-sizing: border-box; width: var(--pd-card-copy-width,100%); }
}
/* Hold the initial copy reveal until the cards enter the viewport. */
html.pd-content-motion .pd-jd-detail .pd-jd-detail-cards[data-pd-reveal="pending"] .pd-jd-card-content { animation-play-state: paused; }
.pd-jd-detail .pd-jd-card-content > p { margin: 0 0 20px; color: #d2dfeb; }
.pd-jd-detail .pd-jd-card-facts { display: grid; gap: 0; margin: 0; }
.pd-jd-detail .pd-jd-card-facts > div { display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px; padding-block: 11px; border-bottom: 1px solid #ffffff26; }
.pd-jd-detail .pd-jd-card-facts dt { font-size: 14px; color: #b5cbe0; }
.pd-jd-detail .pd-jd-card-facts dd { margin: 0; font-size: 15px; color: #fff; }
.pd-jd-detail .pd-jd-form-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-bottom: 22px; }
.pd-jd-detail .pd-jd-form-options button { min-height: 40px; padding: 8px; border: 1px solid #ffffff52; border-radius: 4px; background: transparent; color: #e4edf5; font: 500 13px / 1.3 var(--text-type); letter-spacing: 0; }
.pd-jd-detail .pd-jd-form-options button:hover { border-color: #fff; }
.pd-jd-detail .pd-jd-form-options button[aria-pressed='true'] { background: #fff; border-color: #fff; color: #173b56; }
.pd-jd-detail .pd-jd-card-content .pd-form-inquiry { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 14px; }
.pd-jd-detail .pd-form-inquiry img { transform: rotate(90deg); filter: brightness(0) invert(1); }
.pd-jd-detail .pd-jd-processing { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 28px; margin: 0; padding: 22px 0 0 17px; border-top: 1px solid #ffffff26; list-style: square; }
.pd-jd-detail .pd-jd-processing li { padding-left: 4px; }
.pd-jd-detail .pd-jd-parameters { padding-top: 88px; }
.pd-jd-detail .pd-jd-parameter-panel { padding: 40px 42px 24px; background: #fff; border-radius: 16px; }
.pd-jd-detail .pd-jd-parameter-scroll { max-height: 600px; overflow: auto; scrollbar-width: thin; scrollbar-color: #2853a0 #e8ebee; overscroll-behavior-x: contain; }
.pd-jd-detail .pd-jd-parameter-table { width: 100%; table-layout: fixed; border-collapse: collapse; font: 400 15px / 1.6 var(--text-type); letter-spacing: 0; color: #365065; }
.pd-jd-detail .pd-jd-parameter-table col { width: 25%; }
.pd-jd-detail .pd-jd-parameter-table :is(th,td) { padding: 17px 24px; border: 0; text-align: left; vertical-align: middle; overflow-wrap: anywhere; }
.pd-jd-detail .pd-jd-parameter-table th { font-weight: 500; }
.pd-jd-detail .pd-jd-parameter-table td { color: #14344d; font-weight: 600; }
.pd-jd-detail .pd-jd-parameter-table tr > :nth-child(3) { border-left: 1px solid #dfe4e8; }
.pd-jd-detail .pd-jd-param-row:nth-child(even) { background: #eceff2; }
.pd-jd-detail .pd-jd-param-row:nth-child(odd) { background: #f8f9fa; }
.pd-jd-detail .pd-jd-parameter-table .pd-jd-param-group th { padding-block: 22px; text-align: center; color: #2853a0; font-size: 18px; font-weight: 650; background: #fff; }
.pd-jd-detail .pd-jd-param-group:not(:first-child) th { border-top: 1px solid #e1e6ea; }
.pd-jd-detail .pd-jd-parameter-table .pd-composition-track { margin-top: 9px; max-width: 140px; height: 3px; border-radius: 0; background: #dbe3e9; }
.pd-jd-detail .pd-jd-parameter-table .pd-composition-track i { border-radius: 0; background: #7599b8; }
.pd-jd-detail .pd-jd-parameter-foot { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid #e4e9ee; margin-top: 24px; padding-top: 18px; }
.pd-jd-detail .pd-jd-parameter-foot p { margin: 0; font-size: 13px; line-height: 1.6; color: #647c90; }
.pd-jd-detail .pd-jd-parameter-foot .pd-profile-download { padding: 0; min-height: 40px; width: auto; margin: 0; display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; background: none; color: #2853a0; font-size: 14px; white-space: nowrap; }
.pd-jd-detail .pd-applications-heading { position: relative; justify-content: center; padding-block: 80px 42px; }
.pd-jd-detail .pd-applications-heading h2 { font-size: clamp(34px,3.1vw,48px); text-align: center; }
.pd-jd-detail .pd-applications-controls { position: absolute; right: 0; }
.pd-jd-detail :is(.pd-jd-card-heading button,.pd-jd-form-options button,.pd-jd-parameter-scroll):focus-visible { outline: 2px solid #7aaaf0; outline-offset: -4px; }
@keyframes pd-jd-card-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) and (min-width: 901px) {
  .pd-jd-detail .pd-jd-detail-cards { gap: 12px; }
  .pd-jd-detail .pd-jd-card-label { font-size: 16px; left: 12px; right: 12px; }
  .pd-jd-detail .is-active .pd-jd-card-label { font-size: 24px; }
  .pd-jd-detail .pd-jd-card-content { font-size: 14px; padding-inline: 24px; }
  .pd-jd-detail .pd-jd-card-facts dd { font-size: 14px; }
  .pd-jd-detail .pd-jd-parameter-panel { padding: 32px 28px 22px; }
  .pd-jd-detail .pd-jd-parameter-table :is(th,td) { padding: 16px 18px; }
}
@media (max-width: 900px) {
  .pd-jd-detail .pd-jd-details-band { padding-block: 56px 27px; }
  .pd-jd-detail .pd-jd-why-band { padding-block: 27px 56px; }
  .pd-jd-detail .pd-jd-section-title { margin-bottom: 30px; }
  .pd-jd-detail .pd-jd-detail-cards { overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #9fb3c5 transparent; padding-bottom: 14px; }
  .pd-jd-detail .pd-jd-detail-card.is-active { flex: 0 0 80%; min-height: 415px; height: auto; scroll-snap-align: start; transition: none; }
  .pd-jd-detail .pd-jd-card-content { min-height: 225px; animation-delay: 0s; }
  .pd-jd-detail .pd-jd-parameters { padding-top: 54px; }
  .pd-jd-detail .pd-jd-parameter-panel { padding: 22px 20px 18px; }
  .pd-jd-detail .pd-jd-parameter-table :is(th,td) { padding: 15px 16px; }
  .pd-jd-detail .pd-applications-heading { flex-direction: column; gap: 22px; padding-block: 56px 30px; }
  .pd-jd-detail .pd-applications-controls { position: static; margin: 0; }
}
@media (max-width: 760px) {
  .pd-jd-detail .pd-jd-section-title h2,.pd-jd-detail .pd-applications-heading h2 { font-size: 30px; }
  .pd-jd-detail .pd-jd-detail-card.is-active { flex-basis: 96%; border-radius: 12px; }
  .pd-jd-detail .is-active .pd-jd-card-heading { height: 180px; }
  .pd-jd-detail .pd-jd-card-icon { width: 48px; height: 48px; }
  .pd-jd-detail .is-active .pd-jd-card-icon { top: 22px; right: 22px; }
  .pd-jd-detail .pd-jd-card-icon img { width: 23px; height: 23px; }
  .pd-jd-detail .is-active .pd-jd-card-label { top: 101px; left: 23px; right: 20px; font-size: 23px; }
  .pd-jd-detail .is-active .pd-jd-card-number { top: 39px; left: 23px; }
  .pd-jd-detail .pd-jd-card-content { padding: 0 23px 28px; font-size: 14px; }
  .pd-jd-detail .pd-jd-card-facts > div { gap: 14px; }
  .pd-jd-detail .pd-jd-card-facts :is(dt,dd) { font-size: 14px; }
  .pd-jd-detail .pd-jd-form-options { gap: 8px; }
  .pd-jd-detail .pd-jd-form-options button { font-size: 12px; }
  .pd-jd-detail .pd-jd-parameter-panel { border-radius: 12px; padding: 12px 12px 18px; }
  .pd-jd-detail .pd-jd-parameter-scroll { max-height: 580px; }
  .pd-jd-detail .pd-jd-parameter-table { display: block; font-size: 14px; }
  .pd-jd-detail .pd-jd-parameter-table :is(colgroup,col,caption) { display: none; }
  .pd-jd-detail .pd-jd-parameter-table tbody { display: block; }
  .pd-jd-detail .pd-jd-parameter-table tr { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .pd-jd-detail .pd-jd-parameter-table :is(th,td) { padding: 15px 12px; min-width: 0; }
  .pd-jd-detail .pd-jd-parameter-table tr > :nth-child(3) { border-left: 0; }
  .pd-jd-detail .pd-jd-param-row > :nth-child(n+3) { border-top: 1px solid #dfe5ea; }
  .pd-jd-detail .pd-jd-parameter-table .pd-jd-param-group th { grid-column: 1 / -1; padding: 20px 5px; font-size: 15px; }
  .pd-jd-detail .pd-jd-empty { display: none; }
  .pd-jd-detail .pd-jd-parameter-foot { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 16px 5px 0; }
  .pd-jd-detail .pd-jd-parameter-foot p { font-size: 12px; }
  .pd-jd-detail .pd-jd-parameter-foot .pd-profile-download { font-size: 13px; min-height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-jd-detail .pd-jd-detail-card { transition: none; }
  .pd-jd-detail .pd-jd-card-content { animation: none; }
  .pd-jd-detail .pd-jd-detail-cards { scroll-behavior: auto; }
}

/* Parameters precede the expandable product-detail cards. */
.pd-jd-detail .pd-jd-details-band > .pd-jd-parameters:first-child { padding-top: 0; }
.pd-jd-detail .pd-jd-details-band > .pd-jd-parameters + .pd-jd-details { padding-top: 88px; }
@media (max-width: 900px) {
  .pd-jd-detail .pd-jd-details-band > .pd-jd-parameters + .pd-jd-details { padding-top: 54px; }
}

/* The source product description is its own Item / Specification table. */
.pd-jd-detail .pd-jd-description-table col { width: 50%; }
.pd-jd-detail .pd-jd-description-table thead th { color: #2853a0; font-weight: 650; background: #edf1f5; border-bottom: 1px solid #dfe4e8; font-size: 18px; }
.pd-jd-detail .pd-jd-description-table .pd-jd-param-row:nth-child(odd) { background: #eceff2; }
.pd-jd-detail .pd-jd-description-table .pd-jd-param-row:nth-child(even) { background: #f8f9fa; }
.pd-jd-detail .pd-jd-chemistry-block { padding-top: 64px; }
@media (max-width: 900px) {
  .pd-jd-detail .pd-jd-chemistry-block { padding-top: 48px; }
}
@media (max-width: 760px) {
  .pd-jd-detail .pd-jd-description-table thead { display: block; }
}

/* Source-style description table: two equal columns and all rows in page flow. */
.pd-jd-detail .pd-jd-description-panel .pd-jd-parameter-scroll { max-height: none; overflow: visible; }
.pd-jd-detail .pd-jd-description-table :is(th,td) { border: 1px solid #dfe4e8; }
.pd-jd-detail .pd-jd-description-table tr { grid-template-columns: repeat(2,minmax(0,1fr)); }

/* Switch between the source description and full chemical composition below one heading. */
.pd-jd-detail .pd-jd-parameter-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0 0 30px; }
.pd-jd-detail .pd-jd-parameter-tab { min-height: 52px; padding: 14px 24px; border: 1px solid #bccbd8; border-radius: 4px; background: #fff; color: #31536d; font: 650 14px / 1.4 var(--text-type); letter-spacing: 0; text-align: center; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.pd-jd-detail .pd-jd-parameter-tab:hover { border-color: #2853a0; background: #edf2f8; }
.pd-jd-detail .pd-jd-parameter-tab[aria-selected="true"] { border-color: #2853a0; background: #2853a0; color: #fff; }
.pd-jd-detail .pd-jd-parameter-tab:focus-visible { outline: 2px solid #2853a0; outline-offset: 4px; }
.pd-jd-detail .pd-jd-table-panels > .pd-jd-chemistry-block { padding-top: 0; }
@media (max-width: 600px) {
  .pd-jd-detail .pd-jd-parameter-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 22px; }
  .pd-jd-detail .pd-jd-parameter-tab { min-width: 0; min-height: 58px; padding: 12px 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .pd-jd-detail .pd-jd-parameter-tab { transition: none; } }
@media (prefers-reduced-motion: no-preference) {
  .pd-jd-detail .has-switched-parameter-tab [data-parameter-panel]:not([hidden]) {
    animation: pd-jd-parameter-fade-in 260ms ease-out;
  }
}
@keyframes pd-jd-parameter-fade-in {
  from { opacity: .45; }
  to { opacity: 1; }
}

/* Two separate chemistry cards with a clear central gutter. */
.pd-jd-detail .pd-jd-chemistry-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.pd-jd-detail .pd-jd-chemistry-card { min-width: 0; overflow: hidden; border: 1px solid #e3e8ed; border-radius: 0; background: #f8f9fa; }
.pd-jd-detail .pd-jd-chemistry-table col { width: 50%; }
.pd-jd-detail .pd-jd-chemistry-table thead tr { height: 52px; }
.pd-jd-detail .pd-jd-chemistry-table thead th { padding-block: 14px; color: #2853a0; font-weight: 650; background: #edf1f5; border-bottom: 1px solid #dfe4e8; }
.pd-jd-detail .pd-jd-chemistry-table .pd-jd-param-row { height: 70px; }
@media (max-width: 900px) {
  .pd-jd-detail .pd-jd-chemistry-cards { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .pd-jd-detail .pd-jd-chemistry-table .pd-jd-chemistry-empty { display: none; }
}
@media (max-width: 760px) {
  .pd-jd-detail .pd-jd-chemistry-table thead { display: block; }
  .pd-jd-detail .pd-jd-chemistry-table .pd-jd-param-row { height: auto; min-height: 70px; }
}
