/* ========================================
   Sunway Bio - Product List & Detail
   ======================================== */

/* ---- Product overview cards ---- */
.prod-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
}

.prod-cat-card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(0, 102, 179, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 34, 68, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.prod-cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1;
}

.prod-cat-card:nth-child(1)::before { background: var(--blue); }
.prod-cat-card:nth-child(2)::before { background: var(--orange-light); }
.prod-cat-card:nth-child(3)::before { background: #43a047; }
.prod-cat-card:nth-child(4)::before { background: var(--blue-dark); }

.prod-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 102, 179, 0.14);
}

.prod-cat-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.prod-cat-card-body {
  padding: 22px 20px 26px;
}

.prod-cat-card-body h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.prod-cat-card-body p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 14px;
}

.prod-cat-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.5px;
}

.prod-cat-card:hover .prod-cat-more {
  color: var(--orange);
}

/* ---- Product tables ---- */
.prod-section {
  scroll-margin-top: 120px;
  margin-bottom: 56px;
}

.prod-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(0, 102, 179, 0.12);
}

.prod-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--text-dark);
  margin: 0;
}

.prod-section-head .section-label {
  margin-bottom: 6px;
}

.prod-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 34, 68, 0.05);
  background: var(--white);
}

.prod-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-base);
  min-width: 640px;
}

.prod-table th {
  background: var(--blue-dark);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.prod-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
}

.prod-table tbody tr:last-child td {
  border-bottom: none;
}

.prod-table tbody tr:hover td {
  background: rgba(0, 102, 179, 0.04);
}

.prod-table a {
  color: var(--blue);
  font-weight: 600;
}

.prod-table a:hover {
  color: var(--orange);
}

.prod-table .prod-link-more {
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.prod-cta-bar {
  text-align: center;
  padding: 48px 40px;
  background: linear-gradient(160deg, #0c4f95 0%, var(--blue) 60%, #0077AA 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(0, 102, 179, 0.22);
}

.prod-cta-bar h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 12px;
}

.prod-cta-bar p {
  max-width: 640px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* ---- Product detail shell: gallery + info | sticky TOC ---- */
.pd-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
  padding-top: 28px;
  padding-bottom: 72px;
}

.pd-detail-primary {
  min-width: 0;
}

.pd-detail-main {
  min-width: 0;
}

/* Top trio: gallery | info | TOC — taller, grow with content (no middle scroll) */
.pd-top {
  --pd-top-h: clamp(520px, calc(100vh - 200px), 680px);
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
  padding-bottom: 0;
  border-bottom: none;
  min-height: var(--pd-top-h);
  height: auto;
}

.pd-gallery {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

/* Gallery: main + thumbs + arrows */
.pd-gallery-main {
  flex: 1 1 auto;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f7f9fc;
}

.pd-gallery-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-gallery-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex: 0 0 auto;
}

.pd-gallery-arrow {
  flex: 0 0 34px;
  width: 34px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pd-gallery-arrow svg {
  width: 18px;
  height: 18px;
}

.pd-gallery-arrow:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0, 102, 179, 0.04);
}

.pd-gallery-thumbs {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  min-width: 0;
}

.pd-gallery-thumb {
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  background: #f7f9fc;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.pd-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-gallery-thumb.is-active,
.pd-gallery-thumb:hover {
  border-color: var(--blue);
}

/* Plain text specs — no bottom border lines */
.pd-top-info {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: visible;
}

.pd-top-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0 0 8px;
}

.pd-top-lead {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.55;
}

.pd-spec-text {
  margin: 0 0 14px;
  padding: 0;
  flex: 1 1 auto;
}

.pd-spec-text > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 16px;
  padding: 6px 0;
  border-bottom: none;
  font-size: 15px;
  line-height: 1.55;
}

.pd-spec-text dt {
  margin: 0;
  color: var(--text-dark);
  font-weight: 700;
}

.pd-spec-text dd {
  margin: 0;
  color: var(--text-muted);
}

.pd-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  flex: 0 0 auto;
}

.pd-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 102, 179, 0.25);
  border-radius: var(--radius);
  background: rgba(0, 102, 179, 0.06);
  color: var(--blue-dark);
  font-weight: 700;
  font-style: italic;
  font-size: 13px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pd-action-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.pd-promo {
  margin: 0 0 10px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.pd-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pd-share > span {
  color: var(--text-muted);
  font-size: 13px;
}

.pd-share-icons {
  display: flex;
  gap: 8px;
}

.pd-share-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 102, 179, 0.1);
  color: var(--blue);
}

.pd-share-icons a:hover {
  background: var(--blue);
  color: var(--white);
}

.pd-share-icons svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.pd-quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.pd-quick-contact a {
  color: var(--blue);
}

.pd-toc-aside {
  position: sticky;
  top: 108px;
  z-index: 20;
  align-self: start;
  min-height: clamp(520px, calc(100vh - 200px), 680px);
  height: auto;
}

.pd-toc-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(0, 34, 68, 0.1);
  overflow: hidden;
  min-height: clamp(520px, calc(100vh - 200px), 680px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pd-toc {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: auto;
  flex: 1 1 auto;
}

.pd-toc-title {
  padding: 15px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, #003366 0%, #005a9e 100%);
}

.pd-toc li a {
  display: block;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(0, 34, 68, 0.08);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.pd-toc li:last-child a {
  border-bottom: none;
}

.pd-toc li a:hover,
.pd-toc li a.is-active {
  background: rgba(0, 102, 179, 0.08);
  color: var(--blue);
  font-weight: 600;
  padding-left: 20px;
  box-shadow: inset 3px 0 0 var(--blue);
}

.pd-block {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.pd-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pd-block-alt {
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
  background: rgba(0, 102, 179, 0.03);
  border-radius: var(--radius-lg);
  border-bottom: none;
}

.pd-block .section-head {
  text-align: left;
  margin-bottom: 28px;
}

.pd-block .section-label {
  justify-content: flex-start;
  margin-bottom: 10px;
}

.pd-block .section-label::before,
.pd-block .section-label::after {
  display: none;
}

.pd-block .section-title {
  text-align: left;
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 12px;
  line-height: 1.3;
}

.pd-block .section-sub,
.pd-block .section-sub-global {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  font-size: var(--fs-md);
}

/* Order / Get A Quote */
.pd-order-form {
  margin-top: 8px;
}

.pd-order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.pd-order-grid > label:last-child {
  grid-column: 1 / -1;
}

.pd-order-form label {
  display: block;
}

.pd-order-form label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
}

.pd-order-form input[type="text"],
.pd-order-form input[type="email"],
.pd-order-form input[type="tel"],
.pd-order-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-dark);
  font: inherit;
}

.pd-order-form input:focus,
.pd-order-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.12);
}

.pd-order-want-wrap {
  margin: 0 0 16px;
}

.pd-order-want-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
}

.pd-order-want {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  background: var(--white);
}

.pd-order-want label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.pd-order-msg {
  display: block;
  margin-bottom: 18px;
}

/* CMS rich-text field — styles editor HTML so backend content displays correctly */
.pd-field {
  margin-top: 8px;
}

.pd-richtext {
  color: var(--text-muted);
  font-size: var(--fs-md);
  line-height: 1.8;
}

.pd-richtext > *:first-child {
  margin-top: 0;
}

.pd-richtext > *:last-child {
  margin-bottom: 0;
}

.pd-richtext p {
  margin: 0 0 16px;
}

.pd-richtext h2,
.pd-richtext h3,
.pd-richtext h4 {
  color: var(--text-dark);
  margin: 24px 0 12px;
  line-height: 1.35;
}

.pd-richtext h3 {
  font-size: 20px;
}

.pd-richtext ul,
.pd-richtext ol {
  margin: 0 0 18px;
  padding-left: 1.25em;
}

.pd-richtext li {
  margin-bottom: 8px;
}

.pd-richtext img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 12px 0;
}

.pd-richtext table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: var(--fs-sm);
  line-height: 1.35;
}

.pd-richtext table th,
.pd-richtext table td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
  vertical-align: middle;
}

.pd-richtext table th,
.pd-richtext table tr:first-child td {
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
}

/* CMS header row uses <td><p><strong>…, not <th> */
.pd-richtext table tr:first-child td p,
.pd-richtext table tr:first-child td strong {
  color: var(--white);
}

/* CMS tables wrap text in <p>; kill extra margins so rows stay compact */
.pd-richtext table p {
  margin: 0;
  line-height: 1.35;
}

.pd-richtext table p + p {
  margin-top: 2px;
}

.pd-richtext a {
  color: var(--blue);
}

.pd-richtext .pd-info-grid,
.pd-richtext .pd-card-grid,
.pd-richtext .pd-adv-grid,
.pd-richtext .pd-check-list,
.pd-richtext .pd-num-list {
  padding-left: 0;
}

.pd-richtext .pd-check-list li,
.pd-richtext .pd-num-list li {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .pd-detail-shell {
    grid-template-columns: 1fr;
  }

  .pd-toc-aside {
    position: static;
    order: -1;
    height: auto;
  }

  .pd-toc-box {
    height: auto;
  }

  .pd-top {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .pd-gallery-main img {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .pd-block-alt {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .pd-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .pd-gallery-thumbs .pd-gallery-thumb:nth-child(5) {
    display: none;
  }

  .pd-order-grid,
  .pd-order-want {
    grid-template-columns: 1fr;
  }

  .pd-spec-text > div {
    grid-template-columns: 90px 1fr;
  }
}

/* ---- Detail sections ---- */
.pd-section {
  scroll-margin-top: 110px;
}

.pd-section + .pd-section {
  margin-top: 0;
}

.pd-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.pd-info-grid li {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  box-shadow: 0 4px 14px rgba(0, 34, 68, 0.04);
}

.pd-info-grid strong {
  color: var(--blue);
  min-width: 120px;
  flex-shrink: 0;
}

.pd-info-grid span {
  color: var(--text-dark);
  line-height: 1.55;
}

.pd-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 34, 68, 0.05);
  margin-top: 20px;
}

.pd-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.pd-table th {
  background: var(--blue);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pd-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.pd-table tbody tr:nth-child(even) td {
  background: rgba(0, 102, 179, 0.03);
}

.pd-check-list,
.pd-num-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.pd-check-list li,
.pd-num-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 18px rgba(0, 34, 68, 0.04);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.pd-check-list li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 102, 179, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.pd-num-list li {
  counter-increment: pd-num;
}

.pd-num-list {
  counter-reset: pd-num;
}

.pd-num-list li::before {
  content: counter(pd-num);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.pd-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pd-card {
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 22px rgba(0, 34, 68, 0.06);
  position: relative;
  overflow: hidden;
}

.pd-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.pd-card:nth-child(4n+1)::before { background: var(--blue); }
.pd-card:nth-child(4n+2)::before { background: var(--orange-light); }
.pd-card:nth-child(4n+3)::before { background: #43a047; }
.pd-card:nth-child(4n+4)::before { background: var(--blue-dark); }

.pd-card h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.pd-card p,
.pd-card ul {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin: 0;
}

.pd-card ul {
  padding-left: 18px;
}

.pd-card li {
  margin-bottom: 6px;
}

.pd-adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pd-adv-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 22px rgba(0, 34, 68, 0.06);
}

.pd-adv-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(0, 102, 179, 0.1);
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.pd-adv-card:nth-child(2) .pd-adv-num {
  background: rgba(245, 166, 35, 0.16);
  color: #e69100;
}

.pd-adv-card:nth-child(3) .pd-adv-num {
  background: rgba(0, 163, 217, 0.14);
  color: var(--cyan);
}

.pd-adv-card:nth-child(4) .pd-adv-num {
  background: rgba(67, 160, 71, 0.14);
  color: #2e7d32;
}

.pd-adv-card h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.pd-adv-card p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin: 0;
}

.pd-coop {
  text-align: center;
  padding: 56px 40px;
  background: linear-gradient(160deg, #0c4f95 0%, var(--blue) 60%, #0077AA 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(0, 102, 179, 0.22);
}

.pd-coop h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 16px;
}

.pd-coop p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.pd-coop-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pd-coop .btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.pd-coop .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

@media (max-width: 1200px) {
  .prod-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .pd-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pd-info-grid,
  .pd-card-grid,
  .pd-adv-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .prod-cat-grid {
    grid-template-columns: 1fr;
  }

  .prod-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pd-coop {
    padding: 40px 24px;
  }
}

/* ---- Product category page (e.g. Bioactive) ---- */
.pcat-banner .breadcrumb {
  justify-content: flex-start;
  margin: 16px 0 4px;
  color: rgba(255, 255, 255, 0.72);
}

.pcat-banner.inner-banner--plain {
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  align-items: center;
  padding: 148px 0 72px;
}

.pcat-banner .pcat-banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.pcat-banner .inner-banner-overlay {
  background:
    linear-gradient(105deg, rgba(0, 28, 56, 0.78) 0%, rgba(0, 51, 102, 0.62) 48%, rgba(0, 34, 68, 0.48) 100%);
}

.pcat-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
}

.pcat-banner .breadcrumb a:hover {
  color: var(--white);
}

.pcat-banner .breadcrumb .current {
  color: var(--white);
}

.pcat-banner .breadcrumb .sep {
  color: rgba(255, 255, 255, 0.45);
}

.pcat-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.pcat-banner .pcat-hero-text {
  color: var(--white);
}

.pcat-banner-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.pcat-banner-label::before,
.pcat-banner-label::after {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.pcat-banner .pcat-hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 54px);
  line-height: 1.18;
  margin: 0 0 14px;
  color: var(--white);
  text-align: left;
  max-width: 720px;
}

.pcat-banner-sub {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--fs-md);
  line-height: 1.7;
}

.pcat-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 26px;
  list-style: none;
  padding: 0;
}

.pcat-banner .pcat-hero-tags li {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  font-size: var(--fs-xs);
  color: var(--white);
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.pcat-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pcat-banner .pcat-hero-btns .btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.pcat-banner .pcat-hero-btns .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.pcat-rfq-box {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 20, 50, 0.28);
  overflow: hidden;
}

.pcat-rfq-box--glass {
  padding: 28px 24px;
  background: rgba(20, 48, 82, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 40px rgba(0, 20, 50, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: visible;
}

.pcat-rfq-box--glass .pcat-rfq-title {
  background: transparent;
  border-bottom: none;
  padding: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: none;
  color: var(--white);
  line-height: 1.3;
}

.pcat-rfq-box--glass .pcat-rfq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.pcat-rfq-box--glass .pcat-rfq-list li {
  padding: 14px 16px;
  border-bottom: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.pcat-rfq-box--glass .pcat-rfq-list strong {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 6px;
}

.pcat-rfq-box--glass .pcat-rfq-list span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
}

/* Remove white gap under category banner */
.pcat-main.about-main--plain {
  padding-top: 0;
}

.pcat-rfq-title {
  padding: 16px 22px;
  background: var(--blue-dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.pcat-rfq-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.pcat-rfq-list li {
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
}

.pcat-rfq-list li:last-child {
  border-bottom: none;
}

.pcat-rfq-list strong {
  display: block;
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pcat-rfq-list span {
  display: block;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.65;
}

.pcat-rfq-note {
  margin: 0;
  padding: 14px 22px 18px;
  background: rgba(0, 102, 179, 0.04);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  border-top: 1px solid var(--border);
}

.pcat-matrix-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 34, 68, 0.06);
}

.pcat-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.pcat-matrix th {
  background: var(--blue-dark);
  color: var(--white);
  padding: 20px 16px;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.pcat-matrix td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.55;
  vertical-align: top;
}

.pcat-matrix tbody tr:last-child td {
  border-bottom: none;
}

.pcat-matrix tbody tr:hover td {
  background: rgba(0, 102, 179, 0.04);
}

.pcat-matrix td:first-child {
  color: var(--text-dark);
  font-weight: 600;
  min-width: 160px;
}

.pcat-matrix .pcat-link {
  color: var(--blue);
  font-weight: 600;
  white-space: nowrap;
}

.pcat-matrix .pcat-link:hover {
  color: var(--orange);
}

.pcat-matrix-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
}

.pcat-dosage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pcat-dosage-item {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 34, 68, 0.06);
}

.pcat-dosage-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pcat-dosage-item figcaption {
  padding: 14px 18px 16px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .pcat-dosage-grid {
    grid-template-columns: 1fr;
  }
}

.pcat-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pcat-app-card {
  display: block;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 26px rgba(0, 34, 68, 0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
}

.pcat-app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.pcat-app-grid > li:nth-child(1) .pcat-app-card::before { background: var(--blue); }
.pcat-app-grid > li:nth-child(2) .pcat-app-card::before { background: var(--orange-light); }
.pcat-app-grid > li:nth-child(3) .pcat-app-card::before { background: #43a047; }
.pcat-app-grid > li:nth-child(4) .pcat-app-card::before { background: var(--blue-dark); }

.pcat-app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 102, 179, 0.14);
}

.pcat-app-card h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin: 0 0 12px;
}

.pcat-app-card p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin: 0 0 10px;
}

.pcat-app-card .pcat-app-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}

.pcat-app-more {
  display: inline-flex;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.4px;
}

.pcat-app-card:hover .pcat-app-more {
  color: var(--orange);
}

/* Bottom CTA — figure 2 layout */
.pcat-cta {
  padding: 44px 48px;
  background: linear-gradient(145deg, #1a6fd4 0%, #0c4f95 48%, #063a70 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: 0 20px 44px rgba(6, 58, 112, 0.28);
}

.pcat-cta-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 36px;
  align-items: center;
}

.pcat-cta-copy {
  text-align: left;
}

.pcat-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.28;
  margin: 0 0 12px;
  max-width: 640px;
  color: var(--white);
}

.pcat-cta p {
  max-width: 620px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-md);
  line-height: 1.7;
}

.pcat-cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pcat-cta-points li {
  padding: 7px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.pcat-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pcat-cta .btn-accent {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
}

.pcat-cta .btn-outline-light {
  width: 100%;
  text-align: center;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
}

.pcat-cta .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

@media (max-width: 992px) {
  .pcat-banner.inner-banner--plain {
    min-height: 0;
    padding: 128px 0 56px;
  }

  .pcat-hero,
  .pcat-app-grid,
  .pcat-cta-grid {
    grid-template-columns: 1fr;
  }

  .pcat-cta {
    padding: 36px 24px;
  }

  .pcat-cta-copy {
    text-align: center;
  }

  .pcat-cta h2,
  .pcat-cta p {
    margin-left: auto;
    margin-right: auto;
  }

  .pcat-cta-points {
    justify-content: center;
  }
}
