/* ============================================================
   DERBY LIFESCIENCE — Static product & category page styles
   Builds on style.css / products.css / query.css tokens.
   Green brand palette only — no new colours.
   ============================================================ */

.pd-main { padding: 104px 0 60px; }
.pd-main .container { max-width: 1080px; }
@media (max-width: 768px) { .pd-main { padding: 88px 0 48px; } }

/* ---------- breadcrumb ---------- */
.pd-crumbs { margin-bottom: 22px; }
.pd-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.pd-crumbs li { display: inline-flex; align-items: center; font-size: 13px; }
.pd-crumbs a { color: var(--pr-soft); text-decoration: none; }
.pd-crumbs a:hover { color: var(--pr-deep); }
.pd-crumbs__sep { margin: 0 8px; color: var(--pr-faint); }
.pd-crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- hero ---------- */
.pd-hero {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center;
  padding: 30px; margin-bottom: 12px;
  background: linear-gradient(168deg, #fff 0%, rgba(118,147,130,0.06) 100%);
  border: 1px solid var(--pr-line); border-radius: 24px; box-shadow: var(--pr-sh);
}
.pd-hero__media {
  display: grid; place-items: center; padding: 26px; border-radius: 18px; min-height: 300px;
  background: linear-gradient(168deg, #fdfdfc 0%, #f6f8f6 55%, var(--pr-tint) 100%);
}
.pd-hero__media img { width: auto; height: auto; max-width: 100%; max-height: 340px; object-fit: contain; filter: drop-shadow(0 18px 32px rgba(38,50,41,0.16)); }
.pd-hero__cat {
  display: inline-block; padding: 5px 13px; border-radius: var(--radius-pill);
  background: var(--pr-tint); color: var(--pr-deep); text-decoration: none;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.pd-hero__cat:hover { background: var(--pr-deep); color: #fff; }
.pd-hero__name { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); margin: 14px 0 0; }
.pd-hero__comp { font-size: 16px; line-height: 1.6; color: var(--pr-soft); margin: 12px 0 0; }
.pd-hero__generic { font-size: 14px; color: var(--pr-soft); margin: 8px 0 0; }
.pd-hero__generic b, .pd-hero__marketer b { color: var(--ink); font-weight: 600; }
.pd-hero__marketer { font-size: 14px; color: var(--pr-soft); margin: 10px 0 0; }
.pd-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 760px) { .pd-hero { grid-template-columns: 1fr; gap: 24px; padding: 20px; } }

/* buttons (base .btn comes from products.css) */
.pd-add, .pd-contact { position: relative; }
.pd-contact { background: #fff; color: var(--pr-deep); border: 1.5px solid var(--pr-line); }
.pd-contact:hover { background: var(--pr-tint); border-color: var(--primary); transform: translateY(-2px); }
.pd-add.is-added { background: #fff; color: var(--pr-deep); border: 1.5px solid var(--primary); box-shadow: none; }
.pd-add--just { animation: pd-pop 0.42s var(--ease); }
@keyframes pd-pop { 0%{transform:scale(1)} 40%{transform:scale(0.95)} 70%{transform:scale(1.04)} 100%{transform:scale(1)} }

/* ---------- sections ---------- */
.pd-sec { padding: 30px 0; border-top: 1px solid var(--pr-line); }
.pd-sec h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 16px; }
.pd-sec h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pr-faint); margin: 0 0 10px; }
.pd-prose { font-size: 16px; line-height: 1.75; color: var(--pr-soft); max-width: 70ch; margin: 0; }
.pd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 640px) { .pd-two { grid-template-columns: 1fr; gap: 22px; } }

/* spec list */
.pd-spec { margin: 0; border-top: 1px solid var(--pr-line); }
.pd-spec__row { display: grid; grid-template-columns: 200px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--pr-line); }
.pd-spec__row dt { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pr-faint); }
.pd-spec__row dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.pd-spec__row dd.is-pending { color: var(--pr-faint); font-style: italic; }
@media (max-width: 560px) { .pd-spec__row { grid-template-columns: 1fr; gap: 3px; } }

/* lists */
.pd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pd-list li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.55; color: var(--ink); }
.pd-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.pd-note { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: var(--pr-faint); font-style: italic; }
.pd-rx { margin-top: 16px; padding: 12px 15px; border-radius: var(--radius-md); background: var(--pr-tint); border: 1px solid var(--pr-line); font-size: 12.5px; color: var(--pr-soft); }

/* FAQ */
.pd-faq { display: flex; flex-direction: column; gap: 8px; }
.pd-faq__item { border: 1px solid var(--pr-line); border-radius: 12px; background: #fff; overflow: hidden; }
.pd-faq__item summary { cursor: pointer; padding: 15px 18px; font-size: 15px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.pd-faq__item summary::-webkit-details-marker { display: none; }
.pd-faq__item summary::after { content: "+"; font-size: 20px; color: var(--primary); font-weight: 400; }
.pd-faq__item[open] summary::after { content: "–"; }
.pd-faq__item p { margin: 0; padding: 0 18px 16px; font-size: 14.5px; line-height: 1.65; color: var(--pr-soft); }

/* related */
.pd-related { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 900px) { .pd-related { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .pd-related { grid-template-columns: repeat(2, 1fr); } }
.pd-rel { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 14px 10px; border: 1px solid var(--pr-line); border-radius: 14px; background: #fff; text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.pd-rel:hover { transform: translateY(-4px); box-shadow: var(--pr-sh-hi); border-color: rgba(118,147,130,0.45); }
.pd-rel__img { width: 100%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(168deg, #fdfdfc, var(--pr-tint)); padding: 8px; }
.pd-rel__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-rel__name { font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.pd-rel__form { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pr-faint); }

/* enquiry CTA */
.pd-cta { margin-top: 34px; padding: 40px 34px; text-align: center; border-radius: 24px; background: linear-gradient(160deg, var(--pr-deep), var(--pine)); color: #fff; }
.pd-cta h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 10px; color: #fff; }
.pd-cta p { max-width: 52ch; margin: 0 auto 22px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.82); }
.pd-cta__row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pd-cta .pd-add { background: #fff; color: var(--pr-deep); }
.pd-cta .pd-add.is-added { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.pd-cta .pd-contact { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.pd-cta .pd-contact:hover { background: rgba(255,255,255,0.12); }

.pd-disclaimer { margin-top: 30px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--pr-tint); border: 1px solid var(--pr-line); font-size: 12.5px; line-height: 1.6; color: var(--pr-soft); }

/* ============================================================
   CATEGORY HUB PAGE
   ============================================================ */
.cat-head { padding: 6px 0 24px; max-width: 70ch; }
.cat-head__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); }
.cat-head h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); margin: 10px 0 12px; }
.cat-head p { font-size: 16px; line-height: 1.7; color: var(--pr-soft); margin: 0 0 10px; }
.cat-head__ind { font-size: 13.5px; color: var(--pr-faint); }
.cat-head__ind b { color: var(--pr-deep); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pr-line); border-radius: var(--pr-r); padding: 14px 14px 18px; box-shadow: var(--pr-sh); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease); }
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--pr-sh-hi); border-color: rgba(118,147,130,0.45); }
.cat-card__media { position: relative; display: block; aspect-ratio: 1; border-radius: var(--pr-r-sm); overflow: hidden; padding: 20px; background: linear-gradient(168deg, #fdfdfc, var(--pr-tint)); }
.cat-card__media img { width: 100%; height: 100%; object-fit: contain; }
.cat-card__badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.92); border: 1px solid var(--pr-line); font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pr-deep); }
.cat-card__name { margin: 16px 6px 8px; text-align: center; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.cat-card__name a { color: inherit; text-decoration: none; }
.cat-card__name a:hover { color: var(--pr-deep); }
.cat-card__comp { margin: 0 6px 14px; text-align: center; font-size: 11.5px; line-height: 1.45; color: var(--pr-faint); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card .btn { margin-top: auto; }

@media (prefers-reduced-motion: reduce) {
  .pd-rel, .cat-card, .pd-add--just { transition: none; animation: none; }
}
