/* ==========================================================================
   Powermaster brand band
   --------------------------------------------------------------------------
   The Powermaster line is our own addition to /product, not Duda content, so
   it carries Powermaster's identity rather than BTU's. Every value below is
   read off powermaster.com.mx (2026-09-25) rather than approximated:

     band     linear-gradient(#0C2340, #003087)      their .productosContain
     accent   #CF142B, a 48x5 rule under the heading  their section divider
     tiles    1px solid #BABABA, square, no shadow    their .productosIm
     CTA      #E71010 with a 1.5px white border       their "REQUEST A QUOTE"
     type     Inter — 700/32px uppercase headings, 600 subheads

   Scoped entirely to .pm-band, which `powermaster_section()` in
   scripts/duda-import.py emits and which exists on no other page. Duda's own
   markup and stylesheet are untouched.

   Inter is self-hosted so the published site still makes no third-party
   request for it; the files sit outside any `dist/` segment, which Cloudflare
   Pages will not serve.
   ========================================================================== */

@font-face {
  font-family: 'PM Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/Style/fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'PM Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/Style/fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'PM Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/Style/fonts/inter-latin-700-normal.woff2') format('woff2');
}

#dm .dmRespRow.pm-band {
  --pm-navy: #0c2340;
  --pm-blue: #003087;
  --pm-accent: #cf142b;
  --pm-cta: #e71010;
  --pm-rule: #bababa;
  --pm-ff: 'PM Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  background: linear-gradient(var(--pm-navy), var(--pm-blue));
  color: #e8edf5;
}

/* Duda sets colours per element rather than inheriting, so the band restates
   them instead of relying on `color` above. */
#dm .pm-band .dmNewParagraph,
#dm .pm-band p,
#dm .pm-band li,
#dm .pm-band span {
  color: #e8edf5;
  font-family: var(--pm-ff);
}
#dm .pm-band strong,
#dm .pm-band b { color: #fff; }
#dm .pm-band a { color: #fff; }
#dm .pm-band a:hover { color: #ffd9de; }

/* ---------- heading: uppercase Inter over a short red rule ---------- */

#dm .pm-band .pm-heading {
  margin: 0 0 0.85rem;
  font-family: var(--pm-ff);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: left;
}
#dm .pm-band .pm-heading span { color: #fff; font-family: var(--pm-ff); }

#dm .pm-band .pm-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 5px;
  margin-top: 0.85rem;
  background: var(--pm-accent);
}

#dm .pm-band .pm-subhead {
  margin: 0 0 1rem;
  font-family: var(--pm-ff);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.3;
  text-align: left;
}
#dm .pm-band .pm-subhead span,
#dm .pm-band .pm-subhead a { color: #fff; font-family: var(--pm-ff); }

/* ---------- logo + product shots: square white tiles, hairline rule ------ */

#dm .pm-band .pm-logo {
  display: inline-block;
  max-width: 320px;
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--pm-rule);
}
#dm .pm-band .pm-logo img { display: block; width: 100%; height: auto; }

#dm .pm-band .pm-photos .imageWidget {
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--pm-rule);
}
#dm .pm-band .pm-photos img { display: block; width: 100%; height: auto; }

/* ---------- model list: square white cards, red edge ---------- */

#dm .pm-band .pm-models {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1rem;
}
#dm .pm-band .pm-models li {
  margin: 0;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--pm-rule);
  border-left: 4px solid var(--pm-accent);
  line-height: 1.6;
}
#dm .pm-band .pm-models li,
#dm .pm-band .pm-models li span { color: #43474d; }
#dm .pm-band .pm-models li strong { color: var(--pm-navy); font-weight: 700; }
#dm .pm-band .pm-models li::before,
#dm .pm-band .pm-models li::marker { content: none; }

/* ---------- CTA: square red block with the white hairline ---------- */

/* Duda paints its buttons entirely from custom properties
   (#dm div.dmInner #site_content .dmWidget), so the band restates the
   properties rather than out-specifying that rule — its own painting then
   produces Powermaster's button. */
#dm .pm-band .pm-cta.dmButtonLink {
  --btn-bg-color: var(--pm-cta);
  --btn-text-color: #fff;
  --btn-border-t-color: #fff;
  --btn-border-b-color: #fff;
  --btn-border-l-color: #fff;
  --btn-border-r-color: #fff;
  --btn-border-t-width: 1.5px;
  --btn-border-b-width: 1.5px;
  --btn-border-l-width: 1.5px;
  --btn-border-r-width: 1.5px;
  --btn-border-tl-radius: 0;
  --btn-border-tr-radius: 0;
  --btn-border-bl-radius: 0;
  --btn-border-br-radius: 0;

  background-image: none;
  box-shadow: none;
  font-family: var(--pm-ff);
  font-weight: 700;
}
/* Duda sizes the button to a fixed width, which wraps this label; Powermaster's
   sits on one line, left-aligned with the rest of the band. */
#dm .pm-band .pm-cta.dmButtonLink {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
  padding: 0.9rem 1.9rem;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
#dm .pm-band .pm-cta.dmButtonLink .text {
  color: #fff;
  font-family: var(--pm-ff);
  white-space: nowrap;
}
#dm .pm-band .pm-cta.dmButtonLink:hover { filter: brightness(1.08); }
/* Duda's button ships a star glyph; Powermaster's CTA is text alone. */
#dm .pm-band .pm-cta.dmButtonLink .iconBg { display: none; }

@media (max-width: 767px) {
  #dm .pm-band .pm-logo { max-width: 100%; }
}
