.detail-page {
  background: var(--paper);
}

.detail-page main {
  padding-top: 82px;
}

.detail-page .eyebrow-dark {
  display: flex;
  align-items: center;
  gap: 9px;
}

.detail-page .eyebrow-dark::before {
  width: 18px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--accent);
  content: "";
}

.detail-page .eyebrow-dark span {
  width: auto;
  height: auto;
  background: none;
}

.language-pill {
  min-width: 54px;
  height: 44px;
  padding: 0 12px;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.language-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.product-detail-hero {
  display: flex;
  min-height: calc(100svh - 82px);
  padding: 34px 0 78px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.breadcrumbs {
  display: flex;
  margin-bottom: 34px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12px;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.breadcrumbs span:last-child {
  color: var(--ink);
}

.product-detail-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.product-detail-copy h1 {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.product-detail-lead {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-facts div {
  padding: 18px 14px 17px 0;
  border-right: 1px solid var(--line);
}

.detail-facts div:not(:first-child) {
  padding-left: 18px;
}

.detail-facts div:last-child {
  border-right: 0;
}

.detail-facts dt {
  color: var(--ink-soft);
  font-size: 12px;
}

.detail-facts dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.detail-actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-product-stage {
  display: grid;
  height: min(610px, calc(100svh - 240px));
  min-height: 460px;
  margin: 0;
  padding: 26px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef1f1;
}

.detail-product-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 260ms ease;
}

.detail-product-stage:hover img {
  transform: scale(1.018);
}

.detail-section {
  display: flex;
  min-height: 100svh;
  padding: 104px 0;
  align-items: center;
}

.detail-overview {
  background: var(--paper);
}

.detail-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.detail-section-copy h2,
.detail-heading-row h2,
.detail-quote-grid h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.detail-section-copy > p,
.detail-heading-row > p,
.detail-quote-grid p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.detail-section-copy > p {
  margin: 22px 0 0;
}

.detail-checklist {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.detail-checklist li {
  position: relative;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
}

.detail-checklist li::before {
  position: absolute;
  top: 25px;
  left: -18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.detail-context-photo,
.detail-factory-photo,
.detail-line-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 9px;
  background: #eef1f1;
}

.detail-context-photo {
  aspect-ratio: 4 / 3;
}

.detail-context-photo img,
.detail-factory-photo img,
.detail-line-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-spec-section {
  background: #eef1f1;
}

.detail-heading-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-bottom: 48px;
}

.detail-heading-row > p {
  margin: 0;
}

.detail-spec-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.detail-factory-photo {
  min-height: 470px;
}

.spec-table-wrap {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #ffffff;
}

.detail-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.detail-spec-table th,
.detail-spec-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.detail-spec-table th {
  width: 46%;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.detail-spec-table td {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.spec-note {
  margin: 20px 0 0;
  padding: 14px 0 0 14px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
}

.detail-process-section {
  background: #ffffff;
  padding-block: 72px;
}

.detail-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-process li {
  padding: 26px 24px 28px 0;
  border-right: 1px solid var(--line);
}

.detail-process li:not(:first-child) {
  padding-left: 24px;
}

.detail-process li:last-child {
  border-right: 0;
}

.detail-process span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 12px;
}

.detail-process strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
}

.detail-process p {
  margin: 9px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.detail-line-visual {
  width: min(900px, 100%);
  aspect-ratio: 16 / 7;
  margin: 22px auto 0;
}

.detail-quote-band {
  display: flex;
  min-height: 100svh;
  padding: 88px 0;
  align-items: center;
  color: #ffffff;
  background: #20282d;
}

.detail-quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.detail-quote-grid .eyebrow {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.58);
}

.detail-quote-grid h2 {
  max-width: 760px;
  color: #ffffff;
}

.detail-quote-grid p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.detail-quote-actions {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-quote-photo {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 9px;
  background: #eef1f1;
}

.detail-quote-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-quote-actions .button-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.detail-quote-actions .button-ghost:hover {
  color: var(--ink);
  border-color: #ffffff;
  background: #ffffff;
}

.detail-related {
  background: var(--paper);
}

.detail-heading-row > .text-link {
  align-self: end;
  justify-self: end;
}

.detail-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-product {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 180ms ease, transform 180ms ease;
}

.related-product:hover {
  border-color: rgba(182, 70, 59, 0.42);
  transform: translateY(-2px);
}

.related-product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.related-product span {
  padding: 17px 18px 19px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 1023px) {
  .product-detail-hero {
    min-height: 0;
    padding-top: 36px;
  }

  .product-detail-hero-grid,
  .detail-overview-grid,
  .detail-heading-row,
  .detail-spec-layout {
    grid-template-columns: 1fr;
  }

  .detail-product-stage {
    width: 100%;
    height: min(620px, 72vw);
    min-height: 440px;
  }

  .detail-section {
    min-height: 0;
    padding: 84px 0;
  }

  .detail-heading-row {
    gap: 28px;
  }

  .detail-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-process li:nth-child(2) {
    border-right: 0;
  }

  .detail-process li:nth-child(3),
  .detail-process li:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .detail-quote-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .detail-quote-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .detail-page main {
    padding-top: 68px;
  }

  .detail-page .brand {
    min-height: 44px;
  }

  .detail-page .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .product-detail-hero {
    padding: 24px 0 54px;
  }

  .breadcrumbs {
    margin-bottom: 24px;
    font-size: 11px;
  }

  .product-detail-copy h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .product-detail-lead {
    margin-top: 20px;
    font-size: 16px;
  }

  .detail-facts {
    grid-template-columns: 1fr;
  }

  .detail-facts div,
  .detail-facts div:not(:first-child) {
    display: flex;
    padding: 13px 0;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-facts div:last-child {
    border-bottom: 0;
  }

  .detail-facts dd {
    margin: 0;
  }

  .detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-actions .button {
    width: 100%;
  }

  .detail-product-stage {
    height: 360px;
    min-height: 0;
    padding: 16px;
  }

  .detail-section {
    display: block;
    min-height: 0;
    padding: 68px 0;
  }

  .detail-section-copy h2,
  .detail-heading-row h2,
  .detail-quote-grid h2 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .detail-heading-row {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .detail-spec-layout {
    grid-template-columns: 1fr;
  }

  .detail-factory-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .spec-table-wrap {
    padding: 19px;
  }

  .detail-spec-table th,
  .detail-spec-table td {
    padding: 14px 10px;
  }

  .detail-process {
    grid-template-columns: 1fr;
  }

  .detail-process li,
  .detail-process li:not(:first-child) {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-process li:last-child {
    border-bottom: 0;
  }

  .detail-process span {
    margin-bottom: 12px;
  }

  .detail-line-visual {
    aspect-ratio: 4 / 3;
  }

  .detail-quote-band {
    display: flex;
    min-height: 0;
    padding: 66px 0;
  }

  .detail-quote-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-quote-actions .button {
    width: 100%;
  }

  .detail-related-grid {
    grid-template-columns: 1fr;
  }

  .detail-page .footer-column {
    gap: 0;
  }

  .detail-page .footer-column a,
  .detail-page .footer-column span,
  .detail-heading-row > .text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .detail-heading-row > .text-link {
    justify-self: start;
  }
}

@media (max-width: 360px) {
  .product-detail-hero {
    padding-bottom: 34px;
  }

  .breadcrumbs {
    margin-bottom: 14px;
  }

  .product-detail-copy h1 {
    font-size: 34px;
  }

  .product-detail-lead {
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.55;
  }

  .detail-facts {
    margin-top: 20px;
  }

  .detail-facts div,
  .detail-facts div:not(:first-child) {
    padding-block: 10px;
  }

  .detail-actions {
    margin-top: 20px;
    gap: 8px;
  }

  .detail-actions .button {
    min-height: 44px;
  }
}
