/* 아이폰17 사전예약 페이지 스타일 */

/* 기본 컨테이너 설정 */
.preorder-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;    
    box-sizing: border-box;
}

.preorder-content {
    width: 100%;
    max-width: 1100px;
    padding: 16px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 헤더 스타일 */
.preorder-header {
    text-align: center;
    margin-bottom: 0;
}

.preorder-header h1 {
    font-size: 2px;    
    color: #fff;
    margin: 0;
    visibility: hidden;    
}

/* 이미지 컨테이너 */
.preorder-images {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.preorder-image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.preorder-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

/* 모바일 스타일 (기본) */
@media (max-width: 768px) {
    .preorder-images {
        gap: 0;
    }
    .preorder-content {
        padding: 0;
    }
}

/* 로딩 애니메이션 */
.preorder-image {
    transition: opacity 0.3s ease;
}

.preorder-image:hover {
    opacity: 0.95;
}

/* AOS 애니메이션 오버라이드 */
[data-aos="fade-up"] {
    transform: translate3d(0, 40px, 0);
    opacity: 0;
}

[data-aos="fade-up"].aos-animate {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

/* ===== 아이폰17 사전예약 전용 플로팅 하단 액션 컨테이너 ===== */
.preorder-floating-bottom-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #333333f5;
    padding: 20px 20px;
    z-index: 998;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.preorder-floating-bottom-container.show {
    opacity: 1;
    transform: translateY(0);
}

.preorder-floating-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 왼쪽: 카카오톡 상담 섹션 */
.floating-kakao-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-btn-kakao {
    background: #FEE500;
    color: #3C201F;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
}

.floating-btn-kakao:hover {
    background: #FFD700;
    transform: translateY(-2px);
}

/* 오른쪽: 사전예약 신청 섹션 */
.floating-preorder-section {
    flex: 1;
    display: flex;
    justify-content: center;
}

.floating-btn-preorder {
    background: #5c72ff;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
}

.floating-btn-preorder:hover {
    background: #3f52cb;
    transform: translateY(-2px);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .preorder-floating-bottom-container {
        padding: 15px;
    }
    
    .preorder-floating-content {
        flex-direction: row;
        gap: 12px;
    }
    
    .floating-kakao-section,
    .floating-preorder-section {
        flex: 1;
        justify-content: center;
    }
    
    .floating-btn-kakao,
    .floating-btn-preorder {
        font-size: 14px;
        padding: 12px 11px;
        max-width: none;
        width: 100%;
    }
    
    .floating-btn-kakao svg,
    .floating-btn-preorder svg {
        width: 16px;
        height: 16px;
    }
}

/* 태블릿 반응형 */
@media (min-width: 769px) and (max-width: 1199px) {
    .preorder-floating-content {
        max-width: 768px;
        gap: 20px;
    }
    
    .floating-btn-kakao,
    .floating-btn-preorder {
        max-width: 200px;
    }
}

/* 사전예약 투명 버튼 스타일 - internet.css 스타일 기반 */
.preorder-transparent-btn {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 8%;
    background: transparent;
    border: none;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;    
    z-index: 10;
    cursor: pointer;
    min-width: 300px;
    min-height: 50px;
}

.preorder-transparent-btn span {
    display: none; /* 텍스트 완전히 숨김 */
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .preorder-transparent-btn {
        min-width: 250px;
        min-height: 45px;
        border-radius: 25px;
    }
}

/* 해당 페이지에선 사이드 버튼 안나오게 */
@media (max-width: 768px) {
    .side-preorder-btn {
        display: none;
    }

    .side-consult-btn {
        display: none;
    }

    .speech-bubble-mobile-icon {
        display: none;
    }

    .scroll-to-top-btn {
        bottom: 80px;
    }
}