@view-transition {
  navigation: auto;
}

::view-transition-group(*) {
  animation-duration: 560ms;
  animation-timing-function: cubic-bezier(0.2, 0.75, 0.25, 1);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*) {
    animation-duration: 1ms;
  }
}

.product-card {
  display: block;
  color: inherit;
}

.product-card[hidden] {
  display: none;
}

.product-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card-body h3 {
  margin: 0 0 14px;
}

.product-photo {
  display: block;
  width: 100%;
  height: 190px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #f3f6fa;
  object-fit: contain;
}

.product-image-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #ffffff 0, #edf4fc 54%, #e1ebf7 100%);
  color: #2676e8;
  isolation: isolate;
}

.product-placeholder-orbit {
  position: absolute;
  z-index: 0;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(38, 118, 232, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(38, 118, 232, .035), 0 0 0 48px rgba(38, 118, 232, .025);
}

.product-placeholder-category {
  position: relative;
  z-index: 1;
  color: #647b98;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-align: center;
}

.product-image-placeholder strong {
  position: relative;
  z-index: 1;
  color: #2676e8;
  font: 700 46px/1 Manrope, sans-serif;
  letter-spacing: -.06em;
}

.product-card-body > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.product-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  margin-left: auto;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}

.product-read-more:hover {
  transform: translateY(-2px);
  background: var(--blue);
}

.product-detail {
  padding: 42px 0 82px;
}

.product-detail-back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.product-detail-back:hover {
  color: var(--blue);
}

.family-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.family-heading h1 {
  margin: 0 0 12px;
  font: 700 clamp(30px, 4vw, 44px)/1.2 Manrope, sans-serif;
}

.family-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.family-grid {
  row-gap: 22px;
}

.family-card .product-card-body {
  min-height: 100%;
}

.family-card .product-photo {
  background: #f3f6fa;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 46px;
}

.family-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 46px;
}

.family-specifications {
  margin-top: 58px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.family-specifications h2 {
  margin: 0 0 18px;
  font: 700 24px/1.3 Manrope, sans-serif;
}

.family-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.family-spec-list > div {
  padding: 16px 18px;
  background: var(--white);
}

.family-spec-list dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.family-spec-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.family-spec-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.product-detail-photo {
  display: block;
  width: 100%;
  max-height: 470px;
  aspect-ratio: 1.25;
  border-radius: 12px;
  background: #f3f6fa;
  object-fit: contain;
}

.product-detail-photo.product-image-placeholder {
  min-height: 300px;
  max-height: 470px;
  aspect-ratio: 1.25;
}

.product-detail-photo.product-image-placeholder strong {
  font-size: 74px;
}

.product-detail-copy .eyebrow {
  margin-bottom: 10px;
}

.product-detail-copy h1 {
  margin: 0 0 18px;
  font: 700 clamp(30px, 4vw, 44px)/1.2 Manrope, sans-serif;
}

.product-detail-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.85;
}

.product-contact-link,
.datasheet-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 11px 15px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.datasheet-download {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.product-contact-link:hover,
.datasheet-download:hover {
  background: var(--blue);
}

.product-datasheet {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 64px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.product-datasheet h2 {
  width: 100%;
  text-align: center;
  margin: 0 0 18px;
  font: 700 24px/1.3 Manrope, sans-serif;
}

.datasheet-viewer {
  display: block;
  width: 100%;
  max-width: 960px;
  height: min(68vh, 760px);
  min-height: 480px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f6fa;
}

.datasheet-empty {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.datasheet-viewer.datasheet-empty {
  min-height: 520px;
}

.datasheet-download:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

body.datasheet-modal-open {
  overflow: hidden;
}

.datasheet-request-modal[hidden],
.datasheet-request-modal [hidden] {
  display: none !important;
}

.datasheet-request-modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.datasheet-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 36, .7);
  backdrop-filter: blur(7px);
  animation: datasheet-fade-in .18s ease-out both;
}

.datasheet-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 700px);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: 34px 38px 30px;
  border: 1px solid rgba(218, 228, 240, .9);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(5, 16, 33, .3);
  transform-origin: var(--dialog-origin-x, 50%) var(--dialog-origin-y, 50%);
  animation: datasheet-dialog-in .36s cubic-bezier(.16, 1, .3, 1) both;
}

.datasheet-request-modal.is-closing .datasheet-modal-panel { animation: datasheet-dialog-out .22s cubic-bezier(.4, 0, 1, 1) both; }
.datasheet-request-modal.is-closing .datasheet-modal-backdrop { animation: datasheet-fade-out .22s ease-in both; }

.datasheet-modal-close {
  position: absolute;
  top: 17px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #53657e;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.datasheet-modal-close:hover {
  background: #e5edf6;
  color: var(--navy);
}

.datasheet-modal-panel .eyebrow {
  margin: 2px 44px 8px 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.datasheet-modal-panel h2 {
  margin: 0;
  color: var(--navy);
  font: 800 clamp(25px, 4vw, 32px)/1.2 Manrope, sans-serif;
}

.datasheet-modal-intro {
  max-width: 560px;
  margin: 11px 0 23px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.datasheet-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 16px;
}

.datasheet-form-field {
  display: grid;
  align-self: start;
  gap: 7px;
  color: #3d4f69;
  font-size: 12px;
  font-weight: 700;
}
.datasheet-form-field small { color: #8998ad; font-size: 11px; font-weight: 500; }
.datasheet-required-mark { color: #c0392b; font-style: normal; }

.datasheet-form-field-wide {
  grid-column: 1 / -1;
}

.datasheet-form-field input,
.datasheet-form-field .custom-select-trigger {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d7e0eb;
  border-radius: 9px;
  background: #fff;
  color: #15243b;
  font: 500 14px/1.4 "DM Sans", sans-serif;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.datasheet-form-field input:focus,
.datasheet-form-field .custom-select-trigger:focus,
.datasheet-form-field .custom-select.is-open .custom-select-trigger {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(36, 117, 210, .13);
}

.datasheet-form-field input::placeholder {
  color: #9aa8ba;
}

.datasheet-form-field .custom-select { position: relative; }
.datasheet-form-field .custom-select-native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: 0 !important; overflow: hidden; opacity: 0; pointer-events: none; border: 0 !important; }
.datasheet-form-field .custom-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; appearance: none; -webkit-appearance: none; }
.datasheet-form-field .custom-select-value { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.datasheet-form-field .custom-select-value.is-placeholder { color: #15243b; }
.datasheet-form-field .custom-select-chevron { width: 12px; height: 12px; flex-shrink: 0; color: #53657e; transition: transform .32s cubic-bezier(.2,.7,.2,1), color .22s ease; }
.datasheet-form-field .custom-select.is-open .custom-select-chevron { transform: rotate(180deg); color: var(--blue); }
.datasheet-form-field .custom-select-menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; padding: 5px 0; border: 1px solid #d7e0eb; border-radius: 10px; background: #fff; box-shadow: 0 16px 36px rgba(18,35,58,.16); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(9px) scale(.97); transform-origin: top center; transition: opacity .26s ease, transform .32s cubic-bezier(.2,.7,.2,1), visibility .26s ease; }
.datasheet-form-field .custom-select.is-open .custom-select-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.datasheet-form-field .custom-select-list { margin: 0; padding: 0; list-style: none; }
.datasheet-form-field .custom-select-option { display: flex; align-items: center; width: 100%; margin: 0; padding: 9px 13px; border: 0; border-radius: 0; background: transparent; color: #15243b; font: 500 14px/1.4 "DM Sans", sans-serif; text-align: left; cursor: pointer; opacity: 0; transform: translateY(7px); transition: background .18s ease, color .18s ease, opacity .28s cubic-bezier(.2,.7,.2,1), transform .28s cubic-bezier(.2,.7,.2,1); transition-delay: 0s; }
.datasheet-form-field .custom-select.is-open .custom-select-option { opacity: 1; transform: none; transition-delay: calc(var(--option-index, 0) * 45ms + 40ms); }
.datasheet-form-field .custom-select-option:hover, .datasheet-form-field .custom-select-option.is-active { background: #edf4ff; }
.datasheet-form-field .custom-select-option.is-selected { background: #2168cf; color: #fff; }
.datasheet-form-field .custom-select-option:focus-visible { outline: 2px solid #2168cf; outline-offset: -2px; }

.datasheet-phone-field { position: relative; z-index: 2; }
.datasheet-phone-field:has(.phone-control.is-open) { z-index: 10; }
.datasheet-phone-field .phone-control { position: relative; display: flex; align-items: stretch; width: 100%; }
.datasheet-phone-field .phone-control.is-open { z-index: 10; }
.datasheet-phone-field .phone-country-select { position: absolute !important; left: 0; top: 0; width: 1px !important; height: 1px !important; padding: 0 !important; margin: 0 !important; overflow: hidden; opacity: 0; pointer-events: none; border: 0 !important; }
.datasheet-phone-field .phone-country-trigger { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; min-width: 0; width: auto; height: 46px; max-width: 96px; margin: 0; padding: 10px 7px 10px 9px; border: 1px solid #d7e0eb; border-right: 0; border-radius: 9px 0 0 9px; background: #fff; color: #15243b; font-size: 12px; font-weight: 700; cursor: pointer; }
.datasheet-phone-field .phone-flag { display: block; width: 18px; height: 13px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.datasheet-phone-field .phone-dial { color: var(--navy); font: 700 12px Manrope, sans-serif; }
.datasheet-phone-field .phone-chevron { width: 11px; height: 11px; flex-shrink: 0; color: #8994a4; transition: transform .28s ease; }
.datasheet-phone-field .phone-control.is-open .phone-chevron { transform: rotate(180deg); }
.datasheet-phone-field .phone-control input[name="phone"] { flex: 1 1 auto; min-width: 0; border-left: 0 !important; border-radius: 0 9px 9px 0 !important; }
.datasheet-phone-field .phone-hint { color: #8994a4; font-size: 11px; font-weight: 400; }
.datasheet-phone-field .phone-country-menu { position: absolute; z-index: 20; top: calc(100% + 7px); left: 0; display: flex; flex-direction: column; width: min(100%, 340px); max-height: 320px; padding: 10px; border: 1px solid #d7e0eb; border-radius: 13px; background: #fff; box-shadow: 0 18px 44px rgba(18,35,58,.16); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px) scale(.98); transform-origin: top left; transition: opacity .22s ease, transform .26s ease, visibility .22s ease; }
.datasheet-phone-field .phone-control.is-open .phone-country-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.datasheet-phone-field .phone-country-search { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 0 10px; border: 1px solid #d7e0eb; border-radius: 9px; background: #f7f9fc; color: #8994a4; }
.datasheet-phone-field .phone-country-search input { height: 36px; min-height: 36px; padding: 7px 0; border: 0; outline: 0; background: transparent; box-shadow: none; }
.datasheet-phone-field .phone-country-list { margin: 0; padding: 0; list-style: none; overflow: auto; max-height: 236px; }
.datasheet-phone-field .phone-country-option { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: #15243b; text-align: left; cursor: pointer; }
.datasheet-phone-field .phone-country-option:hover,.datasheet-phone-field .phone-country-option.is-active { background: #edf4ff; }
.datasheet-phone-field .phone-country-option.is-selected { background: #101b2c; color: #fff; }
.datasheet-phone-field .phone-option-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.datasheet-phone-field .phone-option-dial { color: #64748b; font: 700 11px Manrope, sans-serif; }
.datasheet-phone-field .phone-country-empty { display: none; margin: 12px 8px; color: #64748b; font-size: 12px; text-align: center; }
.datasheet-phone-field .phone-country-empty.is-visible { display: block; }

.datasheet-form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.datasheet-email-verify { margin-top: 12px; padding: 13px 14px; border: 1px solid #dce6f1; border-radius: 11px; background: #f7faff; }
.datasheet-verify-button { min-height: 38px; padding: 8px 13px; border: 1px solid #c8d8eb; border-radius: 8px; background: #fff; color: #1b5eaa; font: 700 12px "DM Sans", sans-serif; cursor: pointer; transition: background .16s ease, transform .16s ease; }
.datasheet-verify-button:hover { background: #eaf3ff; transform: translateY(-1px); }
.datasheet-verify-button:disabled { opacity: .6; cursor: wait; }
.datasheet-otp-entry { display: grid; gap: 7px; color: #3d4f69; font-size: 12px; font-weight: 700; }
.datasheet-otp-entry > div { display: flex; gap: 9px; }
.datasheet-otp-entry input { box-sizing: border-box; width: 155px; min-height: 40px; padding: 8px 11px; border: 1px solid #d7e0eb; border-radius: 8px; background: #fff; color: #15243b; font: 600 14px "DM Sans", sans-serif; letter-spacing: .12em; }
.datasheet-verify-status { margin: 8px 0 0; color: #667891; font-size: 12px; line-height: 1.5; }
.datasheet-verify-status.is-verified { color: #16834b; font-weight: 700; }

.datasheet-form-message {
  margin: 14px 0 0;
  padding: 11px 13px;
  border: 1px solid #f2c7c7;
  border-radius: 9px;
  background: #fff4f4;
  color: #a52828;
  font-size: 13px;
  line-height: 1.5;
}

.datasheet-submit {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 13px 17px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font: 700 14px/1.3 "DM Sans", sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.datasheet-submit:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.datasheet-submit:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

.datasheet-form-privacy {
  margin: 12px 0 0;
  color: #8190a5;
  font-size: 11px;
  line-height: 1.6;
}

.datasheet-success {
  padding: 14px 4px 7px;
  text-align: center;
}

.datasheet-success .eyebrow {
  margin: 20px 0 8px;
}

.datasheet-success-mark {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  background: #e9f9ef;
  box-shadow: 0 0 0 9px #f4fcf6;
  animation: datasheet-success-pop .45s cubic-bezier(.2, .8, .2, 1) both;
}

.datasheet-success-mark svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: #1a9c55;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.datasheet-success-mark path {
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  animation: datasheet-check-draw .42s .2s ease-out forwards;
}

.datasheet-success h2 {
  margin: 0 auto;
}

.datasheet-success > p:not(.eyebrow) {
  max-width: 490px;
  margin: 13px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.datasheet-success-download {
  box-sizing: border-box;
  max-width: 330px;
  justify-content: center;
  margin: 22px auto 0;
}

.datasheet-success-done {
  display: block;
  margin: 14px auto 0;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: #64748b;
  font: 600 13px "DM Sans", sans-serif;
  cursor: pointer;
}

.datasheet-success-done:hover {
  color: var(--navy);
}

@keyframes datasheet-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes datasheet-dialog-in {
  from { opacity: 0; transform: scale(.05); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes datasheet-dialog-out { to { opacity: 0; transform: scale(.06); } }
@keyframes datasheet-fade-out { to { opacity: 0; } }

@keyframes datasheet-success-pop {
  from { opacity: 0; transform: scale(.6); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes datasheet-check-draw {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 600px) {
  .datasheet-request-modal { padding: 12px; }
  .datasheet-modal-panel { max-height: 94vh; padding: 28px 20px 24px; border-radius: 17px; }
  .datasheet-form-grid { grid-template-columns: 1fr; gap: 12px; }
  .datasheet-form-field-wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .datasheet-modal-backdrop,
  .datasheet-modal-panel,
  .datasheet-success-mark,
  .datasheet-success-mark path { animation-duration: 1ms !important; }
  .datasheet-form-field .custom-select-trigger,
  .datasheet-form-field .custom-select-menu,
  .datasheet-form-field .custom-select-chevron,
  .datasheet-form-field .custom-select-option { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

@media (max-width: 700px) {
  .product-detail {
    padding-top: 28px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .family-detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .family-spec-list {
    grid-template-columns: 1fr;
  }

  .product-detail-photo {
    aspect-ratio: 1.4;
  }

  .product-datasheet {
    margin-top: 44px;
  }

  .datasheet-viewer {
    height: min(62vh, 560px);
    min-height: 340px;
  }

  .product-photo {
    height: 175px;
  }
}
