/* 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 {
  position: relative;
  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-image-hint {
  position:absolute;
  right:10px;
  bottom:10px;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  color:#183548;
  border:1px solid #dce3e7;
  border-radius:50%;
  background:#fffffff2;
}
.ecz-detail-image-entry:hover .ecz-detail-image-hint { border-color:#183548; }
.ecz-detail-text-entry { margin-top:16px; padding:10px 0; min-height:44px; border:0; background:transparent; color:#183548; font:inherit; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.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 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin: 22px 0 0 auto;
  padding: 13px 20px;
  min-height: 48px;
  background: #ff6600;
  border-color: #ff6600;
  color: #fff;
}
.ecz-detail-action > span { font-size: 22px; line-height: 1; }
.ecz-feature-photo { grid-template-columns: minmax(0,44%) minmax(0,1fr); gap:40px; }
.ecz-feature-photo.ecz-feature-reverse { grid-template-columns: minmax(0,1fr) minmax(0,44%); }
.ecz-feature-photo .ecz-detail-image-entry { overflow:hidden; background:transparent; border-radius:8px; }
.ecz-feature-photo .ecz-detail-image-entry img { width:100%; max-height:none; height:auto; object-fit:contain; }
.ecz-feature-icon .ecz-detail-image-entry { max-width:160px; margin:auto; }
.ecz-feature-icon .ecz-detail-image-entry img { max-width:96px !important; max-height:96px; }
.ecz-feature-photo .ecz-feature-copy h4 { font-size:28px; font-weight:500; }
.ecz-feature-photo .ecz-feature-copy p { font-size:17px; }
.ecz-video-preview { display:flex; align-items:center; gap:16px; max-width:100%; width:100%; padding:0; margin-top:22px; border:0; background:transparent; text-align:left; font:inherit; color:#183548; cursor:pointer; border-radius:6px; }
.ecz-video-picture { position:relative; display:block; width:144px; aspect-ratio:16/9; flex:none; overflow:hidden; border-radius:5px; background:#183548; }
.ecz-video-picture img { display:block; width:100%; height:100%; object-fit:cover; }
.ecz-video-play { position:absolute; inset:0; display:grid; place-items:center; margin:auto; width:38px; height:38px; border-radius:50%; background:#ff6600; color:#fff; font-size:16px; padding-left:2px; box-shadow:0 2px 8px #0004; }
.ecz-video-copy { display:flex; flex-direction:column; gap:6px; min-width:0; line-height:1.4; }
.ecz-video-copy strong { font-size:16px; }
.ecz-video-copy > span { font-size:13px; color:#526571; }
.ecz-video-preview:hover .ecz-video-copy strong { text-decoration:underline; text-underline-offset:3px; }
.ecz-video-preview:hover .ecz-video-play { background:#fc5900; }
.ecz-detail-action:hover { background:#ff7a22; border-color:#ff7a22; }
.ecz-shared-entry {
  display: block;
  margin: 12px 0;
}
.ecz-shared-panel button: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: transparent;
  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 { position:relative; }
.ecz-shared-panel .ecz-detail-zoom {
  position:absolute;
  right:10px;
  bottom:10px;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  min-height:44px;
  padding:0;
  border-radius:50%;
  background:#fffffff2;
}
.ecz-detail-icon { display:flex; align-items:center; gap:20px; }
.ecz-detail-icon > img { width:auto; height:auto; max-width:96px; max-height:96px; flex:none; }
.ecz-detail-icon figcaption { margin:0; }
.ecz-detail-figure figcaption,
.ecz-detail-media-note {
  font:
    13px/1.6 Arial,
    sans-serif;
  color: #526571;
  margin: 14px 0 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 {
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  padding:0;
  border:0;
  background:#183548;
  margin-top:18px;
}
.ecz-detail-play > img { display:block; width:100%; height:100%; object-fit:cover; }
.ecz-detail-play .ecz-video-play { width:64px; height:64px; font-size:25px; background:#183548dd; }
.ecz-shared-panel .ecz-detail-play:hover {
  background:#183548;
}
.ecz-detail-play:hover .ecz-video-play { background:#183548; }
.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-state:empty { display:none; }
.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,
  .ecz-feature-photo,
  .ecz-feature-photo.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-feature-photo .ecz-feature-copy h4 { font-size:24px; }
  .ecz-feature-photo .ecz-feature-copy p { font-size:16px; }
  .ecz-video-picture { width:120px; }
  .ecz-video-preview { gap:12px; }
  .ecz-video-copy strong { font-size:15px; }
  .ecz-video-copy > span { font-size:12px; }
  .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-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;
    }
  }
}
