/* 실제 시안을 읽는 순서와 데모로 넘어가는 구간을 구분합니다. */
/* 긴 캡처는 일반 이미지의 높이 제한에서 분리하고 원본 비율로 표시합니다. */
.view-detail .detail-showroom .detail-capture-window > img[data-preview-image] {
  display: block;
  width: 100%;
  max-width: var(--capture-native-width, 1265px);
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: top;
  transform: none;
  filter: none;
}
.view-detail #design-preview-dialog .design-preview-scroll > img {
  width: 100%;
  max-width: var(--capture-native-width, 1265px);
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  filter: none;
  margin-inline: auto;
}

/* 원본 보기와 화면 맞춤 모두 배포 파일의 픽셀 폭을 넘어 확대하지 않습니다. */
.view-detail #design-preview-dialog.is-natural-size .design-preview-scroll > img {
  width: var(--capture-native-width, 1265px);
  max-width: none;
}

@media (min-width: 1200px) {
  .view-detail .detail-showroom .detail-layout {
    max-width: calc(var(--capture-native-width, 1265px) + 364px);
    margin-inline: auto;
  }

  .view-detail .detail-showroom .detail-visual {
    max-width: calc(var(--capture-native-width, 1265px) + 16px);
  }
}
@media (min-width: 1200px) {
  .view-detail .detail-showroom .detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
  }
  .view-detail .product-cost-heading > div {
    flex-wrap: wrap;
    gap: 12px;
  }
  .view-detail .product-cost-heading strong {
    font-size: 36px;
    white-space: nowrap;
  }
}
.view-detail .detail-showroom {
  padding-bottom: 48px;
}
.view-detail .detail-showroom-heading {
  padding-block: 27px 24px;
}
.view-detail .detail-reading-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 30px;
  border-block: 1px solid #dce5f1;
  background: #fff;
}
.detail-reading-path a {
  position: relative;
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 4px 9px;
  align-items: center;
  padding: 18px 22px;
  font-size: 14px;
  color: #2c486b;
  transition: background 180ms ease;
}
.detail-reading-path a + a {
  border-left: 1px solid #e3eaf4;
}
.detail-reading-path a > span {
  grid-row: span 2;
  color: #2864d5;
  font-size: 13px;
}
.detail-reading-path strong {
  font-size: 15px;
  font-weight: 600;
}
.detail-reading-path small {
  color: #526781;
  font-size: 13px;
}
.detail-reading-path a:hover {
  background: #edf4ff;
}
.detail-reading-path a:focus-visible,
.capture-tour-tabs button:focus-visible,
.detail-demo-destinations a:focus-visible {
  outline: 3px solid #7199ed;
  outline-offset: -3px;
}
.view-detail #design-preview,
.view-detail #design-demo {
  scroll-margin-top: 28px;
}
.view-detail .detail-preview-links {
  grid-template-columns: auto minmax(0, 1fr);
}
.view-detail .detail-scroll-note {
  margin-block: 10px 16px;
  color: #4f6684;
}
.capture-tour-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
  padding: 5px;
  border: 1px solid #dce5f1;
  border-radius: 8px;
  background: #f1f5fb;
}
.capture-tour-tabs[hidden] {
  display: none;
}
.capture-tour-tabs button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #536c8b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease;
}
.capture-tour-tabs button > span {
  color: #4e74ad;
  font-size: 13px;
}
.capture-tour-tabs button[aria-selected='true'] {
  background: #1d3c64;
  color: #fff;
  box-shadow: 0 4px 10px #183d6112;
}
.capture-tour-tabs button[aria-selected='true'] > span {
  color: #c3d8ff;
}
.capture-tour-caption {
  margin-top: 16px;
}
.capture-tour-caption > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 105px;
  padding: 19px 4px 12px;
  border-bottom: 1px solid #dde6f2;
}
.capture-tour-caption > div[hidden] {
  display: none;
}
.capture-scene-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #eaf1ff;
  color: #3167bb;
  font-size: 13px;
}
.capture-tour-caption strong {
  display: block;
  padding-top: 3px;
  color: #28476e;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
}
.capture-tour-caption p {
  margin-top: 7px;
  color: #526985;
  font-size: 14px;
  line-height: 1.85;
  word-break: keep-all;
}
.capture-tour-caption.is-enhanced > div:not([hidden]) {
  animation: detail-caption-in 260ms ease both;
}
.view-detail .detail-feature-note {
  margin-top: 24px;
  padding: 26px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.detail-feature-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.detail-feature-title > span {
  color: #526b8d;
  font-size: 13px;
}
.view-detail .detail-feature-note h2 {
  margin-block: 16px 12px;
  font-size: clamp(25px, 2.1vw, 32px);
  line-height: 1.4;
}
.view-detail .detail-feature-note > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.9;
}
.view-detail .detail-design-points {
  display: grid;
  gap: 0;
  margin: 23px 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid #dbe5f2;
}
.view-detail .detail-design-points li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  padding: 15px 8px;
  color: #36557b;
  font-size: 14px;
  line-height: 1.85;
}
.view-detail .detail-design-points li + li {
  border-top: 1px solid #e3eaf3;
}
.view-detail .detail-design-points li::before {
  display: none;
}
.detail-design-points li > span {
  color: #3c72c4;
  font-size: 13px;
}
.detail-design-points li strong {
  font-weight: 500;
}
.view-detail .detail-inspection {
  padding: 24px;
  border-left: 3px solid #5d83bd;
  border-radius: 0 8px 8px 0;
  background: #edf3fc;
}
.view-detail .detail-inspection strong {
  color: #284b78;
  font-size: 16px;
}
.view-detail .detail-inspection p {
  margin-block: 10px 15px;
  color: #526985;
  font-size: 14px;
}
.view-detail .detail-inspection a {
  color: #2d62b0;
  font-size: 14px;
  font-weight: 600;
}
.view-detail .detail-feature-note > small {
  display: block;
  padding-inline: 3px;
  color: #586d86;
}
.view-detail .shopping-summary {
  border-color: #ceddef;
  box-shadow: 0 13px 35px #274f7a0b;
}
.detail-summary-intro .eyebrow {
  color: #3970bf;
}
.detail-demo-interlude {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 8%;
  padding-block: 48px;
  background: #1c3a60;
  color: #fff;
}
.detail-demo-interlude .eyebrow {
  color: #bfd5fa;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.detail-demo-introduction h2 {
  margin-top: 19px;
  font-size: clamp(29px, 2.7vw, 40px);
  line-height: 1.4;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.detail-demo-introduction > p:last-child {
  margin-top: 19px;
  color: #cfddf0;
  font-size: 14px;
  line-height: 1.9;
}
.detail-demo-destinations a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 21px;
  padding: 24px 5px;
  border-bottom: 1px solid #8caad04a;
  transition:
    padding-inline 200ms ease,
    background 200ms ease;
}
.detail-demo-destinations a:first-child {
  border-top: 1px solid #8caad04a;
}
.detail-demo-destinations a:hover {
  padding-inline: 14px;
  background: #ffffff06;
}
.detail-demo-destinations strong,
.detail-demo-destinations div > span {
  display: block;
}
.detail-demo-destinations strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
}
.detail-demo-destinations div > span {
  margin-top: 5px;
  color: #c9d9ee;
  font-size: 14px;
  line-height: 1.7;
}
.detail-demo-destinations a > b {
  justify-self: end;
  color: #d7e5fa;
  font-size: 23px;
  font-weight: 400;
}
.detail-demo-destinations > p {
  margin-top: 18px;
  color: #c9d9ee;
  font-size: 13px;
  line-height: 1.8;
}
.detail-device-symbol {
  position: relative;
  display: block;
  width: 44px;
  height: 31px;
  border: 1px solid #c6dcff;
  border-radius: 3px;
  color: #c6dcff;
}
.detail-device-symbol i {
  position: absolute;
  inset: 5px;
  display: block;
  border: 1px solid #9dbbe34f;
  border-radius: 1px;
  background: linear-gradient(135deg, #94baff33, transparent);
}
.detail-device-desktop::before {
  content: '';
  position: absolute;
  top: 31px;
  left: 21px;
  width: 1px;
  height: 7px;
  background: currentColor;
}
.detail-device-desktop::after {
  content: '';
  position: absolute;
  top: 37px;
  left: 12px;
  width: 19px;
  height: 1px;
  background: currentColor;
}
.detail-device-phone {
  justify-self: center;
  width: 24px;
  height: 39px;
  border-radius: 5px;
}
.detail-device-phone::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 9px;
  width: 4px;
  height: 1px;
  background: currentColor;
}
.detail-demo-interlude.is-in-view .detail-device-symbol i {
  animation: detail-device-sweep 900ms ease both;
}
@keyframes detail-caption-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes detail-device-sweep {
  from {
    opacity: 0.35;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1100px) {
  .detail-reading-path a {
    padding-inline: 14px;
  }
  .detail-demo-interlude {
    gap: 5%;
  }
}
@media (max-width: 900px) {
  .view-detail .detail-layout {
    gap: 25px;
  }
  .detail-demo-interlude {
    grid-template-columns: minmax(0, 1fr);
    gap: 29px;
  }
  .detail-demo-introduction > p:last-child br {
    display: none;
  }
}
@media (max-width: 600px) {
  .view-detail .detail-showroom {
    padding-bottom: 32px;
  }
  .view-detail .detail-showroom-heading {
    padding-block: 23px 20px;
  }
  .view-detail .detail-reading-path {
    margin-bottom: 23px;
  }
  .detail-reading-path a {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
    padding: 15px 9px;
  }
  .detail-reading-path strong {
    font-size: 13px;
    line-height: 1.5;
    word-break: keep-all;
  }
  .detail-reading-path small {
    display: none;
  }
  .view-detail .detail-preview-links {
    grid-template-columns: minmax(0, 1fr);
  }
  .capture-tour-tabs {
    gap: 3px;
    padding: 3px;
  }
  .capture-tour-tabs button {
    flex-direction: column;
    gap: 4px;
    padding-block: 8px;
    line-height: 1.5;
  }
  .capture-tour-caption > div {
    gap: 11px;
    padding-block: 14px 16px;
  }
  .capture-tour-caption strong {
    font-size: 15px;
  }
  .capture-tour-caption p {
    font-size: 14px;
  }
  .view-detail .detail-feature-note {
    padding-top: 20px;
  }
  .view-detail .detail-feature-note h2 {
    font-size: 26px;
  }
  .view-detail .detail-design-points li {
    grid-template-columns: 23px minmax(0, 1fr);
    gap: 11px;
    padding-inline: 3px;
  }
  .view-detail .detail-inspection {
    padding: 21px 18px;
  }
  .detail-demo-interlude {
    padding-block: 35px;
    gap: 23px;
  }
  .detail-demo-introduction h2 {
    font-size: 30px;
  }
  .detail-demo-destinations a {
    grid-template-columns: 40px minmax(0, 1fr) 19px;
    gap: 16px;
    padding-block: 23px;
  }
  .detail-demo-destinations strong {
    font-size: 16px;
  }
  .detail-demo-destinations div > span {
    font-size: 13px;
  }
  .detail-device-desktop {
    width: 38px;
    height: 29px;
  }
  .detail-device-desktop::before {
    left: 18px;
    top: 29px;
  }
  .detail-device-desktop::after {
    left: 9px;
    top: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .capture-tour-caption.is-enhanced > div:not([hidden]),
  .detail-demo-interlude.is-in-view .detail-device-symbol i {
    animation: none;
  }
  .detail-reading-path a,
  .capture-tour-tabs button,
  .detail-demo-destinations a {
    transition: none;
  }
}
