/* 상품특징 슬라이더 (baby_test.tpl 등에서 사용) */
.image-slider-wrapper {
    position: relative;
    width: 700px;
    height: 314px;
}

.swiper {
    width: 700px;
    height: 314px;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    width: 700px;
    height: 314px;
}

.swiper-slide img {
    width: 700px;
    height: 314px;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* main.css 에 이미 .swiper/.swiper-slide/.swiper-slide img 가 전역으로 정의되어 있고
   (height:656px, display:flex 센터정렬, width:1200px/height:656px 등) layout.tpl 상
   main.css가 이 페이지 전용 <style>보다 나중에 로드되어 동일 우선순위에서 그 규칙이
   이겨버려 스와이퍼 영역만 깨지는 문제가 있었음. #tab-1 스코프로 우선순위를 높여
   로드 순서와 무관하게 700x314 박스 크기가 항상 유지되도록 고정. */
#tab-1 .swiper {
    width: 700px;
    height: 314px;
    position: relative;
}

#tab-1 .swiper-slide {
    width: 700px;
    height: 314px;
    display: block;
    background: transparent;
    font-size: inherit;
}

#tab-1 .swiper-slide img {
    width: 700px;
    height: 314px;
    object-fit: contain;
}

/* baby.tpl(운영본)의 이미지(260424_new_baby_*.jpg)에 박혀있는 텍스트와
   동일한 크기/색상으로 작성한 html 버전 슬라이드 텍스트 */
.swiper-slide-text {
    width: 700px;
    height: 314px;
    box-sizing: border-box;
    padding: 0 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* 배지(swiper_top_N.png)가 노출되는 슬라이드만 배지와 겹치지 않도록 상단 여백을
   확보하고, 배지가 없는 슬라이드는 순수하게 세로 중앙정렬되도록 둔다.
   loop 모드에서는 화면에 보이는 슬라이드가 원본이 아니라 클론(복제) DOM일 수
   있어 :first-child로는 정확히 못 잡으므로, JS가 realIndex를 기준으로 활성
   슬라이드에 직접 붙여주는 has-badge-padding 클래스를 사용한다. */
.swiper-slide-text.has-badge-padding,
.wrap .swiper-slide-text {
    padding-top: 55px;
}

.swiper-slide-text .stext-title {
    font-size: 33px;
    font-weight: 600;
    color: #3c2e2b;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.swiper-slide-text .stext-desc {
    font-size: 16px;
    color: #777777;
    line-height: 1.6;
    margin: 0;
}

.swiper-slide-text .stext-link {
    display: inline-block;
    font-size: 17px;
    font-weight: 500;
    color: #f37321;
}

.swiper-slide-text .stext-heading {
    font-size: 16px;
    font-weight: 500;
    color: #3c2e2b;
    margin: 0 0 10px 0;
}

.swiper-slide-text .stext-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    color: #777777;
    line-height: 1.9;
}

.swiper-slide-text .stext-list li {
    padding-left: 14px;
    position: relative;
}

.swiper-slide-text .stext-list li:before {
    content: '·';
    position: absolute;
    left: 0;
}

.swiper-slide-text.text-spacious .stext-title {
    margin-bottom: 16px;
}

.swiper-slide-text.text-spacious .stext-desc {
    line-height: 1.7;
}

/* 버튼 스타일 커스터마이징 (baby.tpl과 동일하게 이미지 유지) */
.swiper-button-prev {
    display: none !important;
}

.swiper-button-next {
    width: auto;
    height: auto;
    background: none;
    margin-top: 0 !important;
    transform: translateY(-50%);
}

.swiper-button-next:after {
    content: '';
    display: none;
}

.swiper-button-next {
    background-image: url('/ver2/images/test/pc_1127_03_01_btn.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 60px !important;
    height: 60px !important;
}

.swiper-button-next:hover {
    opacity: 0.8;
}

/* 페이지네이션 숨김 */
.swiper-pagination {
    display: none;
}
