/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
}

.title {
    font-size: 24px;
    font-weight: 700;
}

.subtitle {
    font-size: 18px;
    font-weight: 600;
}

.text {
    font-size: 14px;
    font-weight: 400;
}

span {
    font-size: 18px;
}

/* Layout Container */
.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Spacing */
section {
    padding: 70px 20px;
    max-width: 980px;
    margin: 0 auto;
}

/* Header Styles */
.main-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    transition: transform 0.3s ease-in-out;
}

.main-header.hidden {
    transform: translateY(-100%);
}

.main-header.visible {
    transform: translateY(0);
}

.header-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 첫 번째 라인: 로고, 알림, 로그인 */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;    
}

.logo img {
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative; /* 알림 드롭다운 위치 기준 */
}

/* Header Auth */
.header-auth {
    display: flex;
    align-items: center;
}

.auth-link {
    color: #462cc5;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;    
    border-radius: 6px;
    background: #f6f5ff;
    transition: all 0.3s ease;
}

/* 두 번째 라인: 네비게이션 메뉴 */
.header-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;    
}

/* 모바일/데스크탑 표시 제어 */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* 햄버거 메뉴 버튼 */
.mobile-menu-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-button i {
    font-size: 18px;
    color: #333;
}

/* 모바일 메뉴 컨테이너 (왼쪽에서 나오는 전체 화면) */
.mobileMenu_container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    z-index: 13;
    transition: all 0.3s ease;
    transform: translateX(100%);
    background: rgba(0, 0, 0, 0.5);
    --topbar-h: 56px;
    --pagination-h: 60px;
}

.mobileMenu_container.active {
    transform: translateX(0);
}

.mobile-panel-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 16px 0 16px;
}

.mobile-panel-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

/* 배경 오버레이 (아웃포커스 효과) */
.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    z-index: 1;
}

/* 닫기 버튼 */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgb(0 0 0 / 0%);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.mobile-menu-close i {
    color: #fff;
    font-size: 18px;
}

.mobile-panel-wrapper {
    position: relative;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    z-index: 2;
    overflow: visible;
    padding: 0 0 50px 0;
}

.mobile-panels {
    display: flex;
    width: 100%;
    height: calc(100% - 56px); /* 상단바(56px) 제외 */
    gap: 16px;
    padding: 0 20px; /* 좌우 여백으로 배경 노출 */
    transition: transform 0.3s ease;
    will-change: transform;
}

.mobile-panel {
    flex: 0 0 100%; /* 한 화면을 차지 */
    height: 100%;
    background: #fff;
    overflow: hidden; /* 패널 자체는 오버플로우 숨김 */
    position: relative;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    /* iOS 터치 처리 개선 */
    touch-action: manipulation;
    -webkit-touch-callout: none;
}

.panel-content {
    padding: 20px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 18px;
    flex-shrink: 0; /* 타이틀 고정 */
}

/* 스크롤 가능한 컨텐츠 영역 */
.panel-scrollable-content {
    flex: 1; /* 나머지 공간 차지 */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pan-x; /* iOS에서 가로 스와이프도 허용 */
    padding-right: 4px; /* 스크롤바 공간 */
    margin-right: -4px;
    /* iOS에서 스와이프 감지 개선 */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}

/* 인사말 섹션 - 타이틀 영역으로 고정 */
.greeting-section {
    flex-shrink: 0; /* 고정 영역 */
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 18px;    
    color: #333;
}

.greeting-text h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.auth-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.auth-btn {    
    color: #462cc5;
    background: #f6f5ff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500; 
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.auth-btn.logout-btn {
    color: #666;
    background: #f5f5f5;
}

.auth-btn:hover {
    background: #e8e4ff;
    transform: translateY(-1px);
}

.auth-btn.logout-btn:hover {
    background: #e0e0e0;
}
/* 메뉴 섹션 */
.menu-section {
    margin-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.menu-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.toggle-menu-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-left: 4px;
}

/* 인기메뉴 그리드 */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.menu-item {
    display: flex;
    /*flex-direction: column;*/
    align-items: flex-start;
    /*justify-content: center;*/
    padding: 6px 4px;        
    text-decoration: none;
    color: #333;
    /*transition: all 0.3s ease;
    background: #fff;
    border-radius: 8px;    */
    position: relative;
    font-size: 13px;
}

.menu-item span {
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    line-height: 1.4;
}

.menu-item .alert-dot {
    position: absolute;
    top: 5px;
    right: 0%;
    width: 6px;
    height: 6px;
    background: #ff4444;
    border-radius: 50%;    
}

/* 메뉴 리스트 */
.menu-list {    
    border-radius: 12px;
    overflow: hidden;
}

.menu-list-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    text-decoration: none;
    color: #333;    
    transition: background-color 0.3s ease;
}

.menu-list-item img {
    width: 25px;
    height: 25px;
    margin-right: 5px;
}

.menu-list-item:last-child {
    border-bottom: none;
    padding-bottom: 21px;
}

.menu-list-item span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.menu-list-item i:last-child {
    font-size: 12px;
    color: #999;
}

/* 게시판 리스트 */
.board-list {
    padding: 0;
}

.board-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.board-item:last-child {
    border-bottom: none;
}

.board-item h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 위키 리스트 */
.wiki-list {
    padding: 0;
}

.wiki-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.wiki-item:last-child {
    border-bottom: none;
}

.wiki-item h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #7d65f2;
    line-height: 1.4;
}

.wiki-item p {
    margin: 0;
    font-size: 13px;
    color: #33333380;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    overflow: hidden;
}

.wiki-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wiki-item a:hover {
    text-decoration: none;
}

.wiki-item:hover {
    background-color: #f8f9fa;
}

/* 하단 페이지네이션 */
.mobile-pagination {
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2001;
    display: none;
    justify-content: center;
    height: auto;
    align-items: center;
    pointer-events: none;
    -webkit-transform: translateX(-50%);
    margin-bottom: 70px;
}

.mobileMenu_container.active .mobile-pagination {
    display: flex;
}

.pagination-dots {
    display: flex;
    gap: 8px;    
    padding: 8px 16px;
    border-radius: 20px;   
    pointer-events: auto;    
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.pagination-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Navigation */
.main-nav {
    display: flex;
}

.main-nav.nav-left {
    justify-content: flex-start;
}

.main-nav.nav-right {
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    color: #33333380;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-left .nav-link {
    color: #333;
    font-size: 18px;
}

.nav-link:hover {
    color: #462cc5;
    text-decoration: none;
}

.nav-link.active {
    color: #462cc5;    
    font-weight: 700;    
}

/* 모바일 전용 네비게이션은 데스크탑에서 숨김 */
.nav-mobile {
    display: none;
}


/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding-top: 130px; /* 헤더 높이만큼 상단 패딩 추가 */
}

/* Event Banner Section */
.event-banner {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    padding: 20px;
}

/* [LEGACY] banner-slider (사용처 유지 가능) */
.banner-slider {
    position: relative;
    width: 100%;
    height: 200px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 12px;
    overflow: hidden;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.banner-slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}


.banner-text,
.banner-subtext {
    font-size: 24px;
    font-weight: 800;
}    

/* 좌우 화살표 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    color: #333;
    font-size: 16px;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.banner-arrow-prev {
    left: 20px;
}

.banner-arrow-next {
    right: 20px;
}

/* 우하단 페이지 표시 */
.banner-page-indicator {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 3;
}

.current-page {
    color: #fff;
}

.total-pages {
    color: rgba(255, 255, 255, 0.7);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Event Banner (Swiper 기반) */
.event-swiper {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
}

.event-swiper .swiper-wrapper {
    height: 100%;
}

.event-slide {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* 배너 전체 클릭 영역 */
.event-slide .event-link {
    position: absolute;
    inset: 0;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
}

.event-slide.slide-1 { background-image: url('https://assets.thessadang.com/images/main-banner-01.webp'); }
.event-slide.slide-2 { background-image: url('https://assets.thessadang.com/images/main-banner-02.webp'); }
.event-slide.slide-3 { background-image: url('https://assets.thessadang.com/images/main-banner-03.webp'); }

.event-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 85px;
    padding-left: 160px;
    width: 100%;
}

.event-texts {
    display: flex;
    flex-direction: column;
    line-height: 1.43;
    letter-spacing: -0.42px;
    color: #333;
    text-align: left;
}

/* 텍스트 크기 재정의 (배너용) */
.event-texts .banner-text { font-size: 26px; color: #0f172a; text-shadow: none; }
.event-texts .banner-subtext { font-size: 26px; color: #0f172a; text-shadow: none; }
.p-pink { color: #e50781; font-size: 26px; }
.p-mint { color: #2bc2bc; font-size: 26px; }
.p-blue { color: #0099ff; font-size: 26px; }
.p-green { color: #5d9100; font-size: 26px; }
.p-brown { color: #ef5e2d; font-size: 26px; }


/* 내장 네비게이션 */
.event-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;    
    display: flex;
    align-items: center;
    justify-content: center;
    color: #33333350;
    font-size: 40px;
    cursor: pointer;    
}

.event-prev { left: 40px; }
.event-next { right: 40px; }

/* 이벤트 배너 페이지네이션: 점 + 진행바 */
.event-swiper .event-pagination {
    display: flex;
    align-items: center;
    gap: 0px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    position: absolute;
    left: 5% !important;    
    bottom: 26px !important;
    z-index: 6;
}

.event-swiper .event-pagination .swiper-pagination-bullet {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 8px;
    width: 8px;
    border-radius: 999px;
    background: #33333380;
    opacity: 1;
    overflow: hidden;
    transition: width 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.event-swiper .event-pagination .swiper-pagination-bullet .progress {
    display: block;
    height: 100%;
    width: 0;
    background: #333;
    border-radius: 999px;
}

.event-swiper .event-pagination .swiper-pagination-bullet.is-active {
    width: 40px; /* 활성 시 길어짐 */
    background: #fff;
}

.event-swiper .event-pagination .swiper-pagination-bullet.is-active .progress {
    animation: eventBulletProgress var(--eventAutoplayDelay, 3000ms) linear forwards;
}

@keyframes eventBulletProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

@media (max-width: 768px) {    
    .event-swiper .event-pagination .swiper-pagination-bullet { height: 6px; width: 6px; }
    .event-swiper .event-pagination .swiper-pagination-bullet.is-active { width: 30px; }
    .p-pink { font-size: 20px; }
    .p-mint { font-size: 20px; }
    .p-blue { font-size: 20px; }
    .p-green { font-size: 20px; }
    .p-brown { font-size: 20px; }
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;   
}

.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f6f5ff;
    border-radius: 12px;
    padding: 24px;    
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px #462cc50f;
    min-height: 182px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px #462cc50f;    
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;    
    border-radius: 50%;
    margin-bottom: 30px;
    color: #fff;
    font-size: 24px;
}

.service-icon img {   
    width: 40px;
    height: 40px;
}

.service-title {
    font-size: 16px;
    font-weight: 600;    
    color: #333;
}

.service-description {
    font-size: 14px;
    color: #33333380;
    line-height: 1.6;    
}

.service-link {  
    text-decoration: none; 
}

/* Phone Showcase Section */
.phone-showcase {
    display: flex;
    flex-direction: column;    
}

.showcase-title {
    font-size: 24px;
    font-weight: 700;
    text-align: left;
    flex-direction: row;
    display: flex;
    align-items: center;
    gap: 12px;
}

.showcase-new-badge {
    background: #f6f5ff;
    color: #7d65f2;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 10px;
}

.preorder-badge {
    background: #f6f5ff;
    color: #7d65f2;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 8px;
    font-weight: 700;
}

.showcase-bottom-desc {
    font-size: 16px;
    color: #33333380;
    font-weight: 500;
    margin-bottom: 18px;
}

/* 새로운 phone-showcase 컨테이너 */
.phone-showcase-container {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

/* 데스크톱용: 모바일 섹션 숨김 */
.mobile-series-sections {
    display: none;
}

/* 왼쪽 시리즈 메뉴 */
.phone-series-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: calc(50% - 10px);
    flex-shrink: 0;
}

.series-btn {
    background: #fff;
    border: 1px solid #f6f5ff;
    border-radius: 8px;
    padding: 16px 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;

}

.series-btn:hover {
    border-color: #f6f5ff;
    background: #f6f5ff;
    color: #7d65f2;
    transform: translateX(4px);
}

.series-btn.active {
    background: #f6f5ff;
    border-color: #f6f5ff;
    color: #7d65f2;
    transform: translateX(4px);
    box-shadow: 0px 4px 8px #462cc50f;
}

.series-name {
    font-size: 16px;
    font-weight: 600;
    display: block;
}

/* 오른쪽 모델 리스트 컨테이너 */
.phone-models-container {
    flex: 1;
    overflow: hidden;
}

.phone-models-list {
    position: relative;
    min-height: 200px;
}

/* 시리즈별 콘텐츠 (데스크톱용) */
.phone-series-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.phone-series-content.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}

.phones-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 3fr));
    gap: 18px;
}


.phone-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #f6f5ff;
    border: 1px solid #f6f5ff;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    gap: 20px;
    position: relative;
}

.phone-card .fa-chevron-right {
    position: absolute;
    right: 20px;
    color: #33333380;
    font-size: 14px;
}

.phone-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px #462cc50f;
    text-decoration: none;  
    background: #e6e2f9;
}

.phone-image {    
    width: 40px;
    height: 40px;
    object-fit: contain;    
}

.phone-name {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* Price Drops Section */
.price-drops-inner {
    max-width: 980px;    
}

.price-drops-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.price-drops-title-area {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.price-drops-text-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-drops-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.price-drops-link-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.price-drops-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.price-drops-title-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-drops-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.price-drops-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
}

.price-drops-tooltip i {
    font-size: 14px;
    color: #666;
    transition: color 0.2s ease;
}

.price-drops-tooltip:hover i {
    color: #7d65f2;
}

.price-drops-tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 100;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.price-drops-tooltip-text::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #333;
}

.price-drops-tooltip:hover .price-drops-tooltip-text {
    visibility: visible;
    opacity: 1;
}

.price-drops-link {
    font-size: 14px;
    color: #7d65f2;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-drops-link:hover {
    text-decoration: underline;
}

.price-drops-link i {
    font-size: 12px;
}

.price-drops-link-text {
    font-size: 14px;
    color: #33333380;
}

.price-drops-carriers {
    display: flex;
    gap: 12px;
    align-items: end;
}

.carrier-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    opacity: 0.3;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.carrier-logo:hover {
    opacity: 0.8;
}

.carrier-logo.active {
    opacity: 1;
    background: #f6f5ff;
    border-radius: 8px;
    filter: none;
}

.price-drops-date {
    font-size: 12px;
    color: #33333380;
    text-align: right;
}

.price-drop-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 12px #462cc50f;
    height: 100%;
    transition: all 0.3s ease;
}

.price-drop-link-card:hover .price-drop-card {
    box-shadow: 0 8px 20px #462cc520;
    transform: translateY(-4px);
}

.price-drop-model {
    font-size: 16px;
    font-weight: 700;
    color: #333;    
}

.price-drop-discount {
    font-size: 20px;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 16px;
}

.price-drop-image {
    width: 140px;
    height: 140px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-drop-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.price-drop-arrow {
    font-size: 24px;
    color: #ef4444;
}

.price-drop-loading {
    text-align: center;
    padding: 40px;
    color: #33333380;
    font-size: 14px;
}

.price-drops-swiper {
    width: 100%;
    margin-bottom: 18px;
    padding: 14px 0 !important;
}

.price-drop-link-card {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.price-drops-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.price-drops-swiper .swiper-slide {
    width: 200px;
    height: auto;
}

.price-drops-swiper .swiper-slide.no-price-drop {
    width: 100%;
    height: auto;
}

/* Customer Actions */
/* 인터넷: AI 추천 + 계산기 2열 레이아웃 */
.actions-two-col {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.actions-left,
.actions-right {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
}

.actions-left .board-header,
.actions-right .section-header {
    margin-bottom: 18px;
}

/* 카드/그리드가 높이 차이로 눌리지 않도록 */
.actions-right .calculator-section {
    display: flex;
    flex-direction: column;
}

/* 반응형: 태블릿 이하에서 1열 스택 */
@media (max-width: 1023px) {
    .actions-two-col {
        flex-direction: column;
        gap: 50px;
    }
}

.actions-inner {
    max-width: 980px;
    margin: 0 auto;    
    display: flex;
    gap: 18px;
}

.action-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.action-header {
    display: flex;
    flex-direction: column; 
}

.action-content {
    flex: 1;
}

.action-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f6f5ff;
    border-radius: 12px;    
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px #462cc50f;
    text-align: center;
    height: 100%;
}

.action-card.secondary {    
    box-shadow: none;
}

.action-image {
    width: 100%;
    height: 200px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 24px;
    overflow: hidden;
}

.action-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-image.secondary {
    height: 371px;
    border-radius: 8px;
    margin-bottom: 0;
}

.action-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 40px 24px;
}

.action-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.action-description {
    font-size: 16px;
    color: #33333380;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f6f5ff;
    color: #7d65f2;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.action-button.secondary {
    background: #f5f5f5;
    color: #333;
}

.services-section {
    display: flex;
    flex-direction: column;
}


/* Reviews Section Full-bleed */
.full-width-gray {
    max-width: 100%;    
    background: #f9f9f9;
    padding: 70px 0;
    margin: 0;
}

.full-width-image {
    max-width: 100%;        
    margin: 0;
}

.full-width-image.main {
    background: #ecf7ff;
}
.full-width-image.internet {
    background: #fffdeb;
}
.full-width-image.rental {
    background: #edfff0;
}
.full-width-image.reviews {
    background: #fff0ec;
}
.full-width-image.board-common {
    background: #ffecfb;
}

.reviews-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.reviews-title {
    font-size: 24px;
    font-weight: 700;
    text-align: left;    
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.reviews-swiper {
    width: 97%;
}

.reviews-swiper .swiper-wrapper {
    align-items: stretch;
}

.reviews-swiper .swiper-slide {
    height: auto;
}

.review-card {
    display: flex;
    flex-direction: column;
    background: #fff;    
    border-radius: 12px;
    overflow: hidden;
}

.review-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background: #fff;
}

.review-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.review-desc {
    font-size: 14px;
    color: #33333380;
    margin: 0;
}

/* 인터넷 페이지 후기: 설명 2줄 클램프 */
.phone-reviews .review-desc,
.internet-reviews .review-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reviews-swiper .swiper-pagination {
    margin-top: 10px;
    position: relative;
    z-index: 10;
}

.reviews-swiper .swiper-pagination-bullet {
    background: #7d65f2;
}


.reviews-swiper .swiper-button-prev,
.reviews-swiper .swiper-button-next {
    color: #462cc5;
}

/* FAQ Section */
.faq-title {
    font-size: 24px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 16px;
}

.faq-list {
    display: flex;
    flex-direction: column;    
}

.faq-item {    
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: background 0.3s ease;
}

.faq-question .icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fff;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-answer-content {
    font-size: 16px;
    line-height: 1.6;
    color: #33333380;
}

/* Bottom Banner */
.bottom-banner {
    padding: 0;
    position: relative;
    min-height: 150px;    
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.bottom-banner.main {
    background-image: url('https://assets.thessadang.com/images/bottom-banner-image.webp');
}

.bottom-banner.internet {
    background-image: url('https://assets.thessadang.com/images/bottom-banner-internet-image.webp');
}
.bottom-banner.internet_sub {
    background-image: url('https://assets.thessadang.com/images/bottom-banner-internet_sub-image.webp');
}

.bottom-banner.rental {
    background-image: url('https://assets.thessadang.com/images/bottom-banner-rental-image.webp');
}

.bottom-banner.reviews {
    background-image: url('https://assets.thessadang.com/images/bottom-banner-review-image.webp');
}

.bottom-banner.board-common {
    background-image: url('https://assets.thessadang.com/images/bottom-banner-qna-image.webp');
}


.banner-image {
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 16px;
}

.banner-image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* 기존 배너 이미지 노출 중지 (배경 이미지로 대체) */
.banner-image {
    display: none;
}

/* Bottom Banner Text Block */
.bottom-banner-text {
    display: flex;
    flex-direction: column;    
    padding: 20px;    
    font-size: 26px;
    font-weight: 700;
    line-height: 1.26;
    position: relative;
    z-index: 1;
}

.bottom-banner-text-title {
    display: flex;
    flex-direction: column;
    color: #003755;

}
.bottom-banner-text-description {
    display: flex;
    flex-direction: column;
    color: #007abe;
}

.internet-bottom-banner {
    color: #c5b206;
}

.rental-bottom-banner {
    color: #2ac143;
}

.review-bottom-banner {
    color: #ff666c;
}



@media (max-width: 768px) {
    .bottom-banner {
        min-height: auto;
    }
    .bottom-banner-text {        
        padding: 20px;
        font-size: 16px;
    }
    .bottom-banner-text-description {
        font-size: 14px;
    }
}

/* =====================
   Mega Menu (Desktop)
  ===================== */
.mega-menu {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #f1f3f5;
    box-shadow: 0 4px 12px #462cc50f;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .25s ease;
    z-index: 13;
}

.mega-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    position: relative;
}

.mega-col .mega-title {
    font-size: 12px;
    font-weight: 600;
    color: #33333380;
    margin: 0 0 12px 0;
}

.mega-col {
    width: 150px;
}

.mega-col:nth-child(4) { margin-left: 160px; width: 400px; } /* 휴대폰위키 */

.mega-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mega-links a { color: #333; text-decoration: none; font-weight: 600; font-size: 16px; }
.mega-links a:hover { color: #462cc5; }

.mega-wiki-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.mega-wiki-item { display: flex; gap: 10px; text-decoration: none; color: #333; padding: 8px; border-radius: 10px; align-items: center; }
.mega-wiki-item:hover { background: #f8f9fa; }
.mega-wiki-thumb { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; background: #f1f3f5; flex-shrink: 0; }
.mega-wiki-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mega-wiki-title { font-size: 16px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.mega-wiki-desc { 
    font-size: 12px; 
    color: #33333380; 
    line-height: 1.4; 
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 모바일 패널 휴대폰위키 스타일 */
.mobile-wiki-list { 
    display: flex; 
    flex-direction: column; 
    gap: 12px;
}

.mobile-wiki-item { 
    display: flex; 
    gap: 12px; 
    text-decoration: none; 
    color: #333; 
    padding: 14px;
    align-items: flex-start;    
    border-bottom: 1px solid #3333332e;
    transition: all 0.2s ease;
}

.mobile-wiki-item.no-data {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.mobile-wiki-item.no-data:hover {
    transform: none;
    box-shadow: none;
}

.mobile-wiki-thumb { 
    width: 40px; 
    height: 40px; 
    border-radius: 6px; 
    overflow: hidden;     
    flex-shrink: 0;
}

.mobile-wiki-thumb img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.mobile-wiki-text {
    flex: 1;
    min-width: 0;
}

.mobile-wiki-title { 
    font-size: 13px; 
    font-weight: 700; 
    margin-bottom: 4px;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;    
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-wiki-desc { 
    font-size: 12px; 
    color: #33333380; 
    line-height: 1.4; 
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;    
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 휴대폰위키 전용 메가메뉴 스타일 */
.mega-menu-wiki {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #f1f3f5;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .25s ease;
    z-index: 13;
}

.mega-menu-wiki.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-wiki-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mega-wiki-main-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px 0;
    text-align: right;
}

.mega-wiki-inner .mega-wiki-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

@media (max-width: 1200px) { 
    .mega-inner { max-width: 100%; padding: 24px 16px; }
    .mega-wiki-inner { max-width: 100%; padding: 16px; }
    .mega-wiki-inner .mega-wiki-list { width: 100%; grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 1023px) { 
    .mega-menu { display: none; }
    .mega-menu-wiki { display: none; }
}

/* Footer Styles */
.main-footer {
    background: #2f2e3b;    
    padding: 40px 0 20px;
}

.footer-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 32px;
}

.footer-link {
    color: #f6f5ff69;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #462cc5;
    text-decoration: none;
}

.footer-company-info ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0;
    padding: 0;
}

.footer-company-info li {
    font-size: 14px;
    color: #f6f5ff69;
}

.footer-keywords {
    font-size: 11px;
    color: #f6f5ff69;
    line-height: 1.4;
}

.social-channels {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.footer-contact-link {
    color: #f6f5ff69;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;    
    border-radius: 6px;
    transition: all 0.3s ease;
}


.footer-bottom-section {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright span {
    font-size: 12px;
    color: #f6f5ff69;
}

.footer-contact-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-badge img {
    height: 40px;
}

.footer-badge.first-mark {
    transform: scale(1.5);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    min-width: 350px;
    max-width: 350px;
    width: 90%;
    position: relative;
}

.modal-header {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #33333380;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.kakao-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #FEE500;
    color: #3C1E1E;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.kakao-login-btn:hover {
    background: #FDD835;
    color: #3C1E1E;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Flash Messages */
.flashes {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 90%;
    max-width: 600px;
}

.flashes .alert {
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #f6f5ff;
    border: 1px solid #7d65f2;
    color: #7d65f2;
    padding: 20px;
    text-align: center;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.p-20 {
    padding: 20px;
}

.p-30 {
    padding: 30px;
}

.border-radius-12 {
    border-radius: 12px;
}

.box-shadow-light {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.transition-all {
    transition: all 0.3s ease;
}

/* Location Section (Tips/Wiki) */
.location-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    min-width: 0; /* grid item이 축소될 수 있도록 */
}

.board-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0; /* grid item이 축소될 수 있도록 */
    overflow: hidden; /* 넘치는 내용 숨김 */
}

.board-block {
    background: #fff;    
    border-radius: 12px;
    overflow: hidden;
    height: 300px; /* 고정 높이 */
    position: relative;
}

.board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gifts-board-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.board-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    gap: 10px;
}

.board-more {
    color: #33333380;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding-right: 20px;
}

.board-more:hover { text-decoration: underline; }

.board-list {
    display: flex;
    flex-direction: column;
}

.board-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f7f7f8;
}

.board-item:last-child { border-bottom: 0; }

.board-category {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    color: #7d65f2;
    background: #f6f5ff;
    border-radius: 999px;
    padding: 6px 10px;
}

.board-text {
    flex: 1 1 auto;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0; /* flex item이 축소될 수 있도록 */
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 50px 20px;
    }
    
    /* 모바일 헤더 */
    .header-top {
        height: 50px;
    }
    
    /* 모바일에서도 네비게이션 노출 및 가로 스와이프 */
    .header-bottom { 
        display: block; 
        height: auto; 
        padding: 8px 0;
    }
    
    /* 모바일 전용 네비게이션 */
    .nav-mobile {
        display: block;
    }
    .nav-mobile .nav-list {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;        
    }
    .nav-mobile .nav-list::-webkit-scrollbar { display: none; }
    .nav-mobile .nav-item { flex: 0 0 auto; }
    .nav-mobile .nav-link { 
        padding: 4px 6px; 
        font-size: 14px; 
        white-space: nowrap;
    }
    
    /* 데스크탑 네비게이션은 모바일에서 숨김 */
    .header-bottom .nav-left, .header-bottom .nav-right { 
        display: none;
    }
    
    /* 모바일/데스크탑 표시 제어 */
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .logo img {
        height: 32px;
    }
    
    .header-right {
        gap: 8px;
    }  
   
    .auth-link {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    /* 모바일 메인 콘텐츠 패딩 조정 */
    .main-content {
        padding-top: 90px; /* 모바일 헤더 높이에 맞춤 */        
    }
    
    /* 모바일 패널 조정 */
    .mobile-panel-wrapper {
        padding: 0 0 50px 0;
    }

    .service-card {
        padding: 16px;
    }
    .review-text {
        padding: 24px;
    }
    .flashes {
        max-width: 350px;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-close {
        top: 14px;
        right: 38px;
        width: 28px;
        height: 28px;
    }
    
    .mobile-menu-close i {
        font-size: 16px;
    }
    
    .title {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    .board-title { font-size: 20px; }
    .reviews-title { font-size: 20px; }
    
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    
    /* Price Drops 모바일 */
    .price-drops-header {
        flex-direction: row;
        gap: 4px;
        align-items: normal;
    }

    .price-drops-title-area {
        width: 80%;
        flex-direction: column;        
        justify-content: space-between;
        gap: 16px;
    }
    
    .price-drops-text-group {
        gap: 4px;
    }
    
    .price-drops-title {
        font-size: 20px;
    }
    
    .price-drops-subtitle {
        font-size: 13px;
    }
    
    .price-drops-carriers {
        gap: 16px;
    }
    
    .price-drops-link-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }
    .board-more {
        padding-right: 0;
        font-size: 12px;
    }

    .price-drops-actions {
        /*display: none;*/
    }
    
    .price-drops-date {
        font-size: 12px;
    }
    
    .price-drops-link {
        font-size: 13px;
    }

    .price-drops-tooltip i {
        font-size: 12px;
    }
    
    .price-drops-tooltip-text {
        font-size: 10px;
        min-width: 182px;        
        white-space: normal;
    }
    
    .price-drops-swiper .swiper-slide {
        width: 160px;
    }
    
    .price-drop-card {
        padding: 16px;
    }
    
    .price-drop-model {
        font-size: 14px;
    }
    
    .price-drop-discount {
        font-size: 16px;
    }
    
    .price-drop-image {
        width: 110px;
        height: 110px;
    }
    
    .actions-inner {
        flex-direction: column;
        gap: 50px;
    }
    
    /* 데스크톱용 요소들 숨김 */
    .phone-series-menu,
    .phone-models-container {
        display: none;
    }
    
    /* 모바일용 시리즈 섹션들 */
    .mobile-series-sections {
        display: block;
        width: 100%;
    }
    
    .mobile-series-section {
        margin-bottom: 20px;
        border: 1px solid #f6f5ff;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .mobile-series-btn {
        width: 100%;
        background: #fff;
        color: #333;
        border: none;
        padding: 16px 20px;
        text-align: left;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f6f5ff;
    }
    
    /*.mobile-series-btn:hover {
        background: #f6f5ff;
    }*/
    
    .mobile-series-btn.active {
        background: #f6f5ff;
        color: #7d65f2;
    }
    
    .mobile-series-btn .series-name {
        font-size: 16px;
        font-weight: 600;
    }
    
    .mobile-series-btn i {
        font-size: 14px;
        color: #7d65f2;
        transition: transform 0.3s ease;
    }
    
    .mobile-series-btn.active i {
        transform: rotate(180deg);
    }
    
    .mobile-series-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0 20px;
        background: #fff;
    }
    
    .mobile-series-content.active {
        max-height: 1000px;
        padding: 20px;
    }
    
    .mobile-series-content .phone-card {
        margin-bottom: 12px;
        border-radius: 0;
        background: #fff;
        border: none;
        border-bottom: 1px solid #f6f5ff;
    }
    
    .mobile-series-content .phone-card:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }
    
    .phones-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .event-slide.slide-1 { background-image: url('https://assets.thessadang.com/images/main-banner-01-mo.webp'); }
    .event-slide.slide-2 { background-image: url('https://assets.thessadang.com/images/main-banner-02-mo.webp'); }
    .event-slide.slide-3 { background-image: url('https://assets.thessadang.com/images/main-banner-03-mo.webp'); }
    
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-company-info ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-bottom-section {
        flex-direction: column;
        align-items: flex-start;

    }
    
    .social-channels {
        justify-content: flex-start;
    }
    .footer-links {
        gap: 6px;
    }
    .main-footer {
        padding: 30px 0 60px 0;
    }

    span {
        font-size: 14px;
    }

    .customer-actions {
        padding: 40px 20px;
    } 

    .action-text {
        padding: 0 24px 24px;
    }

    .action-image {
        height: 180px;
    }

    .action-image.secondary {
        height: 344px;
    }

    .event-prev { left: 10px; }
    .event-next { right: 10px; }
    .event-swiper { height: 180px; }
    .event-content { padding-top: 50px; padding-left: 24px; }
    .event-texts .banner-text { font-size: 16px; }
    .event-texts .banner-subtext { font-size: 14px; font-weight: 700; }
    .showcase-title { font-size: 20px; }
    .showcase-top-desc { font-size: 16px; }
    .phone-name { font-size: 16px; }
    .action-title { font-size: 16px; }
    .action-description { font-size: 14px; } 
    .faq-list { gap: 0; }
    .phone-card { padding: 16px 0; }
    .full-width-gray { padding: 50px 0; }
    .location-inner { grid-template-columns: 1fr; gap: 50px; }
    .footer-link { font-size: 12px; }
    .footer-company-info li { font-size: 12px; }
    .footer-keywords { font-size: 10px; }
    .footer-contact-link { font-size: 12px; } 
    
}

/* 모바일 바텀 네비게이션 */
.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top: 1px solid #eaeaea;
    z-index: 2;
    display: none; /* 기본 숨김, 모바일에서 보이게 */
    /* 아이폰에서 스크롤 시 안정적인 위치 고정을 위한 추가 속성 */
    transform: translateZ(0); /* 하드웨어 가속 활성화 */
    -webkit-transform: translateZ(0);
    will-change: transform; /* 브라우저 최적화 힌트 */
    /* 아이폰 safe area 대응 - 높이에 safe-area 포함 */
    height: calc(50px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    /* 강제로 화면 하단에 고정 */
    margin: 0;
    padding: 0;
    /* 아이폰에서 스크롤 시에도 고정되도록 추가 속성 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;    
    perspective: 1000;    
}

.bottom-nav-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 6px 8px;
    padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)); /* safe-area-inset-bottom을 하단 패딩에 추가 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    height: 100%; /* 부모 높이에 맞춤 */
    box-sizing: border-box;
}

.bottom-nav-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6b7280; /* 회색 텍스트 */
    gap: 4px;
}

.bottom-nav-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.bottom-nav-text {
    font-size: 11px;
    line-height: 1;
}

.bottom-nav-item.active .bottom-nav-text {
    color: #333;
    font-weight: 600;
}

@media (max-width: 768px) {
    .bottom-nav { display: block; }
}

/***************/
/* /phone/form */
.phone-form-container { 
    width: 500px;
    margin: 0 auto;
    padding: 20px;
    max-width: 100%;
}

.form-wrapper { 
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.page-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: #333;
}

.description { 
    color: #333333aa;
    font-size: 14px;
    margin-bottom: 5px;
    text-align: center;
}

.form-select { 
    width: 100%;
    padding: 10px;
    border: 1px solid #f6f5ff;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 20px;
    color: #333;
    background-color: #fff;    
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 16px;
}
  
.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #f6f5ff;
    border-radius: 6px;
    font-size: 16px;    
}

.form-select:disabled { 
    background-color: #f5f5f5;
    color: 333333aa;
}

.form-select option { 
    font-size: 15px;
}

.form-control::placeholder,
.form-select::placeholder { 
    color: #33333380;
    font-size: 14px;
}
  @media (max-width: 768px) {
    .form-select {
      font-size: 12px;
    }
    .form-select option {
        font-size: 12px;
    }
}

.form-row { 
    display: flex;
    gap: 15px;
    /*margin-bottom: 20px;*/    
}

.form-col { 
    flex: 1;
}

.btn-address-search {
    background: #33333380;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    height: 40px;
    border: none;
}

.agreement-section { 
    border: 1px solid #f6f5ff;
    border-radius: 10px;
    padding: 18px 20px 10px 20px;
    background: #fff;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: none;
}

.agreement-header {
    display: flex;
        align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    gap: 10px;
}
.agreement-header .form-check-input { 
    width: 20px;
    height: 20px;
    accent-color: #462cc5;
    margin-right: 10px;
}
.form-check-input:checked
{
    background-color: #462cc5;
    border-color: #462cc5;
}
.agreement-toggle { 
    margin-left: auto;
    background: none;
    border: none;
    font-size: 12px;
    color: #333333aa;
    cursor: pointer;
    padding: 0 4px;
    transition: transform 0.2s;
}
.agreement-list { 
    margin-top: 8px;
    border-top: 1px solid #e3e8f0;
    padding-top: 10px;
}
.agreement-item { 
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333333aa;
    margin-bottom: 8px;
    gap: 8px;
    position: relative;
}
.agreement-item .form-check-input {
    width: 18px;
    height: 18px;
    accent-color: #462cc5;
    margin-right: 8px;
}
.agreement-item .form-check-label {    
    color: #333333aa;
}
.agreement-item:before { 
    display: none !important;
}
.agreement-link { 
    margin-left: auto;
    margin-right: 5px;
    color: #bbb;
    font-size: 17px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.agreement-link:hover { 
    color: #462cc5;
}

.form-check { 
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-check-label { 
    font-size: 12px;
    color: #333; 
    cursor: pointer;
}

.required-mark { 
    color: #FF3B30;
    margin-left: 3px;
}

.radio-group { 
    display: flex;
    gap: 20px;
    margin-bottom: 20px;        
}

.radio-group .form-check { 
    padding: 10px 10px;
    margin: 0;
}


.radio-group .form-check-input:checked + .form-check-label {
    font-weight: 600;
    color: #462cc5;
}

.radio-group .form-check-input { 
    width: 16px;
    height: 16px;
    margin-left: 0;
    margin-right: 4px;
}

.radio-group .form-check-input[type="radio"] {
    accent-color: #462cc5;
}

.radio-group .form-check-input[type="radio"]:checked { 
    background-color: #462cc5;
    border-color: #462cc5;
}
   
.complete-container { 
text-align: center;
padding: 50px 20px;
width: 500px;
margin: 0 auto;
background-color: #f0f4ff;
border-radius: 20px;
}

.complete-image { 
margin-bottom: 30px;
display: flex;
justify-content: center;
align-items: center;
}

.complete-image img { 
width: 450px;
max-width: 100%;
height: auto;
object-fit: contain;
    display: block;
}

.complete-title { 
color: #333;
font-size: 24px;
margin-bottom: 15px;
}

.complete-text { 
color: #33333380;
font-size: 16px;
margin-bottom: 40px;
}
.form-label {
    display: block;
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 8px;
    color: #333;
}
.form-group {
    margin-bottom: 15px;
}
.form-check-input:checked
{
    background-color: #462cc5;
    border-color: #462cc5;
}
.form-control:focus,
.form-select:focus {
    border-color: #7d65f2;    
    box-shadow: none;
    outline: none;
}
.form-group input:focus {
    outline: none;
    border-color: #7d65f2;
}
.form-buttons {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 1rem;
    text-align: center;
}

.btn-kakao-move {
    background-color: #FFE500;
    color: #333;
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 14px;
    border-radius: 8px;
    border: none;
}

.kakao-modal {
    display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4); justify-content: center; align-items: center;
}
.kakao-modal.show { display: flex; }
.kakao-modal-content {
    background: #fff; border-radius: 12px; padding: 32px 24px 24px 24px; max-width: 350px; width: 90%; text-align: center; position: relative;
}
.kakao-modal-close {
    position: absolute; right: 16px; top: 12px; font-size: 24px; cursor: pointer; color: #888;
}
.kakao-modal-text { margin-bottom: 20px; font-size: 15px; color: #333; text-align: left;}
.kakao-modal-text strong { color: #333; font-weight: 600; text-align: center;}
.btn-kakao-go { background: #fee500; color: #222; border: none; border-radius: 8px; padding: 12px 24px; font-size: 16px; font-weight: bold; cursor: pointer; }
.btn-kakao-go:hover { background: #ffe066; }
  
/* 모바일 환경에서 완료 페이지 스타일 */
@media (max-width: 767px) {
    .complete-container {
        width: 100%;
        max-width: 90%;
        padding: 30px 15px;
        border-radius: 15px;
    }

    .complete-image {
        margin-bottom: 20px;
    }

    .complete-image img {
        width: 280px;
        max-height: 220px;
    }

    .complete-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .complete-text {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .complete-container .btn-submit {
        width: 100%;
        padding: 12px 0;
        font-size: 16px;
    }
}
/* phone/form END */
/*****************/

/**************************/
/* notice 포함 글로벌 클래스 */
.seo-thumbnail-image {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

.breadcrumb-item {
    color: #333333cc;
}
.author-text {
    font-size: 14px;
    color: #333333aa;
    text-align: left;
}
@media (max-width: 768px) {
    .author-text,
    strong {
        font-size: 12px;
    }
}
/* 공지사항 팝업 스타일 */
.notice-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 13;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.notice-popup-overlay.active {
    display: flex;
}

.notice-popup-container {
    background: white;    
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: popupSlideIn 0.3s ease-out;
    border-radius: 8px;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.notice-popup-content {
    position: relative;
    padding: 0;
}

.notice-popup-close {
    position: absolute;
    top: 7px;
    right: 15px;
    background: #fff;
    color: #333;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10001;
    display: flex;    
    justify-content: center;
}

.notice-popup-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.notice-popup-header {
    margin-bottom: 20px;    
}

.notice-popup-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.notice-popup-content-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.notice-popup-content-text img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 15px 0;
}

.notice-popup-content-text p {
    margin-bottom: 0;
    color: #33333380;
    font-size: 14px;
    font-weight: 500;
}

.notice-popup-content-text p:last-child {
    margin-bottom: 0;
}

.notice-popup-content-text blockquote {
    display: block;
    border-left: 4px solid #462cc5;
    padding-left: 15px;
    margin-bottom: 0px;
    font-style: italic;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    background-color: #f6f5ff;
}

.notice-popup-content-text .ql-code-block-container {
    background-color: #f6f5ff;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.notice-popup-content-text .ql-code-block-container .ql-code-block:first-child {
    color: #7d65f2;
    font-weight: 700;
}


.notice-popup-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.notice-popup-actions .btn {
    background: linear-gradient(135deg, #462cc5 0%, #3717ce 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(70, 44, 197, 0.3);
}

.notice-popup-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 44, 197, 0.4);
    color: white;
    text-decoration: none;
}

.notice-popup-footer {
    background-color: #333;
    padding: 0;
    border-top: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.notice-popup-footer-btn {
    flex: 1;
    background: #7d65f2;
    border: none;
    color: white;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    height: 100%;    
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-popup-footer-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.notice-popup-footer-btn:first-child {    
    background: #7d8288;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .notice-popup-overlay {
        padding: 10px;
    }
    
    .notice-popup-container {
        max-height: 90vh;
        border-radius: 8px;
        max-width: 95%;
    }
    
    .notice-popup-body {        
        max-height: 70vh;
    }
    
    .notice-popup-header h3 {
        font-size: 18px;
    }
    
    .notice-popup-content-text {
        font-size: 12px;
    }
    
    .notice-popup-actions .btn {
        padding: 10px 25px;
        font-size: 12px;
    }
    
    .notice-popup-footer {
        height: 50px;
    }
    
    .notice-popup-footer-btn {
        font-size: 11px;
    }
    
    .notice-popup-close {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }    

    .notice-popup-content-text blockquote {
        font-size: 11px;
    }
}
/* global class END */
/*****************************/
/* 최상단 이동 버튼 스타일 (layout 참조) */
.scroll-to-top-btn {
    position: fixed;
    right: calc(50% - 620px);
    bottom: 50px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px #462cc50f;
    border: 1px solid #f6f5ff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-btn i {
    font-size: 18px;
    position: relative;
    top: -1px;
}

@media (max-width: 768px) {
    .scroll-to-top-btn {
        width: 50px;
        height: 50px;
        right: 20px;
        bottom: 70px;
    }
    .scroll-to-top-btn i {
        font-size: 16px;
    }
}

/* 새로운 따라다니는 버튼 스타일 */
.floating-action-btn {
    position: fixed;
    right: calc(50% - 620px);
    bottom: 60px; /* scroll-to-top 버튼보다 60px 위에 배치 */
    width: 60px;
    height: 60px;    
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 8px #462cc50f;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: bottom 0.2s ease, transform 0.3s ease;
    z-index: 1;
}

.floating-action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px #462cc50f;
}


.floating-action-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .floating-action-btn {
        width: 50px;
        height: 50px;
        right: 20px;
        bottom: 70px; /* 모바일 기본 위치 */
    }   
}

/* ==================== 인터넷페이지 스타일 ==================== */

/* 베스트 요금제 섹션 - 새로운 카드형 디자인 */
.best-plans-showcase {
    padding: 70px 0;
    background: #fff;
}

.best-plans-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

.best-plans-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;    
}

.best-badge {
    background: #FFF1F9;
    color: #E50781;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    width: 53px;
}

.best-plans-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* 데스크톱: 3열 그리드 */
.best-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 모바일: 스와이퍼 */
.best-plans-swiper {
    /*overflow: hidden;*/
}

.best-plan-card {
    background: #fff;
    border: 2px solid #f6f5ff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    height: 100%;
}

.best-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px #462cc50f;
    text-decoration: none;
    color: inherit;
}

.plan-provider {
    text-align: left;
    margin-bottom: 8px;
}

.provider-text {
    font-size: 14px;
    color: #33333380;            
    display: inline-block;
}

.plan-brand {
    text-align: center;
    margin-bottom: 16px;
    display: flex;
    align-items: center;    
    gap: 8px;
}

.plan-brand img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-bottom: 0;
}

.plan-title {
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.plan-channels {
    font-size: 14px;
    color: #33333380;
    display: inline-block;
}

.plan-gift-info {
    display: flex;
    flex-direction: column;    
    justify-content: center;
    gap: 6px;
    background: #fff5f8;
    padding: 30px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.gift-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #E50781;
    font-weight: 700;
    line-height: 1;
}
.gift-row i { font-size: 16px; }
.gift-label { font-size: 14px; font-weight: 700; }
.gift-amount { font-size: 18px; color: #333; font-weight: 600; }

.plan-pricing {
    text-align: center;
    border-top: 1px solid #f6f5ff;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.price-original {
    display: block;
    font-size: 16px;
    color: #33333380;
    margin-bottom: 0;
    font-weight: 500;
}

.price-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.price-discount {
    display: inline-block;
    background: #F5F5F5;
    color: #33333380;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.price-final {
    font-size: 20px;
    font-weight: 600;
    color: #7d65f2;
}

/* 반응형 */
.mobile-only {
    display: none;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.provider-card {
    background: #fff;
    border-radius: 12px;
    padding: 0 0 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    
}

/*.provider-card:hover {*/
.provider-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px #462cc50f;
    text-decoration: none;
    color: #333;
}

.provider-logo {
    width: 100%;
    height: 143px;
    border: 1px solid #f6f5ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;   
    transition: all 0.3s ease; 
}

.provider-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.provider-name {
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    margin-top: 4px;
}

/* AI 추천 섹션 */
.ai-recommendation {
    padding: 40px 0;
    background: #f8f9fa;
}

.ai-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.ai-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 24px;
}

.ai-robot {
    flex-shrink: 0;
}

.robot-image {
    width: 120px;
    height: 120px;
    background: #462cc5;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.robot-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.ai-text {
    flex: 1;
}

.ai-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.ai-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.ai-button {
    display: inline-block;
    background: #462cc5;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ai-button:hover {
    background: #3a1fa3;
    color: #fff;
    text-decoration: none;
}

.ai-banner {
    flex: 1;
    width: 100%;
    height: 100%; /* 그리드 행 높이(=action-card 높이)에 맞춤 */
    overflow: hidden;
}

.ai-banner img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .ai-banner {
        height: auto; /* 스택 레이아웃에서 자연 높이 유지 */
    }
    .ai-banner img {
        height: auto;
    }
}

/* 인터넷 현황 스타일 */
.board-block.internet-status-block {
    border-radius: 0;
    background: #f9f9f9; /* 슬라이드 시 부모 배경 노출 방지: 리스트 배경과 일치 */
}
.realtime-badge {
    background: #f6f5ff;
    color: #7d65f2;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;    
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #f9f9f9;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #f6f5ff;
    border-radius: 8px;
    height: 50px; /* 고정 높이 */
    flex-shrink: 0; /* 축소 방지 */
}

.status-date {
    font-size: 12px;
    color: #33333380;
    min-width: 60px;
}

.status-provider {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-provider img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.status-name {
    font-size: 14px;
    color: #333;
    min-width: 35px;    
}

.status-new {
    background: #FFF1F9;
    color: #E50781;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.status-info {
    font-size: 12px;
    color: #666;
    flex: 1;
    text-align: right;
}

/* 인터넷 후기 배지 */
.review-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #FFF1F9;
    color: #E50781;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
}

.review-image {
    position: relative;
}

/* 인터넷 플로팅 버튼 */
.internet-floating-buttons-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.internet-button {
    background: #462cc5;
    color: #fff;
    padding: 12px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(70, 44, 197, 0.3);
    transition: all 0.3s ease;
}

.internet-button:hover {
    background: #3a1fa3;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(70, 44, 197, 0.4);
}

.internet-button.consult-button {
    background: #ff6b9d;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

.internet-button.consult-button:hover {
    background: #ff5a8a;
    box-shadow: 0 6px 16px rgba(255, 107, 157, 0.4);
}

/* 버튼 스타일 통일 */
.btn-list-button {
    color: #33333380;
    background: #F5F5F5;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;    
    border-radius: 8px;
    text-decoration: none;
    border: none;
}

.btn-delete-button,
.btn-edit-button {
    color: #33333380;
    background: none;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;    
    text-decoration: none;
    border: none;
}
    
/*
.btn-submit-button {
    color: #fff;
    background: #462cc5;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;    
    border-radius: 8px;
    text-decoration: none;
    border: none;
    
}*/

.btn-submit-button {
    color: #fff;
    background: #462cc5;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;    
    border-radius: 8px;
    text-decoration: none;
    border: none;
    
}

.btn-cancel-button {
    color: #33333380;
    background: #F5F5F5;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;    
    border-radius: 8px;
    text-decoration: none;
    border: none;
}
/* END */


/* 인터넷 페이지 반응형 */
@media (max-width: 768px) {
    /* 베스트 요금제 반응형 */
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
        overflow: hidden;
    }
    
    .best-plans-showcase {
        padding: 40px 0;
    }    

    .provider-text {
        font-size: 12px;
    }
  
    .best-plans-title {
        font-size: 20px;
    }
    
    .best-plan-card {
        padding: 20px;
        gap: 12px;
    }

    .plan-brand {
        gap: 4px;
    }
    .plan-brand img {
        width: 20px;
        height: 20px;
    }
    
    .plan-title {
        font-size: 18px;
    }

    .price-original {
        font-size: 14px;
    }
    
    .price-final {
        font-size: 18px;
    }

    .plan-channels {
        font-size: 12px;
    }

    
}

@media (max-width: 768px) {
    .showcase-container {
        display: flex;
        flex-direction: column;
        gap: 50px;
        padding: 0 20px;
    }

    .faq-title {
        font-size: 20px;
    }
    
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }    
    
    .provider-logo {        
        height: 120px;
    }
    
    .provider-logo img {
        width: 80px;
        height: 80px;
    }
    
    .provider-name {
        font-size: 14px;
    }
    
    .ai-container {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
    }
    
    .ai-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .robot-image {
        width: 100px;
        height: 100px;
    }
    
    .robot-image img {
        width: 60px;
        height: 60px;
    }
    
    .internet-floating-buttons-container {
        bottom: 100px;
        right: 16px;
    }
    
    .internet-button {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .internet-button .desktop-only {
        display: none;
    }
    
    /* 모바일에서 board-block 높이 조정 */
    .board-block.internet-status-block {
        height: 250px;
    }
    
    .status-item {
        height: 40px;
        padding: 8px;
        gap: 8px;
    }
}

/* 알림 관련 스타일 */
.notification-icon {
    position: relative;
    cursor: pointer;
    text-align: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    top: 2px;
    left: 5px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.notification-icon:hover {
    background-color: #f6f5ff;
}

.notification-icon.active {
    background-color: #f6f5ff;
}


.notification-icon i {
    font-size: 20px;
    color: #462cc5;
    transition: color 0.3s ease;
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 5px;
    background-color: #ff4757;
    border: 2px solid #fff;
    color: white;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    font-size: 9px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    display: none;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 8px); /* 아이콘 아래로 살짝 띄움 */
    right: 0; /* 기본은 아이콘 오른쪽 정렬 */
    width: 350px;
    max-width: min(90vw, 360px);
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.notification-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f3f4;
}

.notification-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 20px;
    border-bottom: 1px solid #f8f9fa;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.unread {
    background-color: #f6f5ff;
    border-left: 3px solid #7d65f2;
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 8px;
    height: 8px;
    background-color: #7d65f2;
    border-radius: 50%;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.4;
}

.notification-message {
    color: #33333380;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notification-time {
    color: #33333380;
    font-size: 11px;
}

.notification-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.notification-footer {
    padding: 4px 20px;    
    text-align: center;
}

.notification-all-link {
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.notification-all-link:hover {
    text-decoration: underline;
}

.notification-loading,
.notification-empty,
.notification-error {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.notification-error {
    color: #dc3545;
}

/* 모바일 알림 스타일 */
@media (max-width: 768px) {
    .notification-icon {
        top: 0px;
        left: 10px;
    }     
    
    .notification-dropdown {
        width: 320px;    
    }
    
    .notification-item {
        padding: 10px 16px;
    }
    
    .notification-header {
        padding: 12px 16px;
    }
    
    .notification-icon i {
        font-size: 16px;
    }   
}

/* ============================================
   기종별 시세 현황 페이지 (drops_price_table.html)
   ============================================ */

.price-table-section {
    display: flex;
    flex-direction: column;    
    width: 100%;
    padding: 60px 20px;    
}

.price-table-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 980px;
    background: #fff;
    border-radius: 0 0 16px 16px;
    padding: 30px 24px;
    /*border: 1px solid #7d65f2;*/
    border: 2px solid #f6f5ff;
    box-shadow: 0 4px 8px #462cc50f;

}

/* 헤더 */
.price-table-header {
    display: flex;    
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.price-table-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.price-table-date {
    display: flex;
    align-items: center;
}

.price-table-date .date-label {
    font-size: 14px;
    font-weight: 600;
    color: #7d65f2;
    padding: 6px 14px;
    background: #f6f5ff;
    border-radius: 12px;
}

/* 컨트롤 영역 */
.price-table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;    
    gap: 20px;
    flex-wrap: wrap;
}

.price-table-tabs {
    display: flex;
    gap: 16px;
}

.price-tab {    
    font-size: 16px;
    font-weight: 600;
    color: #666;
    background: #fff;
    border: none;    
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.4;
}

.price-tab.active {
    font-size: 18px;
    color: #333;
    font-weight: 700;
    opacity: 1;
    padding-bottom: 2px;
    border-bottom: 1px solid #333;
    
}

.price-table-carriers {
    display: flex;
    gap: 12px;
    align-items: center;
}

.carrier-logo-btn {
    width: 50px;
    height: 50px;
    object-fit: contain;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px;
    background: #f8f9fa;
    filter: grayscale(100%);
}

.carrier-logo-btn.active {
    opacity: 1;
    background: #f6f5ff;
    box-shadow: 0px 4px 8px #462cc526;
    filter: none;
}

.carrier-logo-btn:hover {
    opacity: 0.8;
}

/* 필터 영역 */
.price-table-filters {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.capacity-buttons,
.signup-type-buttons {
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
}

.capacity-btn,
.signup-type-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    background: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 8px 0 0 0;
    cursor: pointer;    
    opacity: 0.4;
}

.capacity-btn.active,
.signup-type-btn.active {
    color: #7d65f2;    
    border-color: #f6f5ff;
    border-bottom: none;    
    background: #fff;
    font-size: 16px;
    margin-bottom: -2px;
    box-shadow: 1px -6px 8px #462cc50b;
    border-radius: 8px 8px 0 0;
    z-index: 1;
    opacity: 1;
}


.signup-type-btn:nth-child(2),
.capacity-btn:nth-child(2) {
    /* 두 번째 버튼 스타일 */
    border-radius: 0 8px 0 0;
    background: #f5f5f5;
}

/* 3개 버튼이 있을 때의 두 번째 버튼 */
.capacity-btn:nth-child(2):not(:last-child),
.signup-type-btn:nth-child(2):not(:last-child) {
    /* 3개 중 두 번째 버튼 스타일 */
    border-radius: 0;
    background: #f5f5f5;
}

.capacity-btn:nth-child(2).active,
.signup-type-btn:nth-child(2).active {
    /* 두 번째 버튼 스타일 */    
    background: #fff;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

/* 3개 버튼이 있을 때의 두 번째 버튼 */
.capacity-btn:nth-child(2):not(:last-child).active,
.signup-type-btn:nth-child(2):not(:last-child).active {
    /* 3개 중 두 번째 버튼 스타일 */    
    background: #fff;
    border-bottom: none;    
}

.capacity-btn:nth-child(3){
    background: #f5f5f5;
    border-radius: 0 8px 0 0;
}

.capacity-btn:nth-child(3).active {
    border-radius: 8px 8px 0 0;    
    border-bottom: none;
    background: #fff;
}



.capacity-btn:hover:not(.active),
.signup-type-btn:hover:not(.active) {
    background: #e9ecef;
}

/* 리스트 */
.price-table-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-table-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: #fff;    
    border-bottom: 1px solid #f6f5ff;
    transition: all 0.3s ease;
}

.price-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.price-item-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 8px;
}

.price-item-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-item-name-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.price-item-name {
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.price-item-provider {
    font-size: 16px;
    color: #33333380;
}

.price-item-badge {
    padding: 4px 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
}

.price-item-badge.down {
    color: #ff4757;
    background: #fff5f5;
}

.price-item-badge.up {
    color: #2e86de;
    background: #f0f7ff;
}

.price-item-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.price-item-change {
    display: flex;
    align-items: center;
    gap: 6px;    
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    min-width: 140px;
    justify-content: center;
}
.price-item-change span {
    font-size: 16px;
}

.price-item-change.down {
    color: #ff4757;
    background: #fff5f5;
}

.price-item-change.down i {
    font-size: 14px;
}

.price-item-change.up {
    color: #2e86de;
    background: #f0f7ff;
}

.price-item-change.up i {
    font-size: 14px;
}

.price-item-change.neutral {
    color: #95a5a6;
    background: #f8f9fa;
    font-weight: 500;
}

.price-item-consult {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #33333380;
    background: #F5F5F5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
}

.price-item-consult:hover {    
    transform: translateY(-2px);
}

/* 로딩 & 에러 & 빈 상태 */
.price-table-loading,
.price-table-error,
.price-table-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 12px;
    color: #666;
    font-size: 15px;
}

.price-table-loading i {
    font-size: 32px;
    color: #007bff;
}

.price-table-error {
    color: #ff4757;
}

/* NEW Badge Styles */
.price-item-new-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4757;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-drop-new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff4757;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 3px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 반응형 */
@media (max-width: 768px) {
    .price-table-section {
        padding: 40px 20px;        
    }

    .price-table-container {
        padding: 24px 16px;
    }

    .price-table-title {
        font-size: 22px;
    }

    .price-table-header {     
        gap: 16px;
        margin-bottom: 18px;
    }   
  

    .price-tab {       
        font-size: 14px;        
    }
    

    .carrier-logo-btn {
        width: 40px;
        height: 40px;
    }   

    .price-table-filters {
        flex-direction: column;
        gap: 16px;
    }

    .capacity-buttons,
    .signup-type-buttons {
        min-width: 160px;
    }

    .capacity-btn,
    .signup-type-btn {
        flex: 1;
        padding: 4px 10px;
        font-size: 13px;
        text-align: center;
    }

    .price-table-item {
        flex-direction: column;
        gap: 16px;
        padding: 10px 0;
    }

    .price-item-left {
        width: 100%;
    }
    .price-tab.active {
        font-size: 16px;
    }

    .price-table-controls {
        margin-bottom: 18px;
    }

    .price-item-right {
        width: 100%;
        justify-content: end;
    }

    .price-item-image {
        width: 80px;
        height: 80px;
    }

    .price-item-name {
        font-size: 16px;
    }

    .price-item-info {
        gap: 0;
    }

    .price-item-provider {
        font-size: 12px;
    }

    .price-item-change {        
        padding: 6px 12px;
        min-width: auto;
    }
    .price-item-name-group {
        gap: 12px;
    }

    .price-item-badge {
        font-size: 12px;
        padding: 2px 6px;
        border-radius: 4px;
    }

    .price-item-change span {
        font-size: 14px;
    }

    .price-item-consult {
        padding: 8px 20px;
        font-size: 13px;
        width: auto;
    }

    .capacity-btn:nth-child(2).active,
    .capacity-btn:nth-child(3).active,
    .capacity-btn:nth-child(2):not(:last-child).active,
    .capacity-btn.active {
        margin-bottom: -2px;
        font-size: 16px;
        border-radius: 8px;        
        background: #f6f5ff;
    } 

    .signup-type-btn.active {
        margin-bottom: -2px;
        font-size: 16px;
    }

    .price-drop-new-badge,
    .price-item-new-badge {
        top: 0;
        left: 0;
    }
}

/* 상담 팝오버 스타일 */
.consult-popover {
    position: fixed;
    z-index: 9999;
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

/* 상담 팝오버 컨테이너 */
.consult-popup-container {
    background: white;
    border-radius: 16px;
    max-width: 400px;
    width: 400px;
    max-height: 80vh;
    position: relative;
    box-shadow: 1px 2px 8px #462cc526;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    /* 데스크톱 애니메이션: 오른쪽 아래에서 시작 */
    transform-origin: right bottom;
    transform: scale(0);
    opacity: 0;
}

/* 상담 모달 콘텐츠 */
.consult-modal-content {
    flex: 1;
    overflow-y: auto;
    border: none;
    width: 100%;
    max-width: none;
}

/* 성공 메시지 스타일 */
.consult-success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    height: 100%;
    min-height: 300px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #f6f5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #7d65f2;
    font-weight: bold;    
    animation: successPulse 0.6s ease-out;
}

.success-text {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    font-weight: 500;
}

.success-text strong {
    font-size: 24px;
    color: #7d65f2;
    line-height: 2.8;
}

.success-text span {
    text-decoration: underline;
    color: #7d65f2;
    font-weight: 600;
}

@keyframes successPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.consult-modal-content .modal-header {    
    text-align: left;
    margin-bottom: 0;
    border-bottom: none;
    padding: 0;
}

.consult-modal-content .modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
}

.consult-modal-content .modal-body {
    padding: 0;
    flex: 1;
    overflow-y: auto;
}

/* 서비스 선택 */
.service-selection {
    margin-bottom: 24px;
}

.selection-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
    text-align: left;
}

.service-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.service-option {
    flex: none;
    min-width: 80px;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;    
    text-align: center;
}

.service-option:hover {
    border-color: #7d65f2;
    color: #7d65f2;
}

.service-option.selected {
    background: #f6f5ff;
    border-color: #7d65f2;
    color: #7d65f2;
}

/* 개인정보 입력 */
.personal-info {
    margin-bottom: 24px;
}

.info-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
    text-align: left;
}

.input-group {
    margin-bottom: 12px;
}

.personal-input-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.name-input {
    flex: 1;
    padding: 6px 12px;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.name-input:focus {
    outline: none;
    border-color: #7d65f2;
}

.form-input {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 12px;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #7d65f2;
}

.phone-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 2;
}

.phone-input {
    flex: 1;
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 12px;
    text-align: center;
    transition: border-color 0.2s ease;
}

.phone-input:focus {
    outline: none;
    border-color: #7d65f2;
}

.phone-input[readonly] {
    background: #f8f9fa;
    color: #666;
}

/* 개인정보수집동의 */
.privacy-agreement {
    display: flex;
    align-items: center;
    justify-content: space-between;
}    

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #7d65f2;
    border-color: #7d65f2;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

span.checkbox-text {
    font-size: 14px;
    color: #33333380;
    font-weight: 500;
}

.privacy-view-btn {
    background: none;
    border: none;
    color: #7d65f2;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px 0;
}

.privacy-view-btn:hover {
    color: #7d65f2;
}

/* 상담 팝업 푸터 - notice-popup-footer와 동일한 구조 */
.consult-popup-footer {
    display: flex;
    gap: 0;
    border-top: 1px solid #f0f0f0;
    background: white;
    border-radius: 0 0 16px 16px;
}

.consult-popup-footer-btn {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    border-top: none;
}

.consult-popup-footer-btn.chat-consult-btn {
    background: #FAE301;
    color: #333;
    font-weight: 600;
    border-radius: 0 0 0 16px;
}

.consult-popup-footer-btn.chat-consult-btn:hover {
    background: #FAE301;
}

.consult-popup-footer-btn.phone-consult-btn {
    background: #7d65f2;
    color: white;
    border-radius: 0 0 16px 0;
}

.consult-popup-footer-btn.phone-consult-btn:hover:not(:disabled) {
    background: #7d65f2;
}

.consult-popup-footer-btn.phone-consult-btn:disabled,
.consult-popup-footer-btn.phone-consult-btn.disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
    opacity: 0.6;
}

.consult-popup-footer-btn.phone-consult-btn:disabled:hover,
.consult-popup-footer-btn.phone-consult-btn.disabled:hover {
    background: #E5E7EB;
    color: #9CA3AF;
}

.policy-container {
    max-width: 980px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.policy-title {
    font-size: 20px;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: center;
}

.policy-date {
    text-align: center;
    color: #333333aa;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    font-size: 18px;
    margin-bottom: 1rem;
    color: #462cc5;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.policy-section p {
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 14px;
}

.policy-section ol, 
.policy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 2px;
    font-size: 14px;
}

.policy-section li {
    /*margin-bottom: 0.5rem;*/
    line-height: 1.6;
    font-size: 14px;
}

.policy-section strong {
    font-weight: 600;
}
.policy-section table {
    font-size: 14px;
}



/* 모바일 반응형 */
@media (max-width: 768px) {
    .consult-popup-container {
        width: 100%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
        /* 모바일에서는 슬라이드업 애니메이션 */
        transform-origin: center bottom;
        transform: translateY(100%);
        opacity: 1;
    }
    
    .service-options {
        justify-content: flex-start;
        gap: 6px;
    }
    
    .service-option {
        flex: none;
        min-width: 70px;
        padding: 6px 12px;
    }
    
    .personal-input-row {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .name-input {
        font-size: 16px;
        flex: none;
    }
    
    .phone-input-group {
        flex: none;
        justify-content: center;
        gap: 8px;
    }
    
    .phone-input {
        flex: 1;
        max-width: 80px;
        font-size: 16px;
    }
    
    .privacy-agreement {        
        align-items: flex-start;
        gap: 12px;
    }
    
    .privacy-view-btn {
        align-self: flex-end;
    }

    .consult-popup-footer-btn.phone-consult-btn,
    .consult-popup-footer-btn.chat-consult-btn {
        border-radius: 0;
    }

    .success-text {
        font-size: 14px;
    }

}