/* Product-only integration with the shared header/base and About's quiet palette.
   Manrope, MSACO blue/ink/muted/line, 16px surfaces and outline actions come
   from src/styles/about.scss; shared pages retain their existing styles. */
.product-page {
  --product-blue: #027390;
  --product-ink: #07576b;
  --product-muted: #4e6870;
  --product-line: #d6e5e9;
  --product-tint: #f3f9fa;
  background: #fff;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--product-ink);
  font: 400 1rem/1.65 'Manrope', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.product-page [hidden] { display: none !important; }
.product-page :is(a, button):focus-visible { outline: 3px solid var(--product-blue); outline-offset: 4px; }
.product-page a { text-underline-offset: 4px; }
.product-page .header {
  position: relative; height: auto; min-height: 80px; padding: 16px max(32px, calc((100% - 1120px) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: #fff; color: var(--product-blue); border-bottom: 1px solid var(--product-line); box-shadow: none;
}
.product-page .header .brand img { width: 145px; height: auto; max-height: none; filter: none; }
.product-page .header nav {
  position: static; display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 24px;
  padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; max-height: none; overflow: visible;
  font: 500 .875rem/1.5 'Manrope', Arial, sans-serif; color: var(--product-blue);
}
.product-page .header nav > a { padding: 8px 0; min-height: 40px; border: 0; background: none; color: inherit; font: inherit; }
.product-page .header nav > a::after { display: none; }
.product-page .header nav > a:hover { color: var(--product-ink); text-decoration: underline; }
.product-discover { position: relative; }
.product-discover > summary { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 0; cursor: pointer; list-style: none; }
.product-discover > summary::-webkit-details-marker { display: none; }
.product-discover > summary::after { display: none; }
.product-discover > summary:hover { color: var(--product-ink); }
.product-discover > summary:focus-visible { outline: 3px solid var(--product-blue); outline-offset: 4px; }
.product-discover-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: 180px; padding: 8px; border: 1px solid var(--product-line); border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgb(7 87 107 / 10%); }
.product-discover-menu::before { content: ''; position: absolute; inset: -9px 0 auto; height: 9px; }
.product-page .product-discover-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 6px; color: var(--product-blue); }
.product-page .product-discover-menu a:hover, .product-page .product-discover-menu a:focus-visible { background: var(--product-tint); color: var(--product-ink); }
.product-page .skip-link { background: #fff; color: var(--product-blue); border: 1px solid var(--product-line); border-radius: 8px; }
.product-main { width: min(1120px, calc(100% - 64px)); margin: 36px auto 48px; }
.product-breadcrumb { margin-bottom: 22px; font-size: .875rem; color: var(--product-muted); }
.product-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.product-breadcrumb li + li::before { content: '/'; margin-right: 10px; color: var(--product-muted); }
.product-breadcrumb a:hover { color: var(--product-blue); text-decoration: underline; }
.product-card { border: 1px solid var(--product-line); border-radius: 16px; background: #fff; box-shadow: 0 3px 14px -8px rgb(19 61 74 / 12%); }
.product-card-main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.product-identity { min-width: 0; padding: 32px; }
.product-brand { margin: 0 0 12px; color: var(--product-blue); font-size: .875rem; font-weight: 700; letter-spacing: .09em; overflow-wrap: anywhere; }
.product-page h1 { margin: 0 0 24px; font: 600 clamp(1.75rem, 2.4vw, 2rem)/1.3 'Manrope', Arial, sans-serif; letter-spacing: -.035em; color: var(--product-ink); overflow-wrap: anywhere; }
.product-page h2 { margin: 0; color: var(--product-ink); font: 700 1.125rem/1.45 'Manrope', Arial, sans-serif; letter-spacing: -.025em; }
.product-part { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 20px; }
.product-part dl { min-width: 0; max-width: 100%; margin: 0; }
.product-part dt { font-size: .875rem; color: var(--product-muted); margin-bottom: 4px; }
.product-part dd { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.4; letter-spacing: .015em; overflow-wrap: anywhere; user-select: text; }
.product-page .product-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 4px; border: 0; border-radius: 4px; background: transparent; color: var(--product-blue); font: 500 .875rem/1.5 'Manrope', Arial, sans-serif; }
.product-copy svg { flex: none; }
.product-copy:hover { text-decoration: underline; }
.product-copy-feedback { color: var(--product-muted); font-size: .875rem; margin-top: 6px; }
.product-copy-feedback:empty { display: none; }
.product-context, .product-page .catalog-summary { margin: 16px 0 0; color: var(--product-muted); font-size: 1rem; overflow-wrap: anywhere; }
.product-quote { min-width: 0; padding: 32px; border-left: 1px solid var(--product-line); border-radius: 0 16px 0 0; background: var(--product-tint); }
.product-quote > p { margin: 10px 0 22px; color: var(--product-muted); }
.product-page .product-primary, .product-page .product-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 11px 22px; border: 1px solid var(--product-blue); border-radius: 8px;
  font: 600 1rem/1.5 'Manrope', Arial, sans-serif; text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.product-page .product-primary { width: 100%; background: var(--product-blue); color: #fff; }
.product-page .product-primary:hover { background: var(--product-ink); border-color: var(--product-ink); }
.product-page .product-secondary { background: #fff; color: var(--product-blue); }
.product-page .product-secondary:hover { background: var(--product-tint); }
.product-page .product-quote .product-quote-note { margin: 16px 0 0; font-size: .875rem; line-height: 1.65; }
.product-access { padding: 24px 32px; border-top: 1px solid var(--product-line); }
.product-access-intro { display: flex; align-items: flex-start; gap: 14px; }
.product-access-intro > div { min-width: 0; }
.product-access-icon { flex: none; width: 22px; margin-top: 3px; color: var(--product-blue); }
.product-access [data-access-message] { max-width: 76ch; margin: 6px 0 0; color: var(--product-muted); font-size: .9375rem; }
.product-access-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0 36px; }
.product-access-actions:empty { display: none; }
.product-access[aria-busy="true"] [data-guest-actions] { visibility: hidden; pointer-events: none; }
.product-page .product-text-action { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; border: 0; border-radius: 2px; background: transparent; color: var(--product-blue); font: 500 .9375rem/1.5 'Manrope', Arial, sans-serif; text-decoration: underline; }
.product-page button:disabled { cursor: wait; opacity: .7; }
.product-page #customer-product-content { overflow-wrap: anywhere; }
.product-page #customer-product-content:not(:empty) { margin: 24px 0 0 36px; padding-top: 8px; }
.product-page #customer-product-content section { padding: 20px 0; border-top: 1px solid var(--product-line); }
.product-page #customer-product-content h3 { margin: 0 0 12px; font: 600 1rem/1.5 'Manrope', Arial, sans-serif; }
.product-page #customer-product-content :is(ul, dl) { margin-block: 0; }
.product-page #customer-product-content dt { font-weight: 600; }
.product-page #customer-product-content dd { margin: 0 0 12px; }
.product-page .catalog-private-image { width: auto; max-width: min(100%, 420px); max-height: 360px; object-fit: contain; margin-bottom: 24px; }
/* Match the About footer's markup, alignment, sizing and responsive spacing. */
.product-page .ab-footer { margin-top: auto; padding-block: 28px 24px; background: #fff; color: var(--product-blue); }
.product-page .ab-footer .ab-container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.product-page .ab-footer-wordmark { display: block; }
.product-page .ab-footer-wordmark img { display: block; width: 145px; height: auto; max-height: 50px; }
.product-page .ab-footer-copyright { font-size: 12px; line-height: 1.7; }
.product-search-panel { max-width: 760px; margin: 40px auto; }
.product-search-panel h1 { margin-bottom: 12px; }
.product-search-intro { color: var(--product-muted); }
.product-page .product-search-form { display: block; padding: 0; margin: 28px 0; }
.product-search-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.product-page .product-search-form input { width: 100%; min-width: 0; min-height: 48px; padding: 12px 16px; border: 1px solid var(--product-line); border-radius: 8px; background: #fff; color: var(--product-ink); font: inherit; }
.product-page .product-search-form input::placeholder { color: var(--product-muted); }
.product-page .product-search-form input:focus-visible { outline: 3px solid var(--product-blue); outline-offset: 3px; }
.product-page .product-search-powered { margin: 4px 0 0; color: var(--product-muted); font-size: .875rem; }
.product-search-contact { margin-top: 48px; color: var(--product-muted); font-size: .9375rem; }
.product-search-contact a, .product-search-matches a { color: var(--product-blue); text-decoration: underline; }
.product-search-matches { list-style: none; padding: 0; margin: 20px 0; }
.product-search-matches li { padding: 16px 0; border-top: 1px solid var(--product-line); overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  .product-page .ab-footer .ab-container { width: calc(100% - 64px); }
}
@media (max-width: 800px) {
  .product-card-main { grid-template-columns: minmax(0, 1fr); }
  .product-quote { border-left: 0; border-top: 1px solid var(--product-line); border-radius: 0; }
  .product-quote > p { margin-bottom: 18px; }
}
@media (max-width: 600px) {
  .product-page .ab-footer { padding-block: 24px 20px; }
  .product-page .ab-footer .ab-container { width: calc(100% - 40px); }
  .product-page .ab-footer-wordmark img { width: 120px; }
}
@media (max-width: 560px) {
  .product-page .header { padding: 14px 20px; gap: 8px 20px; flex-wrap: wrap; }
  .product-page .header .brand img { width: 125px; }
  .product-page .header nav { gap: 18px; }
  .product-discover-menu { left: 0; right: auto; }
  .product-main { width: calc(100% - 32px); margin-block: 24px 32px; }
  .product-breadcrumb { margin-bottom: 16px; }
  .product-identity, .product-quote, .product-access { padding: 22px 20px; }
  .product-page h1 { font-size: 1.625rem; }
  .product-access-actions { margin-left: 0; }
  .product-page #customer-product-content:not(:empty) { margin-left: 0; }
  .product-search-panel { margin: 24px auto; }
  .product-search-input-row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .product-page *, .product-page *::before, .product-page *::after { transition: none !important; animation: none !important; }
}
