/* Shared product feature presentation. No global/reset selectors. */
.ecz-features {
  margin: 0 0 32px;
}
.ecz-feature-row {
  display: grid;
  grid-template-columns: minmax(140px, 29%) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid #eee;
}
.ecz-feature-row:last-child {
  border-bottom: 0;
}
.ecz-feature-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(140px, 29%);
}
.ecz-feature-reverse .ecz-feature-media {
  order: 2;
}
.ecz-feature-copy h4 {
  margin: 0 0 12px;
  color: #ff6600;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 400;
}
.ecz-feature-copy p {
  margin: 0;
  line-height: 1.65;
}
.ecz-feature-media {
  text-align: center;
  min-width: 0;
}
.ecz-feature-media img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
}
.ecz-feature-media > img {
  max-width: 160px;
  max-height: 160px;
  width: auto;
}
.ecz-detail-image-entry {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #fff;
  width: 100%;
  cursor: pointer;
}
.ecz-detail-image-entry img {
  max-height: 280px;
  object-fit: contain;
}
.ecz-detail-image-entry:hover img {
  filter: brightness(0.97);
}
.ecz-detail-action,
.ecz-shared-entry button,
.ecz-shared-panel button {
  font:
    600 15px/1.4 Arial,
    sans-serif;
  color: #183548;
  background: #fff;
  border: 1px solid #b9c7d0;
  border-radius: 5px;
  padding: 12px 16px;
  min-height: 46px;
  cursor: pointer;
}
.ecz-detail-action {
  margin-top: 20px;
}
.ecz-shared-entry {
  display: block;
  margin: 12px 0;
}
.ecz-shared-panel button:hover,
.ecz-detail-action:hover {
  background: #f3f6f8;
}
.ecz-shared-panel button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.ecz-shared-panel {
  box-sizing: border-box;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(720px, 100vw);
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100vw;
  margin: 0;
  border: 0;
  padding: 0;
  background: #fff;
  color: #183548;
  font:
    17px/1.55 Arial,
    sans-serif;
  overflow: hidden;
  box-shadow: -20px 0 60px #10243325;
}
.ecz-shared-panel *,
.ecz-feature-row * {
  box-sizing: border-box;
}
.ecz-shared-panel[open] {
  display: flex;
  flex-direction: column;
}
.ecz-shared-panel::backdrop {
  background: #10243394;
}
.ecz-shared-panel .ecz-detail-header {
  margin: 0;
  max-width: none;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  justify-content: space-between;
  flex: none;
  padding: 24px 28px 22px;
  border-bottom: 1px solid #dce3e7;
  background: #fff;
}
.ecz-detail-header > div {
  min-width: 0;
}
.ecz-detail-header > div > span {
  display: block;
  font-size: 12px;
  color: #526571;
  margin-bottom: 9px;
}
.ecz-shared-panel h2 {
  font:
    600 25px/1.25 Arial,
    sans-serif;
  letter-spacing: -0.4px;
  margin: 0;
  outline: none;
  color: #183548;
}
.ecz-shared-panel .ecz-detail-close {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px;
  flex: none;
}
.ecz-shared-panel .ecz-detail-close span {
  color: inherit;
}
.ecz-shared-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 26px 28px 36px;
}
.ecz-shared-panel .ecz-detail-description {
  font:
    17px/1.65 Arial,
    sans-serif;
  margin: 0 0 24px;
  white-space: pre-line;
}
.ecz-detail-figure {
  margin: 0 0 24px;
}
.ecz-detail-stage {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f2f5f6;
  overflow: hidden;
  border-radius: 4px;
}
.ecz-detail-stage > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: scale-down;
}
.ecz-detail-stage.is-zoomed {
  overflow: auto;
  cursor: grab;
  touch-action: pan-x pan-y;
}
.ecz-detail-stage.is-zoomed > img {
  max-width: none;
  max-height: none;
  object-fit: initial;
}
.ecz-detail-stage.is-dragging {
  cursor: grabbing;
}
.ecz-detail-photo-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}
.ecz-detail-figure figcaption,
.ecz-detail-media-note {
  font:
    13px/1.6 Arial,
    sans-serif;
  color: #526571;
  margin: 14px 0 0;
}
.ecz-detail-zoom-note {
  font:
    12px/1.5 Arial,
    sans-serif;
  color: #526571;
  max-width: 230px;
  margin: 0;
}
.ecz-detail-video {
  margin-top: 24px;
  border-top: 1px solid #dce3e7;
  padding-top: 22px;
}
.ecz-shared-panel h3 {
  font:
    600 19px/1.4 Arial,
    sans-serif;
  margin: 0 0 10px;
}
.ecz-shared-panel .ecz-detail-play {
  color: #fff;
  background: #ff6600;
  border-color: #ff6600;
  margin-top: 18px;
  font-size: 18px;
}
.ecz-shared-panel .ecz-detail-play:hover {
  background: #fc5900;
  border-color: #fc5900;
}
.ecz-detail-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 200px;
  border: 0;
  margin-top: 18px;
  background: #15232b;
  pointer-events: none;
}
.ecz-detail-video-link {
  font:
    13px/1.5 Arial,
    sans-serif;
  margin: 14px 0 0;
}
.ecz-detail-video-link a {
  color: #ff6600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ecz-detail-video-state {
  font:
    13px/1.5 Arial,
    sans-serif;
  color: #526571;
  margin: 12px 0 0;
}
.ecz-detail-video-controls {
  padding-top: 14px;
}
.ecz-detail-video-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ecz-detail-video-controls label {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 14px;
}
.ecz-detail-video-controls output {
  float: right;
  font-variant-numeric: tabular-nums;
}
.ecz-detail-video-controls input {
  display: block;
  width: 100%;
  height: 36px;
  accent-color: #ff6600;
  cursor: pointer;
}
.ecz-shared-panel [hidden],
.ecz-feature-row [hidden] {
  display: none !important;
}
.ecz-shared-panel :focus-visible,
.ecz-feature-row :focus-visible,
.ecz-shared-entry :focus-visible {
  outline: 3px solid #176da6;
  outline-offset: 4px;
}
@media (max-width: 640px) {
  .ecz-feature-row,
  .ecz-feature-reverse {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }
  .ecz-feature-reverse .ecz-feature-media {
    order: initial;
  }
  .ecz-feature-media > img {
    max-width: 112px;
    max-height: 112px;
  }
  .ecz-feature-copy h4 {
    font-size: 22px;
  }
  .ecz-shared-panel {
    width: 100vw;
    box-shadow: none;
  }
  .ecz-shared-panel .ecz-detail-header {
    padding: 18px 20px;
    gap: 12px;
  }
  .ecz-shared-panel h2 {
    font-size: 21px;
  }
  .ecz-shared-panel .ecz-detail-close {
    padding: 9px;
    font-size: 13px;
    gap: 4px;
  }
  .ecz-shared-body {
    padding: 22px 20px 32px;
  }
  .ecz-shared-panel .ecz-detail-description {
    font-size: 16px;
    margin-bottom: 22px;
  }
  .ecz-detail-stage.is-zoomed {
    aspect-ratio: auto;
    height: 360px;
  }
  .ecz-detail-photo-controls {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .ecz-detail-zoom-note {
    max-width: none;
  }
  .ecz-detail-video {
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ecz-shared-panel[open] {
    animation: ecz-detail-enter 0.16s ease-out;
  }
  @keyframes ecz-detail-enter {
    from {
      opacity: 0.5;
      transform: translateX(16px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
