/* Standalone pages reuse the homepage's header, footer and design tokens. */
.detail-header-shell {
  margin: 0.5rem 1.5rem 0;
  padding: 0 2rem;
}
.detail-main {
  padding-top: 1.5rem;
}
.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--green);
  font-size: 0.8125rem;
  margin-bottom: 2rem;
}
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.detail-hero > * {
  min-width: 0;
}
.detail-eyebrow {
  margin-bottom: 1rem;
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 600;
}
.detail-main h1 {
  color: var(--green);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}
.detail-intro {
  margin-top: 1.75rem;
  max-width: 35rem;
  font-size: 1.125rem;
  line-height: 1.8;
}
.detail-hero-image {
  height: 27rem;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-surface);
  background: var(--light-green);
}
.detail-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-products .detail-hero {
  display: block;
}
.detail-products .detail-intro {
  max-width: 42rem;
}
.detail-section,
.detail-application {
  margin-top: 5rem;
}
.detail-section > h2 {
  max-width: 40rem;
  margin-bottom: 2rem;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.detail-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-surface);
  background: var(--white);
}
.detail-card-copy {
  padding: 1.75rem;
}
.detail-model {
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.detail-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  overflow-wrap: anywhere;
}
.detail-card-copy > p:last-child {
  font-size: 0.9375rem;
  line-height: 1.8;
}
/* Container catalogue: a stable image frame and independent configuration per card. */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.product-card {
  display: flex;
  flex-direction: column;
}
.product-visual {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--light-green);
}
.product-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery-nav {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.product-gallery-count {
  padding: 0.5rem 0.75rem;
  border-radius: 2rem;
  background: var(--white);
  color: var(--green);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.product-thumbnails {
  display: flex;
  gap: 0.5rem;
  padding: 0.875rem 1rem 0;
}
.product-thumbnail {
  flex: 0 1 4.5rem;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.1875rem;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.product-thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0.4375rem;
}
.product-thumbnail[aria-pressed="true"] {
  border-color: var(--green);
}
.product-thumbnail:focus-visible {
  outline: 0.1875rem solid var(--gold);
  outline-offset: 0.1875rem;
}
.product-gallery-nav[hidden],
.product-thumbnails[hidden] {
  display: none;
}
.product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem;
}
.product-card h3 {
  margin: 0;
  font-size: 2rem;
  color: var(--green);
}
.product-subtitle {
  margin-top: 0.375rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--blue);
}
.product-description {
  font-size: 0.9375rem;
  line-height: 1.8;
}
.product-config {
  width: 100%;
}
.product-options-label {
  margin-bottom: 0.625rem;
  font-size: 0.75rem;
  color: var(--green);
}
.product-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.product-option {
  min-height: 2.75rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid #44693d33;
  border-radius: 2rem;
  background: var(--white);
  color: var(--green);
  font: inherit;
  font-size: 0.8125rem;
  line-height: 1.4;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background 180ms,
    color 180ms,
    border-color 180ms;
}
.product-option[aria-pressed="true"] {
  background: var(--light-green);
  border-color: var(--green);
}
.product-option:focus-visible {
  outline: 0.1875rem solid var(--gold);
  outline-offset: 0.1875rem;
}
.product-inquire {
  margin-top: auto;
}
.product-inquire img {
  width: 1.25rem;
  height: 1.25rem;
  filter: var(--button-icon-filter, brightness(0) invert(1));
}
.product-status {
  font-size: 0.8125rem;
}
.product-status:empty {
  display: none;
}
@media (hover: hover) {
  .product-option:hover {
    border-color: var(--green);
    background: var(--light-green);
  }
}
@media (min-width: 751px) {
  .detail-technology .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.detail-technology .detail-card {
  background: var(--light-green);
}
.detail-technology .detail-model {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.detail-application {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.detail-application-photo {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-surface);
}
.detail-application p {
  margin-top: 1.5rem;
  line-height: 1.8;
}
.detail-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  margin-top: 5rem;
  border-radius: var(--radius);
  background: var(--light-green);
}
.detail-question h2 {
  max-width: 32rem;
  font-size: 2rem;
}
.detail-question .text-link {
  margin-top: 1rem;
}
.detail-question .button {
  flex-shrink: 0;
  gap: 1.5rem;
}
.detail-page .site-footer {
  margin-top: 5rem;
}
@media (max-width: 1050px) {
  .detail-hero {
    gap: 2rem;
  }
  .detail-grid,
  .product-grid {
    gap: 1.25rem;
  }
  .detail-card-copy {
    padding: 1.25rem;
  }
  .product-copy {
    padding: 1.5rem;
  }
  .detail-question {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 750px) {
  .detail-hero,
  .detail-grid,
  .product-grid,
  .detail-application {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .detail-hero-image {
    height: auto;
    aspect-ratio: 1.25;
  }
  .detail-section,
  .detail-application,
  .detail-question {
    margin-top: 3.5rem;
  }
  .detail-intro {
    font-size: 1rem;
  }
  .detail-question {
    padding: 1.5rem;
  }
  .detail-question .button {
    white-space: normal;
    flex-shrink: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-option {
    transition: none;
  }
}
@media (max-width: 580px) {
  .detail-header-shell {
    margin: 0.5rem 0.75rem 0;
    padding: 0.25rem 1rem 0;
  }
  .detail-main h1 {
    font-size: 2.5rem;
  }
  .detail-main h2 {
    font-size: 2rem;
  }
}
@media (max-width: 360px) {
  .detail-header-shell {
    padding-inline: 0.5rem;
  }
}
