/* German catalogue phase 1. Shared technical layouts and brand colours remain intact. */
.spanish-site .language-note {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 4px;
  border: 1px solid #dce3eb;
  border-radius: 3px;
  color: #627181;
  font: 9px/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: .03em;
  vertical-align: middle;
}
.spanish-site .product-overview,
.spanish-site .spec-panel,
.spanish-site .es-panel {
  min-width: 0;
}
.spanish-site .product-overview h1 {
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.18;
  hyphens: auto;
  overflow-wrap: break-word;
}
.spanish-site main h1 {
  min-width: 0;
  hyphens: auto;
  overflow-wrap: break-word;
}
.spanish-site .key-values dd {
  font-size: clamp(17px, 2vw, 24px);
  overflow-wrap: anywhere;
}
.spanish-site main {
  padding-bottom: 40px;
}
.spanish-site table {
  font-variant-numeric: tabular-nums;
}
.spanish-site .spec-table th,
.spanish-site .spec-table td {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.es-section {
  margin: 0 0 42px;
}
.es-page-heading {
  padding: 32px 0 30px;
  max-width: 850px;
}
.es-page-heading h1 {
  margin-bottom: 18px;
}
.es-page-heading > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 780px;
}
.es-panel {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.es-panel h2 {
  font-size: 23px;
  line-height: 1.35;
  margin: 0 0 18px;
}
.es-panel h3 {
  font-size: 17px;
  line-height: 1.4;
  margin: 24px 0 12px;
}
.es-panel p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.es-product-grid,
.es-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.es-product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
}
.es-product-photo {
  height: 210px;
  padding: 22px;
  border-bottom: 1px solid #edf1f5;
}
.es-product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.es-product-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 22px;
}
.es-product-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.4;
}
.es-product-card h3 a {
  color: var(--ink);
}
.es-product-card p:not(.eyebrow) {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}
.es-product-card .eyebrow {
  color: var(--blue);
  font-size: 10px;
  letter-spacing: .07em;
}
.es-product-card .text-link {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
}
.es-split,
.es-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.es-contact-layout {
  grid-template-columns: .8fr 1.3fr;
}
.es-about-image {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
}
.es-contact-details {
  margin: 24px 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.es-contact-details dt {
  color: var(--muted);
  font-size: 12px;
}
.es-contact-details dd {
  margin: 0 0 14px;
}
.es-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}
.es-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  min-width: 0;
}
.es-form-grid input,
.es-form-grid textarea,
#enquiry-text {
  width: 100%;
  min-width: 0;
  border: 1px solid #cdd8e4;
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: 14px/1.6 Arial, Helvetica, sans-serif;
}
.es-form-grid input:focus,
.es-form-grid textarea:focus,
#enquiry-text:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.es-form-grid textarea,
#enquiry-text {
  resize: vertical;
}
.es-field-wide {
  grid-column: 1 / -1;
}
.spanish-site button.button {
  cursor: pointer;
  font-family: inherit;
}
.es-panel .es-form-note {
  margin: 14px 0 0;
  font-size: 12px;
}
#enquiry-output:not([hidden]) {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
#enquiry-output .button {
  margin: 14px 0;
}
.es-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.es-faq h2 {
  font-size: 19px;
}
.wiring-notes {
  padding-left: 20px;
  color: var(--muted);
}
.wiring-notes li {
  margin-bottom: 12px;
}
.es-pinout {
  margin: 22px 0;
}
.es-pinout-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
.es-pinout-grid dt {
  font-size: 12px;
  color: var(--muted);
}
.es-pinout-grid dd {
  margin: 4px 0 0;
  font-weight: 700;
}
.source-review-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 3px solid #b57b20;
  background: #fff9ed;
  color: #5b4b30;
  font-size: 12px;
  line-height: 1.65;
}
.source-value-review {
  text-decoration: underline dotted #b57b20;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {
  .es-product-grid,
  .es-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .es-contact-layout,
  .es-split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .es-product-grid,
  .es-info-grid,
  .es-faq,
  .es-form-grid {
    grid-template-columns: 1fr;
  }
  .es-panel {
    padding: 22px;
  }
  .es-panel h2 {
    font-size: 22px;
  }
  .spanish-site .product-overview {
    padding: 24px;
  }
  .spanish-site .product-actions .button,
  .spanish-site .es-panel .button {
    white-space: normal;
    max-width: 100%;
    text-align: center;
  }
}
