:root {
  --detail-orange: #ff5a1f;
  --detail-blue: #2563eb;
  --detail-navy: #0f172a;
  --detail-muted: #64748b;
  --detail-border: #dfe4ec;
  --detail-surface: #f5f7fa;
}

.product-detail-main {
  background: #fff;
  padding-top: 84px;
}

.product-breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--detail-border);
}

.product-breadcrumb ol {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  min-height: 46px;
  padding: 10px 0;
}

.product-breadcrumb li {
  color: var(--detail-muted);
  font-size: 11px;
}

.product-breadcrumb li + li::before {
  color: #a3adbb;
  content: "/";
  padding: 0 8px;
}

.product-breadcrumb a {
  color: var(--detail-blue);
}

.product-breadcrumb a:hover,
.product-breadcrumb a:focus-visible {
  color: #1749b3;
  text-decoration: underline;
}

.product-introduction {
  background: #fff;
  border-bottom: 1px solid var(--detail-border);
  padding: 24px 0 26px;
}

.product-title-block {
  margin-bottom: 18px;
  max-width: 900px;
}

.product-hero-grid {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 47%) minmax(0, 53%);
}

.product-detail-media {
  align-items: center;
  background: var(--detail-surface);
  border: 1px solid var(--detail-border);
  display: flex;
  justify-content: center;
  min-height: 350px;
  overflow: hidden;
  padding: 30px;
}

.product-detail-media img {
  height: 88%;
  max-height: 320px;
  max-width: 92%;
  object-fit: contain;
  width: auto;
}

.product-detail-media img.product-image-zoom {
  height: 100%;
  transform: scale(1.18);
  width: 100%;
}

.product-detail-media img.product-image-portrait {
  height: 94%;
  width: auto;
}

.product-detail-placeholder {
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, .045), rgba(255, 255, 255, .18));
  border: 1px dashed #c5d0df;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  min-height: 310px;
  padding: 28px;
  text-align: center;
  width: min(460px, 90%);
}

.product-detail-placeholder i {
  color: var(--detail-blue);
  font-size: 72px;
}

.product-detail-placeholder span {
  font-size: 12px;
  line-height: 1.4;
}

.product-eyebrow,
.product-section-heading > p {
  color: var(--detail-orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  margin: 0 0 9px;
  text-transform: uppercase;
}

.product-title-block h1 {
  color: var(--detail-navy);
  font-size: clamp(29px, 3.2vw, 45px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0 0 10px;
}

.product-summary-text {
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 780px;
}

.product-specification-panel {
  min-width: 0;
}

.product-specification-heading {
  margin-bottom: 10px;
}

.product-specification-panel .product-actions {
  margin-top: 14px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.product-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 2px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 9px;
  justify-content: center;
  min-height: 43px;
  padding: 10px 18px;
  transition: background-color 190ms ease, border-color 190ms ease, color 190ms ease, box-shadow 190ms ease;
}

.product-button-primary {
  background: var(--detail-orange);
  border-color: var(--detail-orange);
  color: #fff;
}

.product-button-primary:hover {
  background: #e84b12;
  border-color: #e84b12;
  color: #fff;
}

.product-button-secondary {
  background: #fff;
  border-color: var(--detail-blue);
  color: var(--detail-blue);
}

.product-button-secondary:hover {
  background: #edf3ff;
  color: #1749b3;
}

.product-button:focus-visible,
.download-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .22);
  outline: 2px solid var(--detail-blue);
  outline-offset: 2px;
}

.product-information-section {
  background: var(--detail-surface);
  padding: 24px 0;
}

.product-section-heading {
  margin-bottom: 15px;
}

.product-section-heading h2,
.product-information-block h2,
.product-final-cta h2 {
  color: var(--detail-navy);
  font-weight: 700;
  letter-spacing: -.025em;
}

.product-section-heading h2 {
  font-size: 24px;
  margin: 0;
}

.specification-table-wrap {
  background: #fff;
  border: 1px solid var(--detail-border);
  overflow: hidden;
}

.specification-table {
  border-collapse: collapse;
  margin: 0;
  table-layout: fixed;
  width: 100%;
}

.specification-table th,
.specification-table td {
  border-bottom: 1px solid #e8ecf2;
  font-size: 12px;
  line-height: 1.45;
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.specification-table tr:last-child th,
.specification-table tr:last-child td {
  border-bottom: 0;
}

.specification-table th {
  color: #526071;
  font-weight: 700;
  width: 32%;
}

.specification-table td {
  color: var(--detail-navy);
  font-weight: 500;
}

.specification-table tr:nth-child(even) th,
.specification-table tr:nth-child(even) td {
  background: #f7f9fc;
}

.product-information-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.product-information-block {
  background: #fff;
  border: 1px solid var(--detail-border);
  padding: 20px;
}

.information-icon {
  color: var(--detail-blue);
  font-size: 27px;
  line-height: 1;
  margin-bottom: 16px;
}

.product-information-block h2 {
  font-size: 18px;
  margin: 0 0 10px;
}

.product-information-block p,
.application-list {
  color: #526071;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.application-list {
  display: grid;
  gap: 7px;
  list-style: none;
  padding: 0;
}

.application-list li {
  padding-left: 19px;
  position: relative;
}

.application-list li::before {
  color: var(--detail-blue);
  content: "✓";
  font-weight: 700;
  left: 0;
  position: absolute;
}

.product-downloads-section,
.related-products-section {
  background: #fff;
  padding: 28px 0;
}

.product-downloads-section {
  border-bottom: 1px solid var(--detail-border);
}

.compact-heading {
  margin-bottom: 13px;
}

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

.download-item {
  align-items: center;
  border: 1px solid var(--detail-border);
  display: flex;
  gap: 12px;
  min-height: 72px;
  min-width: 0;
  padding: 13px;
}

.download-item.is-disabled {
  background: #f8fafc;
  border-color: #e3e8ef;
}

.download-item.is-disabled > i {
  color: #94a3b8;
}

.download-item > i {
  color: var(--detail-blue);
  font-size: 22px;
}

.download-item div {
  min-width: 0;
}

.download-item strong {
  color: var(--detail-navy);
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
}

.download-item span {
  color: var(--detail-muted);
  font-size: 10px;
}

.download-item .coming-soon-badge {
  background: #e9edf3;
  border: 1px solid #d8dee7;
  color: #687386;
  display: inline-flex;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  padding: 5px 7px;
  text-transform: uppercase;
}

.download-link {
  color: var(--detail-blue);
  font-size: 11px;
  font-weight: 700;
}

.related-products-section {
  background: var(--detail-surface);
}

.related-product-card {
  background: #fff;
  border: 1px solid var(--detail-border);
  color: inherit;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.related-product-card:hover,
.related-product-card:focus-visible {
  border-color: var(--detail-blue);
  box-shadow: 0 7px 18px rgba(15, 23, 42, .08);
  color: inherit;
  transform: translateY(-2px);
}

.related-product-card:focus-visible {
  outline: 2px solid var(--detail-blue);
  outline-offset: 2px;
}

.related-product-card-head {
  min-height: 79px;
  padding: 10px 36px 9px 10px;
  position: relative;
}

.related-product-card-head > span {
  color: var(--detail-orange);
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.related-product-card-head h3 {
  color: var(--detail-navy);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.related-product-card-head > i {
  color: var(--detail-blue);
  font-size: 15px;
  position: absolute;
  right: 12px;
  top: 11px;
}

.related-product-media {
  align-items: center;
  background: #f4f6f8;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--detail-border);
  border-top: 1px solid var(--detail-border);
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 12px;
}

.related-product-media img {
  height: 84%;
  object-fit: contain;
  width: 84%;
}

.related-product-media img.product-image-zoom {
  height: 100%;
  transform: scale(1.28);
  width: 100%;
}

.related-product-media img.product-image-portrait {
  height: 92%;
  width: 64%;
}

.related-product-placeholder {
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, .05), rgba(255, 255, 255, .22));
  border: 1px dashed #c8d2e0;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  font-size: 38px;
  gap: 8px;
  height: 78%;
  justify-content: center;
  text-align: center;
  width: 82%;
}

.related-product-placeholder span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.related-product-specs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-product-specs li {
  align-items: center;
  border-bottom: 1px solid #edf0f4;
  color: #5b6472;
  display: flex;
  font-size: 9px;
  gap: 8px;
  justify-content: space-between;
  line-height: 1.25;
  min-height: 25px;
  padding: 5px 8px;
}

.related-product-specs li:last-child {
  border-bottom: 0;
}

.related-product-specs strong {
  color: var(--detail-navy);
  font-weight: 500;
  text-align: right;
}

.product-final-cta {
  background: #edf3ff;
  border-top: 1px solid #d8e5fb;
  padding: 30px 0;
}

.product-cta-inner {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.product-final-cta h2 {
  font-size: 23px;
  margin: 0 0 6px;
}

.product-final-cta p {
  color: #526071;
  font-size: 13px;
  margin: 0;
}

.product-final-cta .product-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.product-not-found {
  align-items: center;
  background: var(--detail-surface);
  display: flex;
  min-height: 520px;
  padding: 60px 0;
  text-align: center;
}

.product-not-found[hidden] {
  display: none;
}

.product-not-found > div {
  max-width: 680px;
}

.product-not-found > div > i {
  background: #e9f0ff;
  border: 1px solid #d3e1fb;
  color: var(--detail-blue);
  display: grid;
  font-size: 30px;
  height: 64px;
  margin: 0 auto 17px;
  place-items: center;
  width: 64px;
}

.product-not-found h1 {
  color: var(--detail-navy);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 0 0 12px;
}

.product-not-found p:not(.product-eyebrow) {
  color: var(--detail-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 auto 24px;
  max-width: 560px;
}

@media (max-width: 991px) {
  .product-detail-main {
    padding-top: 74px;
  }

  .product-hero-grid {
    gap: 14px;
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  }

  .product-detail-media {
    min-height: 310px;
  }

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

@media (max-width: 767px) {
  .product-detail-main {
    padding-top: 70px;
  }

  .product-introduction {
    padding: 20px 0 26px;
  }

  .product-hero-grid,
  .product-information-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-media {
    min-height: 290px;
    padding: 22px;
  }

  .product-detail-media img {
    max-height: 260px;
  }

  .product-title-block h1 {
    font-size: 29px;
  }

  .product-actions,
  .product-cta-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .product-button {
    width: 100%;
  }

  .product-information-section,
  .product-downloads-section,
  .related-products-section {
    padding: 24px 0;
  }

  .specification-table th,
  .specification-table td {
    overflow-wrap: anywhere;
    padding: 10px;
  }

  .specification-table th {
    width: 42%;
  }

  .product-cta-inner {
    gap: 18px;
  }

  .download-grid,
  .related-products-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-button,
  .related-product-card {
    transition: none;
  }

  .related-product-card:hover,
  .related-product-card:focus-visible {
    transform: none;
  }
}
