.about-interior-images {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
}
.about-interior-arrow-left {
  left: 0px;
}
.about-interior-arrow-right {
  right: 0px;
}
.about-interior-main-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  transition: none;
}

.about-interior-arrow {
  position: absolute;
  top: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  font-size: 1.3rem;
  width: 32px;
  height: 32px;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  z-index: 2;
  color: #fff;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.about-interior-arrow > img {
  width: 8px;
}

.about-interior-arrow:hover {
  background: rgba(0, 0, 0, 0.3);
}
.about-interior-sub-images {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 18px;
  justify-content: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  align-items: flex-start;
  /* 스크롤바 완전히 숨기기 */
  -ms-overflow-style: none;
  scrollbar-width: none;
  /* 성능 최적화를 위한 최소한의 속성만 유지 */
  will-change: scroll-position;
}

.about-interior-sub-images::-webkit-scrollbar {
  display: none;
}

.about-interior-sub-images.grabbing {
  cursor: grabbing !important;
}

.about-interior-sub-images.grabbing .about-interior-thumb {
  cursor: grabbing !important;
}

@media (max-width: 1024px) {
  .about-interior-sub-images {
    justify-content: flex-start;
    gap: 16px;
  }

  .about-interior-thumb {
    width: 140px;
    height: 84px;
  }
}
/* 썸네일 래퍼 */
.about-interior-thumb {
  scroll-snap-align: center;
  position: relative;
  display: block;
  width: 295px;
  height: 180px;
  flex: 0 0 auto;
  user-select: none;
  margin-bottom: 4px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.about-interior-thumb:hover {
  transform: scale(1.02);
}
.about-interior-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  cursor: pointer;
  transition: border 0.2s, opacity 0.2s;
}
.about-interior-thumb.active img {
  opacity: 1;
}
.about-interior-thumb.active::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 2;
}

/* 모바일에서 검정 오버레이 제거 */
@media (max-width: 768px) {
  .about-interior-thumb.active::after {
    display: none;
  }
}

.about-interior-main-image-container {
  position: relative;
}

@media (max-width: 1024px) {
  .about-interior-main-image {
    max-width: 90vw;
  }
}
