/* =========================================================
   Machine PDP — IndiaMART / TradeIndia commercial layout
   Body only (header/footer unchanged)
   ========================================================= */

.pdm {
  /* Brand */
  --pdm-green: #0b5d4b;
  --pdm-green-dark: #084a3c;
  --pdm-amber: #f59e0b;
  --pdm-amber-hover: #d97706;
  --pdm-wa: #128c7e;

  /* Light mode surfaces */
  --pdm-bg: #f4f6f5;
  --pdm-card: #ffffff;
  --pdm-ink: #1a2422;
  --pdm-muted: #5b6b67;
  --pdm-border: #e3e8e6;
  --pdm-label-bg: #f0f3f2;
  --pdm-chip-bg: #eef6f3;
  --pdm-focus: rgba(11, 93, 75, 0.28);
  --pdm-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --pdm-overlay: rgba(0, 0, 0, 0.55);

  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--pdm-ink);
  background: var(--pdm-bg);
  font-size: 14px;
  line-height: 1.45;
  padding: 0 var(--site-gutter, 40px) 0;
}

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

.pdm-page {
  width: 100%;
  max-width: var(--site-max, 1360px);
  margin: 0 auto;
  padding: 16px 0 40px;
  box-sizing: border-box;
}

/* ---------- Buttons ---------- */
.pdm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.pdm-btn:focus-visible {
  outline: 3px solid var(--pdm-focus);
  outline-offset: 2px;
}

.pdm-btn-amber {
  background: var(--pdm-amber);
  color: #1a1408;
  border-color: var(--pdm-amber);
}

.pdm-btn-amber:hover {
  background: var(--pdm-amber-hover);
  border-color: var(--pdm-amber-hover);
}

.pdm-btn-wa {
  background: var(--pdm-wa);
  color: #fff;
  border-color: var(--pdm-wa);
}

.pdm-btn-wa:hover {
  filter: brightness(1.05);
}

.pdm-btn-call {
  background: transparent;
  color: var(--pdm-green);
  border: 1.5px solid var(--pdm-green);
}

.pdm-btn-call:hover {
  background: var(--pdm-chip-bg);
}

.pdm-btn-outline {
  background: transparent;
  color: var(--pdm-ink);
  border: 1px solid var(--pdm-border);
  margin-top: 12px;
}

.pdm-btn-outline:hover {
  border-color: var(--pdm-green);
  color: var(--pdm-green);
}

.pdm-btn-sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
  background: var(--pdm-card);
  border: 1px solid var(--pdm-green);
  color: var(--pdm-green);
}

.pdm-btn-sm:hover {
  background: var(--pdm-chip-bg);
}

.pdm-btn-block {
  width: 100%;
}

/* ---------- 1. Breadcrumb ---------- */
.pdm-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--pdm-muted);
  margin-bottom: 14px;
}

.pdm-crumb a {
  color: var(--pdm-green);
  text-decoration: none;
}

.pdm-crumb a:hover {
  text-decoration: underline;
}

.pdm-crumb [aria-current="page"] {
  color: var(--pdm-ink);
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 2. Hero 3-col ---------- */
.pdm-hero {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.pdm-gallery,
.pdm-info,
.pdm-enquire-card,
.pdm-card,
.pdm-trust-strip,
.pdm-app-card,
.pdm-supplier-card {
  background: var(--pdm-card);
  border: 1px solid var(--pdm-border);
  border-radius: 8px;
  box-shadow: var(--pdm-shadow);
}

.pdm-gallery {
  padding: 10px;
  position: relative;
}

.pdm-gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--pdm-label-bg);
  border-radius: 6px;
  overflow: hidden;
}

.pdm-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--pdm-label-bg);
}

.pdm-gallery-main.is-placeholder img {
  object-fit: cover;
}

.pdm-photo-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(26, 36, 34, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

.pdm-zoom {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pdm-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.pdm-zoom svg {
  width: 18px;
  height: 18px;
}

.pdm-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.pdm-thumb {
  aspect-ratio: 1;
  border: 1px solid var(--pdm-border);
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  background: var(--pdm-label-bg);
  cursor: pointer;
  min-height: 44px;
}

.pdm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdm-thumb.is-active {
  border-color: var(--pdm-green);
  box-shadow: 0 0 0 1px var(--pdm-green);
}

.pdm-thumb:focus-visible {
  outline: 3px solid var(--pdm-focus);
}

/* Center info */
.pdm-info {
  padding: 16px 18px;
}

.pdm-catline {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--pdm-muted);
}

.pdm-h1 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--pdm-ink);
}

.pdm-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 12px;
}

.pdm-stars {
  color: var(--pdm-amber);
  letter-spacing: 1px;
}

.pdm-muted {
  color: var(--pdm-muted);
}

.pdm-dot {
  color: var(--pdm-border);
}

.pdm-verified {
  color: var(--pdm-green);
  font-weight: 600;
}

.pdm-price-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  padding: 12px 14px;
  background: var(--pdm-chip-bg);
  border: 1px solid var(--pdm-border);
  border-radius: 8px;
  margin-bottom: 12px;
}

.pdm-price-label {
  width: 100%;
  font-size: 12px;
  color: var(--pdm-muted);
  font-weight: 600;
}

.pdm-price-value {
  font-size: 20px;
  color: var(--pdm-green);
}

.pdm-moq {
  font-size: 13px;
  color: var(--pdm-muted);
}

.pdm-quick-spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 12px;
}

.pdm-quick-spec th,
.pdm-quick-spec td {
  border: 1px solid var(--pdm-border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.pdm-quick-spec th {
  width: 38%;
  background: var(--pdm-label-bg);
  font-weight: 600;
  color: var(--pdm-muted);
}

.pdm-trust-chips {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pdm-trust-chips li {
  font-size: 12px;
  font-weight: 600;
  color: var(--pdm-green);
  background: var(--pdm-chip-bg);
  border: 1px solid var(--pdm-border);
  border-radius: 999px;
  padding: 6px 10px;
}

.pdm-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdm-cta-row .pdm-btn {
  flex: 1 1 140px;
}

/* Enquiry card */
.pdm-enquire {
  position: sticky;
  top: 72px;
  align-self: start;
}

.pdm-enquire-card {
  padding: 16px;
}

.pdm-enquire-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
}

.pdm-enquire-sub {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--pdm-muted);
}

.pdm-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdm-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pdm-field label {
  font-size: 12px;
  font-weight: 600;
}

.pdm-req {
  color: #b42318;
  font-weight: 700;
  margin-left: 1px;
}

.pdm-opt {
  color: var(--pdm-muted);
  font-weight: 500;
  font-size: 11px;
  margin-left: 2px;
}

.pdm-field input,
.pdm-field select {
  height: 42px;
  border: 1px solid var(--pdm-border);
  border-radius: 8px;
  padding: 0 11px;
  font: inherit;
  font-size: 14px;
  color: var(--pdm-ink);
  background: var(--pdm-card);
}

.pdm-field input:focus,
.pdm-field select:focus {
  outline: 3px solid var(--pdm-focus);
  border-color: var(--pdm-green);
}

.pdm-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pdm-mobile {
  display: flex;
  align-items: stretch;
  height: 42px;
  border: 1px solid var(--pdm-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pdm-mobile:focus-within {
  outline: none;
  border-color: var(--pdm-green);
  box-shadow: 0 0 0 3px var(--pdm-focus);
}

.pdm-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 48px;
  padding: 0 12px;
  background: var(--pdm-label-bg);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--pdm-ink);
  border-right: 1px solid var(--pdm-border);
  user-select: none;
}

.pdm-mobile input {
  appearance: none;
  -webkit-appearance: none;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  background: transparent !important;
  color: var(--pdm-ink);
}

.pdm-mobile input::placeholder {
  color: #8a9a96;
}

.pdm-field.is-invalid .pdm-mobile {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.16);
}

.pdm-field.is-invalid > input,
.pdm-field.is-invalid > select {
  border-color: #b42318;
}

.pdm-err,
.pdm-form-error {
  margin: 0;
  font-size: 12px;
  color: #b42318;
  min-height: 0;
}

.pdm-form-note {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--pdm-muted);
}

.pdm-success {
  text-align: center;
  padding: 12px 0 4px;
}

.pdm-success-ico {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #e8f8ef;
  color: #128c7e;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}

.pdm-success-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
}

/* ---------- 3. Trust strip ---------- */
.pdm-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 14px;
  overflow: hidden;
}

.pdm-trust-item {
  padding: 14px 16px;
  border-right: 1px solid var(--pdm-border);
}

.pdm-trust-item:last-child {
  border-right: 0;
}

.pdm-trust-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.pdm-trust-item span {
  font-size: 12px;
  color: var(--pdm-muted);
}

/* ---------- 4. Sticky tabs ---------- */
.pdm-tabs {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  gap: 0;
  overflow-x: auto;
  background: var(--pdm-card);
  border: 1px solid var(--pdm-border);
  border-radius: 8px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.pdm-tabs::-webkit-scrollbar {
  display: none;
}

.pdm-tabs a {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--pdm-muted);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.pdm-tabs a:hover {
  color: var(--pdm-ink);
}

.pdm-tabs a.is-active {
  color: var(--pdm-green);
  border-bottom-color: var(--pdm-green);
}

.pdm-tabs a:focus-visible {
  outline: 3px solid var(--pdm-focus);
  outline-offset: -3px;
}

/* ---------- Body + supplier ---------- */
.pdm-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}

.pdm-main {
  min-width: 0;
}

.pdm-section {
  margin-bottom: 22px;
}

.pdm-h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
}

.pdm-lede {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--pdm-muted);
}

.pdm-card {
  padding: 0;
  overflow: hidden;
}

.pdm-table-wrap {
  overflow-x: auto;
}

/* Compare table */
.pdm-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.pdm-compare th,
.pdm-compare td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--pdm-border);
  text-align: left;
  vertical-align: middle;
}

.pdm-compare thead th {
  background: var(--pdm-label-bg);
  font-weight: 700;
  font-size: 12px;
  color: var(--pdm-muted);
}

.pdm-compare tr.is-popular {
  background: rgba(245, 158, 11, 0.08);
}

.pdm-model {
  font-weight: 700;
}

.pdm-badge-pop {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--pdm-amber);
  color: #1a1408;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}

/* Spec table zebra */
.pdm-spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.pdm-spec th,
.pdm-spec td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--pdm-border);
  text-align: left;
  vertical-align: top;
}

.pdm-spec th {
  width: 36%;
  background: var(--pdm-label-bg);
  font-weight: 600;
  color: var(--pdm-muted);
}

/* CMS product description — Quora-style lists; headings with no underline/border */
.pdm-desc {
  padding: 16px 18px 20px;
  font-size: 14px;
  line-height: 1.55;
  color: #333;
  overflow-x: auto;
}

.pdm-desc :where(p, li, td, th, span, a, strong, b, em, i) {
  font-size: 14px;
  line-height: 1.55;
  color: #333;
}

.pdm-desc p {
  margin: 0 0 1.25em;
  text-align: justify;
}

.pdm-desc :where(h1, h2, h3, h4, h5, h6) {
  margin: 1.5em 0 0.75em;
  padding: 0;
  padding-bottom: 0;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none;
  background: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  color: #333;
  line-height: 1.55;
}

.pdm-desc > :first-child {
  margin-top: 0;
}

.pdm-desc > :last-child {
  margin-bottom: 0;
}

.pdm-desc ul,
.pdm-desc ol {
  display: block;
  list-style: none;
  margin: 14px 0;
  padding: 4px 0 4px 2px;
  grid-template-columns: none;
  gap: 0;
}

.pdm-desc ul > li,
.pdm-desc ol > li {
  position: relative;
  display: block;
  margin: 0 0 12px;
  padding: 0 0 0 22px;
  background: none;
  border: 0;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: 1.55;
  font-size: 14px;
  color: #333;
}

.pdm-desc ul > li:last-child,
.pdm-desc ol > li:last-child {
  margin-bottom: 0;
}

.pdm-desc ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a1a1a;
}

.pdm-desc ol {
  counter-reset: pd-q;
}

.pdm-desc ol > li {
  counter-increment: pd-q;
  padding-left: 28px;
}

.pdm-desc ol > li::before {
  content: counter(pd-q) ".";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  color: #333;
  text-align: left;
  background: none;
}

.pdm-desc a {
  color: #05c5b6;
  font-weight: 600;
}

.pdm-desc a:hover {
  color: #04998d;
}

.pdm-desc strong,
.pdm-desc b {
  color: #09192A;
}

.pdm-desc table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0;
  background: #fff;
}

.pdm-desc :where(td, th) {
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #eef2f5;
  text-align: left;
  vertical-align: top;
}

.pdm-desc tr:last-child :where(td, th) {
  border-bottom: 0;
}

.pdm-desc th,
.pdm-desc td:first-child {
  font-weight: 600;
  background: #f7fafb;
  color: #4a5b68;
}

.pdm-desc img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.pdm-spec tr.is-alt td {
  background: rgba(0, 0, 0, 0.015);
}

/* Applications 3x2 */
.pdm-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pdm-app-card {
  padding: 14px;
}

.pdm-app-ico {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--pdm-chip-bg);
  color: var(--pdm-green);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.pdm-app-ico svg {
  width: 18px;
  height: 18px;
}

.pdm-app-card h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.pdm-app-card p {
  margin: 0;
  font-size: 13px;
  color: var(--pdm-muted);
}

/* Supplier */
.pdm-supplier {
  position: sticky;
  top: 56px;
}

.pdm-supplier-card {
  padding: 16px;
}

.pdm-sup-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.pdm-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--pdm-border);
  color: var(--pdm-muted);
}

.pdm-pill-ok {
  background: #e8f8ef;
  color: #0b5d4b;
  border-color: #b7e4c7;
}

.pdm-sup-name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
}

.pdm-sup-loc {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--pdm-muted);
}

.pdm-sup-facts {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  border-top: 1px solid var(--pdm-border);
}

.pdm-sup-facts li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--pdm-border);
  font-size: 13px;
}

.pdm-sup-facts span {
  color: var(--pdm-muted);
}

.pdm-supplier-card .pdm-btn + .pdm-btn {
  margin-top: 8px;
}

/* FAQ */
.pdm-faq-item {
  background: var(--pdm-card);
  border: 1px solid var(--pdm-border);
  border-radius: 8px;
  margin-bottom: 8px;
  padding: 0 14px;
}

.pdm-faq-item summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  list-style: none;
}

.pdm-faq-item summary::-webkit-details-marker {
  display: none;
}

.pdm-faq-item summary::after {
  content: '+';
  margin-left: auto;
  color: var(--pdm-muted);
  font-size: 18px;
}

.pdm-faq-item[open] summary::after {
  content: '–';
}

.pdm-faq-a {
  padding: 0 0 14px;
  font-size: 13px;
  color: var(--pdm-muted);
}

/* Related */
.pdm-related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.pdm-related-grid .cat-card {
  margin: 0;
}

/* Lightbox */
.pdm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: var(--pdm-overlay);
  display: grid;
  place-items: center;
  padding: 24px;
}

.pdm-lightbox[hidden] {
  display: none !important;
}

.pdm-lightbox img {
  max-width: min(960px, 100%);
  max-height: 90vh;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.pdm-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* Mobile sheet */
.pdm-sheet {
  position: fixed;
  inset: 0;
  z-index: 11500;
}

.pdm-sheet[hidden] {
  display: none !important;
}

.pdm-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: var(--pdm-overlay);
}

.pdm-sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 92vh;
  overflow: auto;
  background: var(--pdm-card);
  border-radius: 12px 12px 0 0;
  padding: 12px 16px 24px;
}

.pdm-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pdm-sheet-head h2 {
  margin: 0;
  font-size: 18px;
}

.pdm-sheet-x {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: var(--pdm-ink);
}

/* Mobile bottom bar */
.pdm-mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11000;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--pdm-card);
  border-top: 1px solid var(--pdm-border);
}

.pdm-mobile-bar .pdm-btn {
  flex: 1;
}

body.pdm-has-mobile-bar {
  /* reserved for page scroll padding handled on .pdm */
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pdm-hero {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  }

  .pdm-enquire {
    grid-column: 1 / -1;
    position: static;
  }

  .pdm-body {
    grid-template-columns: 1fr;
  }

  .pdm-supplier {
    position: static;
    order: 2;
  }
}

@media (max-width: 900px) {
  .pdm-apps {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdm-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pdm-trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .pdm-trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--pdm-border);
  }
}

@media (max-width: 767px) {
  .pdm {
    padding-left: var(--site-gutter-sm, 16px);
    padding-right: var(--site-gutter-sm, 16px);
    padding-bottom: 72px; /* room for fixed mobile CTA bar only */
  }

  .pdm-hero {
    grid-template-columns: 1fr;
  }

  .pdm-enquire {
    display: none; /* opens as bottom sheet from CTA */
  }

  .pdm-h1 {
    font-size: 20px;
  }

  .pdm-cta-row .pdm-btn-call {
    display: none;
  }

  .pdm-apps {
    grid-template-columns: 1fr;
  }

  .pdm-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pdm-trust-strip {
    grid-template-columns: 1fr;
  }

  .pdm-mobile-bar {
    display: flex;
  }

  .pdm-tabs {
    top: 0;
  }
}
