/* Product pages reuse the website's palette, typography and navigation. */
.skip-link { position: fixed; top: -80px; left: 24px; z-index: 100; padding: 12px 20px; background: var(--ink-2); border: 1px solid var(--blue); border-radius: 12px; }
.skip-link:focus { top: 12px; }
.product-site main:focus { outline: none; }
.catalog-hero { padding: 152px 0 0; }
.catalog-hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.catalog-hero h1 { margin: 20px 0 0; color: var(--text); font-size: clamp(36px, 4.4vw, 60px); line-height: 1.25; letter-spacing: -.035em; }
.catalog-hero h1 em { color: var(--blue); font-style: normal; }
.catalog-lead { color: var(--muted); max-width: 650px; margin: 24px 0 0; font-size: 17px; }
.catalog-summary { flex-shrink: 0; padding: 0 0 8px 30px; border-left: 1px solid var(--line-2); }
.catalog-summary strong { display: block; color: var(--orange); font: 600 80px/1 var(--font-num); letter-spacing: -.06em; }
.catalog-summary span { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); }
.catalog-families { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; padding: 26px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.catalog-families > div { padding: 0 28px; border-right: 1px solid var(--line-2); }
.catalog-families > div:first-child { padding-left: 0; }
.catalog-families > div:last-child { border-right: 0; }
.catalog-families strong { font: 600 20px var(--font-num); color: var(--text); }
.catalog-families span { margin-left: 12px; color: var(--blue); font-size: 14px; }
.catalog-families p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.catalog-section { padding: 32px 0 96px; scroll-margin-top: 88px; }
.catalog-toolbar { position: sticky; top: 72px; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; margin-bottom: 12px; background: var(--ink); }
.product-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.product-filters button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 17px; min-height: 44px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .2s, border-color .2s, color .2s; }
.product-filters button:hover { border-color: var(--blue); color: var(--blue); }
.product-filters button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter-count { font: 500 12px var(--font-num); opacity: .75; }
.catalog-result { flex-shrink: 0; margin: 0; color: var(--muted); font-size: 14px; }
.product-groups { display: grid; gap: 64px; }
.product-group[hidden] { display: none; }
.product-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line-2); }
.product-group-heading > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 16px; }
.product-group-heading h2 { margin: 0; font-size: 28px; line-height: 1.4; color: var(--text); }
.product-group-family { color: var(--blue); font: 500 16px var(--font-num); }
.product-group-heading p { flex-shrink: 0; margin: 0; color: var(--muted); font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--ink-2); box-shadow: var(--shadow); transition: transform .25s, border-color .25s, box-shadow .25s; }
.product-card[hidden] { display: none; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(37, 99, 235, .35); box-shadow: 0 22px 45px -25px rgba(37, 99, 235, .3); }
.product-card-image { position: relative; flex: none; aspect-ratio: 1.55; background: #fff; border-bottom: 1px solid var(--line); }
.product-card-image img { position: absolute; top: 24px; left: 30px; width: calc(100% - 60px); height: calc(100% - 48px); object-fit: contain; transition: transform .35s; }
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-card-body { padding: 24px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.product-category { color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.product-card h3 { font: 650 25px/1.3 var(--font-num); margin: 9px 0 0; color: var(--text); letter-spacing: -.025em; }
.product-card-intro { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 12px 0 20px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: auto 0 22px; list-style: none; }
.product-tags li { border: 1px solid var(--line); background: var(--ink); padding: 4px 9px; border-radius: 6px; color: var(--muted); font: 500 14px/1.6 var(--font-num); }
.product-card-link { width: 100%; padding-top: 17px; border-top: 1px solid var(--line); color: var(--blue); font-size: 14px; font-weight: 600; }
.spec-note { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 20px 0 0; }
.catalog-note { max-width: 900px; margin-top: 32px; }
.detail-overview { padding: 112px 0 56px; }
.breadcrumbs { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin: 0 0 40px; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs [aria-current] { color: var(--text); }
.detail-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; }
.product-gallery { min-width: 0; }
.gallery-stage { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; aspect-ratio: 1.28; overflow: hidden; }
.gallery-stage img { position: absolute; top: 35px; left: 35px; width: calc(100% - 70px); height: calc(100% - 70px); object-fit: contain; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 16px; }
.gallery-thumbs button { width: 90px; height: 68px; padding: 6px; background: #fff; border: 2px solid var(--line-2); border-radius: 10px; transition: border-color .2s; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--blue); }
.gallery-thumbs button:hover { border-color: var(--blue); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.detail-hero-copy { min-width: 0; }
.detail-hero-copy h1 { margin: 16px 0 18px; color: var(--text); font: 650 clamp(32px, 3.4vw, 48px)/1.15 var(--font-num); letter-spacing: -.04em; }
.detail-tagline { margin: 0 0 20px; font-size: 22px; font-weight: 500; color: var(--text); line-height: 1.5; }
.detail-intro { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.detail-chip-list { margin: 28px 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }
.detail-chip-list li { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--card); color: var(--blue); font: 600 14px/1.5 var(--font-num); }
.detail-local-nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.detail-local-nav a:first-child { color: var(--blue); }
.detail-local-nav a { border-bottom: 1px solid var(--line-2); padding: 5px 0; }
.detail-section { padding: 42px 0; }
.detail-section-title { margin-bottom: 26px; }
.detail-section-title h2 { margin: 0; color: var(--text); font-size: 28px; letter-spacing: -.02em; }
.detail-section-title p { color: var(--muted); margin: 6px 0 0; font-size: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-feature { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-2); }
.product-feature::before { content: ""; display: block; width: 26px; height: 3px; background: var(--orange); border-radius: 2px; margin-bottom: 20px; }
.product-feature h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.5; color: var(--text); }
.product-feature p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
#specifications { scroll-margin-top: 104px; }
.spec-table-wrap { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: var(--ink-2); }
.product-spec-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; line-height: 1.7; }
.product-spec-table th, .product-spec-table td { padding: 17px 26px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.product-spec-table th { width: 30%; background: var(--card); color: var(--muted); font-weight: 500; }
.product-spec-table td { color: var(--text); }
.product-spec-table tr:last-child > * { border-bottom: 0; }
.application-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.application-grid article { padding: 28px; margin: 22px 0; border-right: 1px solid var(--line-2); }
.application-grid article:first-child { padding-left: 0; }
.application-grid article:last-child { border-right: 0; }
.application-grid h3 { color: var(--text); font-size: 19px; margin: 0 0 10px; }
.application-grid p { color: var(--muted); font-size: 16px; margin: 0; }
.detail-bottom { margin: 48px 0 36px; text-align: center; }
.catalog-back { border: 1px solid var(--line-2); background: var(--ink-2); color: var(--text); }
.catalog-back:hover { color: var(--blue); border-color: var(--blue); }
@media (max-width: 1099px) {
  .catalog-summary { display: none; }
  .catalog-families > div { padding: 0 18px; }
  .catalog-families span { display: block; margin: 4px 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-hero-grid { gap: 32px; }
  .gallery-stage img { top: 24px; left: 24px; width: calc(100% - 48px); height: calc(100% - 48px); }
}
@media (max-width: 767px) {
  .catalog-hero { padding-top: 112px; }
  .catalog-hero h1 { font-size: 36px; }
  .catalog-families { grid-template-columns: 1fr; padding: 8px 0; margin-top: 32px; }
  .catalog-families > div, .catalog-families > div:first-child { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .catalog-families > div:last-child { border-bottom: 0; }
  .catalog-families strong { font-size: 18px; }
  .catalog-families span { display: inline; margin-left: 12px; }
  .catalog-families p { margin-top: 4px; }
  .catalog-section { padding-top: 12px; }
  .catalog-toolbar { display: block; padding: 14px 0; }
  .product-filters { gap: 6px; }
  .product-filters button { padding: 8px 12px; gap: 7px; }
  .catalog-result { margin-top: 10px; }
  .product-groups { gap: 44px; }
  .product-group-heading { gap: 12px; padding-bottom: 16px; margin-bottom: 20px; }
  .product-group-heading > div { gap: 8px 12px; }
  .product-group-heading h2 { font-size: 24px; }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card-image { aspect-ratio: 1.6; }
  .product-card-body { padding: 24px; }
  .detail-overview { padding: 100px 0 20px; }
  .breadcrumbs { gap: 8px; margin-bottom: 28px; }
  .detail-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-stage { aspect-ratio: 1.4; }
  .detail-tagline { font-size: 21px; }
  .detail-section { padding: 30px 0; }
  .feature-grid, .application-grid { grid-template-columns: 1fr; }
  .product-feature { padding: 24px; }
  .product-spec-table { font-size: 14px; }
  .product-spec-table th, .product-spec-table td { padding: 14px; }
  .product-spec-table th { width: 35%; }
  .application-grid article, .application-grid article:first-child { margin: 0; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .application-grid article:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card, .product-card-image img { transition: none; }
  .product-card:hover, .product-card:hover .product-card-image img { transform: none; }
}
