/* 광컴퍼니 - 온라인 휴대폰 판매 사이트 스타일 */

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #e91e63;
    --secondary-color: #9c27b0;
    --accent-color: #ff5722;
    --lguplus-color: #e91e63;
    --success-color: #4caf50;
    --warning-color: #ffc107;
    --dark-color: #212529;
}

/* 기본 스타일 */
html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
}

/* ===== 엘지티샵 스타일 헤더 ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
    border-bottom: 1px solid #f0f0f0;
}

.header-content {
    display: flex;
    align-items: center;
    height: 65px;
    gap: 40px;
}

/* 로고 */
.header-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-uplus {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--lguplus-color);
    line-height: 1;
}

.logo-uplus sup {
    font-size: 0.7em;
    color: var(--lguplus-color);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark-color);
    letter-spacing: -0.5px;
}

/* 카테고리 탭 */
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.nav-tab {
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.nav-tab:hover {
    color: var(--lguplus-color);
    background: #fff5f8;
}

.nav-tab.active {
    color: var(--lguplus-color);
    background: transparent;
    position: relative;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: var(--lguplus-color);
    border-radius: 3px 3px 0 0;
}

/* 우측 메뉴 */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-link {
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.header-link:hover {
    color: var(--lguplus-color);
}

/* ===== 헤더 검색 (PC) ===== */
.header-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-toggle {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #666;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s;
}

.header-search-toggle:hover {
    color: var(--lguplus-color);
    background: rgba(233, 30, 99, 0.08);
}

.header-search-box {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    overflow: visible;
    transition: width 0.3s ease, opacity 0.25s ease;
    pointer-events: none;
}

.header-search-box.open {
    width: 320px;
    opacity: 1;
    pointer-events: all;
}

.header-search-input {
    width: 100%;
    padding: 10px 40px 10px 16px;
    border: 2px solid var(--lguplus-color);
    border-radius: 24px;
    font-size: 0.9rem;
    outline: none;
    background: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.header-search-input::placeholder {
    color: #aaa;
}

.header-search-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px;
}

.header-search-close:hover {
    color: var(--lguplus-color);
}

/* 검색 결과 드롭다운 (공통) */
.search-results-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 2000;
}

.search-results-dropdown.show {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--dark-color);
    transition: background 0.15s;
    border-bottom: 1px solid #f5f5f5;
}

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

.search-result-item:first-child {
    border-radius: 14px 14px 0 0;
}

.search-result-item:last-child {
    border-radius: 0 0 14px 14px;
}

.search-result-item:only-child {
    border-radius: 14px;
}

.search-result-item:hover {
    background: #f8f0f4;
}

.search-result-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-name em {
    color: var(--lguplus-color);
    font-style: normal;
    font-weight: 700;
}

.search-result-price {
    font-size: 0.78rem;
    color: #888;
    margin-top: 2px;
}

.search-result-price strong {
    color: var(--lguplus-color);
    font-weight: 700;
}

.search-no-result {
    padding: 24px 16px;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

.search-no-result i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 6px;
    color: #ddd;
}

/* ===== 모바일 헤더 버튼 ===== */
.mobile-header-btns {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.mobile-search-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.15rem;
    color: #555;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
}

.mobile-search-btn:hover {
    color: var(--lguplus-color);
    background: rgba(233, 30, 99, 0.08);
}

/* 모바일 메뉴 버튼 */
.mobile-menu-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

/* ===== 모바일 풀스크린 검색 오버레이 ===== */
.mobile-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9999;
    flex-direction: column;
}

.mobile-search-overlay.show {
    display: flex;
}

.mso-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.mso-icon {
    font-size: 1.1rem;
    color: #999;
    flex-shrink: 0;
}

.mso-input {
    flex: 1;
    padding: 10px 0;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
}

.mso-close {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 0.9rem;
    color: var(--lguplus-color);
    font-weight: 600;
    cursor: pointer;
    padding: 8px 4px;
}

.mso-results {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.mso-results .search-result-item {
    padding: 14px 18px;
    gap: 14px;
}

.mso-results .search-result-img {
    width: 52px;
    height: 52px;
}

.mso-results .search-result-name {
    font-size: 0.92rem;
}

.mso-results .search-no-result {
    padding: 60px 20px;
    font-size: 0.95rem;
}

.mso-results .search-no-result i {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* 모바일 메뉴 */
.mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 10px 0;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu-inner {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.2s;
    white-space: nowrap;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--lguplus-color);
    background: #fce4ec;
}

.mobile-nav-item i {
    font-size: 0.95rem;
}

/* 메인 컨텐츠 */
.main-content {
    padding-top: 77px; /* 65px header + 12px gap */
    padding-bottom: 20px;
}

@media (max-width: 991px) {
    .main-content {
        padding-top: 63px; /* 55px header + 8px gap */
    }
}

@media (max-width: 576px) {
    .main-content {
        padding-top: 58px; /* 50px header + 8px gap */
    }
}

@media (max-width: 767px) {
    .main-content {
        padding-bottom: 10px;
    }
    .main-content > .container {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* 반응형 헤더 */
@media (max-width: 991px) {
    .header-content {
        height: 55px;
        gap: 20px;
    }

    .logo-uplus {
        font-size: 1.5rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .header-content {
        height: 50px;
    }

    .logo-uplus {
        font-size: 1.3rem;
    }

    .logo-text {
        font-size: 1.05rem;
    }
}

/* 휴대폰 카드 */
.phone-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.phone-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.phone-card .card-img-wrapper {
    position: relative;
    padding: 16px 12px;
    background: #fafafa;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-card .card-img-top {
    max-height: 160px;
    width: auto;
    object-fit: contain;
}

.phone-card .manufacturer-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
}

.manufacturer-badge.samsung {
    background-color: #1428a0;
    color: white;
}

.manufacturer-badge.apple {
    background-color: #000;
    color: white;
}

.phone-card .card-body {
    padding: 12px;
}

.phone-card .phone-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 4px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .phone-card .card-img-wrapper {
        padding: 12px 8px;
        min-height: 130px;
    }
    .phone-card .card-img-top {
        max-height: 130px;
    }
    .phone-card .card-body {
        padding: 10px 8px;
    }
    .phone-card .phone-name {
        font-size: 0.82rem;
    }
    .phone-card .manufacturer-badge {
        top: 6px;
        left: 6px;
        padding: 1px 6px;
        font-size: 0.58rem;
    }
    .row.g-4 {
        --bs-gutter-x: 8px;
        --bs-gutter-y: 8px;
    }
}

/* ===== index.php 카드 가격 정보 ===== */
.phone-card .price-info {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 8px 10px;
    margin-top: 8px;
    position: relative;
}

.phone-card .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    flex-wrap: nowrap;
}

.phone-card .price-row.plan-row {
    justify-content: center;
    padding: 2px 0;
    border-bottom: none;
}

.phone-card .price-row.final-row {
    border-top: 1px solid #e0e0e0;
    padding-top: 6px;
    margin-top: 2px;
}

.phone-card .plan-basis {
    font-size: 0.65rem;
    color: #999;
    background: #eee;
    padding: 1px 8px;
    border-radius: 8px;
    font-weight: 500;
}

.phone-card .price-label {
    font-size: 0.72rem;
    color: #888;
    font-weight: 500;
    flex-shrink: 0;
}

.phone-card .price-value {
    font-size: 0.82rem;
    color: #333;
    font-weight: 600;
    text-align: right;
}

.phone-card .price-value.original {
    color: #aaa;
    text-decoration: line-through;
    font-size: 0.78rem;
    font-weight: 400;
}

.phone-card .price-value.discount {
    color: var(--lguplus-color);
    font-weight: 700;
    font-size: 0.82rem;
}

.phone-card .price-value.final {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--lguplus-color);
}

.phone-card .discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 6px;
    background: linear-gradient(135deg, var(--lguplus-color), #c2185b);
    border-radius: 8px;
    font-size: 0.6rem;
    color: white;
    font-weight: 700;
    white-space: nowrap;
}

.phone-card .discount-badge i {
    font-size: 0.55rem;
}

/* 반응형 가격 정보 */
@media (max-width: 767px) {
    .phone-card .price-info {
        padding: 6px 8px;
        margin-top: 6px;
    }
    .phone-card .price-label {
        font-size: 0.65rem;
    }
    .phone-card .price-value {
        font-size: 0.72rem;
    }
    .phone-card .price-value.original {
        font-size: 0.68rem;
    }
    .phone-card .price-value.final {
        font-size: 0.9rem;
    }
    .phone-card .discount-badge {
        padding: 1px 5px;
        font-size: 0.55rem;
    }
    .phone-card .plan-basis {
        font-size: 0.58rem;
    }
}

/* 이전 가격 클래스 숨김 (하위 호환) */
.phone-card .original-price,
.phone-card .sale-price,
.phone-card .monthly-price {
    display: none;
}

/* 색상 선택 */
.color-options {
    display: flex;
    gap: 5px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-dot:hover,
.color-dot.active {
    border-color: var(--lguplus-color);
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(233, 30, 99, 0.3);
}

@media (max-width: 767px) {
    .color-dot {
        width: 14px;
        height: 14px;
        border-width: 1.5px;
    }
    .color-options {
        gap: 4px;
        margin-bottom: 4px;
    }
}

/* 상세 페이지 */
.detail-section {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.detail-section h5 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lguplus-color);
}

/* 요금제 선택 */
.plan-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.plan-card:hover {
    border-color: var(--lguplus-color);
    background-color: #fff5f8;
}

.plan-card.selected {
    border-color: var(--lguplus-color);
    background-color: #fce4ec;
}

.plan-card .plan-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark-color);
}

.plan-card .plan-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--lguplus-color);
}

.plan-card .plan-data {
    font-size: 0.9rem;
    color: #666;
}

/* 할부 계산기 */
.calculator-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 25px;
    color: white;
}

.calculator-box h5 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.calculator-result {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.calculator-result .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.calculator-result .value {
    font-size: 1.5rem;
    font-weight: 800;
}

.calculator-result .total-monthly {
    font-size: 2rem;
    font-weight: 900;
    color: #ffc107;
}

/* ===== 약정 방식 선택 (통합 카드) ===== */
.contract-select-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contract-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.contract-card:hover {
    border-color: #ccc;
    background: #f0f0f0;
}

.contract-card.active {
    border-color: var(--lguplus-color);
    background: linear-gradient(135deg, #fff5f8, #fce4ec);
}

.contract-card.better {
    background: linear-gradient(135deg, #f1f8e9, #dcedc8);
    border-color: #aed581;
}

.contract-card.better.active {
    border-color: #7cb342;
    background: linear-gradient(135deg, #dcedc8, #c5e1a5);
    box-shadow: 0 2px 12px rgba(124, 179, 66, 0.25);
}

/* 체크 아이콘 */
.contract-card-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.2s ease;
}

.contract-card.active .contract-card-check {
    background: var(--lguplus-color);
    border-color: var(--lguplus-color);
    color: white;
}

.contract-card.better.active .contract-card-check {
    background: #7cb342;
    border-color: #7cb342;
}

.contract-card-check i {
    font-size: 0.9rem;
    font-weight: bold;
}

/* 카드 내용 */
.contract-card-content {
    flex: 1;
}

.contract-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.contract-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
}

.contract-card-badge {
    display: none;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #8bc34a, #689f38);
    padding: 2px 8px;
    border-radius: 10px;
}

.contract-card.better .contract-card-badge {
    display: inline-block;
}

.contract-card-desc {
    font-size: 0.8rem;
    color: #888;
}

.contract-card-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--lguplus-color);
    margin-top: 6px;
}

.contract-card.better .contract-card-amount {
    color: #558b2f;
}

/* 결과 메시지 */
.contract-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 15px;
    background: linear-gradient(90deg, #fff8e1, #ffecb3);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #f57c00;
}

.contract-result i {
    font-size: 1rem;
}

.contract-result.equal {
    background: linear-gradient(90deg, #e3f2fd, #bbdefb);
    color: #1565c0;
}

/* 약정 방식 반응형 */
@media (max-width: 576px) {
    .contract-card {
        padding: 14px 15px;
        gap: 12px;
    }

    .contract-card-check {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .contract-card-check i {
        font-size: 0.8rem;
    }

    .contract-card-title {
        font-size: 0.9rem;
    }

    .contract-card-desc {
        font-size: 0.75rem;
    }

    .contract-card-amount {
        font-size: 1rem;
        margin-top: 4px;
    }

    .contract-result {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* ===== 가입유형 선택 (새 디자인) ===== */
.join-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.join-type-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.join-type-card:hover {
    border-color: var(--lguplus-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.15);
}

.join-type-card.active {
    border-color: var(--lguplus-color);
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.25);
}

.join-type-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #666;
    transition: all 0.3s ease;
}

.join-type-card.active .join-type-icon {
    background: var(--lguplus-color);
    color: white;
}

.join-type-label {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark-color);
}

/* 통신사 섹션 */
.carrier-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    animation: fadeIn 0.3s ease;
}

.carrier-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 15px;
}

/* 통신사 선택기 */
.carrier-selector {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.carrier-selector.single {
    justify-content: flex-start;
}

.carrier-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 90px;
}

.carrier-option:hover {
    border-color: #ccc;
    transform: translateY(-2px);
}

.carrier-option.active {
    border-color: var(--lguplus-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carrier-option.uplus-only {
    cursor: default;
    border-color: var(--lguplus-color);
    background: linear-gradient(135deg, #fce4ec, #fff);
}

/* 통신사 로고 */
.carrier-logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* SK 로고 */
.carrier-logo.skt {
    background: linear-gradient(135deg, #EA002C, #ff4444);
    color: white;
}

.carrier-option:not(.active) .carrier-logo.skt {
    filter: grayscale(100%);
    opacity: 0.5;
}

.carrier-option.active .carrier-logo.skt {
    filter: none;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(234, 0, 44, 0.4);
}

/* KT 로고 */
.carrier-logo.kt {
    background: linear-gradient(135deg, #FF0000, #cc0000);
    color: white;
}

.carrier-option:not(.active) .carrier-logo.kt {
    filter: grayscale(100%);
    opacity: 0.5;
}

.carrier-option.active .carrier-logo.kt {
    filter: none;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

/* 알뜰폰 로고 */
.carrier-logo.mvno {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    font-size: 1.3rem;
}

.carrier-option:not(.active) .carrier-logo.mvno {
    filter: grayscale(100%);
    opacity: 0.5;
}

.carrier-option.active .carrier-logo.mvno {
    filter: none;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
}

/* U+ 로고 */
.carrier-logo.uplus {
    background: linear-gradient(135deg, var(--lguplus-color), var(--secondary-color));
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.carrier-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

.carrier-option.active .carrier-name {
    color: var(--dark-color);
}

/* 가입유형 설명 텍스트 */
.join-type-desc {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.join-type-desc.mnp {
    background: linear-gradient(90deg, #e3f2fd, #bbdefb);
    color: #1565c0;
}

.join-type-desc.change {
    background: linear-gradient(90deg, #fce4ec, #f8bbd9);
    color: var(--lguplus-color);
}

.join-type-desc i {
    font-size: 1rem;
}

.join-type-desc strong {
    color: var(--lguplus-color);
}

/* 반응형 - 가입유형 */
@media (max-width: 576px) {
    .join-type-selector {
        gap: 10px;
    }

    .join-type-card {
        padding: 15px 10px;
    }

    .join-type-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .join-type-label {
        font-size: 0.9rem;
    }

    .carrier-selector {
        gap: 8px;
    }

    .carrier-option {
        padding: 12px 10px;
        min-width: 75px;
    }

    .carrier-logo {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .carrier-logo.mvno {
        font-size: 1.1rem;
    }

    .carrier-name {
        font-size: 0.7rem;
    }

    .join-type-desc {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
}

/* 태블릿 */
@media (min-width: 577px) and (max-width: 991px) {
    .carrier-option {
        padding: 15px;
        min-width: 85px;
    }

    .carrier-logo {
        width: 45px;
        height: 45px;
    }
}

/* ===== 용량 선택 ===== */
.storage-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.storage-option {
    flex: 1;
    min-width: 100px;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.storage-option:hover {
    border-color: var(--lguplus-color);
    transform: translateY(-2px);
}

.storage-option.active {
    border-color: var(--lguplus-color);
    background: linear-gradient(135deg, #fce4ec, #fff);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
}

.storage-name {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.storage-price {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.storage-option.active .storage-price {
    color: var(--lguplus-color);
    font-weight: 600;
}

@media (max-width: 576px) {
    .storage-option {
        min-width: 80px;
        padding: 12px 10px;
    }

    .storage-name {
        font-size: 0.95rem;
    }

    .storage-price {
        font-size: 0.75rem;
    }
}

/* 인덱스 페이지 용량 배지 */
.storage-badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.storage-badges .badge {
    font-size: 0.65rem;
    font-weight: 500;
    padding: 2px 6px;
}

@media (max-width: 767px) {
    .storage-badges .badge {
        font-size: 0.58rem;
        padding: 1px 4px;
    }
}

/* 할부 개월 선택 */
.installment-btn {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 10px 25px;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.installment-btn:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.installment-btn.active {
    border-color: #ffc107;
    background: #ffc107;
    color: #333;
}

/* 제조사 필터 */
.manufacturer-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 30px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--lguplus-color);
}

.filter-btn.active {
    background: var(--lguplus-color);
    border-color: var(--lguplus-color);
    color: white;
}

/* 카카오톡 플로팅 버튼 */
.kakao-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.kakao-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #fee500;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.kakao-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.kakao-float i {
    font-size: 28px;
    color: #3c1e1e;
}

/* 관리자 페이지 */
.admin-sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 5px 10px;
    transition: all 0.2s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-content {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 30px;
}

/* 반응형 */
@media (max-width: 768px) {
    .phone-card .card-img-wrapper {
        min-height: 150px;
    }

    .phone-card .card-img-top {
        max-height: 130px;
    }

    .calculator-box {
        padding: 15px;
    }

    .calculator-result .total-monthly {
        font-size: 1.5rem;
    }

    .kakao-float {
        bottom: 20px;
        right: 20px;
    }

    .kakao-float a {
        width: 50px;
        height: 50px;
    }

    .kakao-float i {
        font-size: 24px;
    }
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

/* 로딩 스피너 */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.loading-spinner::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top-color: var(--lguplus-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 견적 결과 테이블 */
.estimate-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.estimate-table th,
.estimate-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.estimate-table th {
    text-align: left;
    font-weight: 500;
    opacity: 0.9;
}

.estimate-table td {
    text-align: right;
    font-weight: 700;
}

.estimate-table tr:last-child th,
.estimate-table tr:last-child td {
    border-bottom: none;
}

/* 이미지 갤러리 */
.phone-gallery {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.phone-gallery .thumbnail {
    width: 60px;
    height: 60px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    object-fit: cover;
    transition: all 0.2s ease;
}

.phone-gallery .thumbnail:hover,
.phone-gallery .thumbnail.active {
    border-color: var(--lguplus-color);
}

/* 요금제 상세 모달 */
.plan-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-benefit-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
}

.plan-benefit-list li:last-child {
    border-bottom: none;
}

.plan-benefit-list li::before {
    content: '✓';
    color: var(--success-color);
    margin-right: 8px;
    font-weight: bold;
}

/* ===== 상세 페이지 개선 스타일 ===== */

/* 요금제 상세 박스 */
.plan-detail-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
}

.plan-info-item i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.plan-info-item .info-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 4px;
}

.plan-info-item .info-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
}

.plan-benefit {
    background: white;
    border-radius: 8px;
    padding: 15px;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    max-height: 150px;
    overflow-y: auto;
}

/* 할부 개월 선택 버튼 (상세 페이지용) */
.installment-select-btn {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 30px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    flex: 1;
}

.installment-select-btn:hover {
    border-color: var(--lguplus-color);
}

.installment-select-btn.active {
    border-color: var(--lguplus-color);
    background-color: var(--lguplus-color);
    color: white;
}

.installment-select-btn:disabled,
.installment-select-btn.disabled {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.6;
}

.installment-select-btn:disabled:hover,
.installment-select-btn.disabled:hover {
    border-color: #e9ecef;
}

/* ===== 예상 요금 카드 (엘지티샵 스타일) ===== */
.estimate-card-new {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 20px;
}

/* 섹션 공통 */
.estimate-section {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
}

.estimate-section:last-of-type {
    border-bottom: none;
}

/* 섹션 헤더 */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--lguplus-color);
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 10px;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-title small {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    margin-left: 5px;
}

.section-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark-color);
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: 8px;
}

/* 섹션 상세 */
.section-detail {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.9rem;
}

.detail-row:not(:last-child) {
    border-bottom: 1px solid #e9ecef;
}

.detail-label {
    color: #666;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-value {
    color: var(--dark-color);
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

.detail-value.discount {
    color: #0d6efd;
}

.detail-value.self-discount {
    color: var(--lguplus-color);
    font-weight: 700;
    font-size: 1rem;
}

.detail-row.highlight {
    background: linear-gradient(90deg, rgba(233, 30, 99, 0.05), rgba(233, 30, 99, 0.1));
    margin: 5px -15px;
    padding: 10px 15px;
}

.detail-row.result {
    border-bottom: none;
    padding-top: 10px;
    margin-top: 5px;
    border-top: 2px solid #dee2e6;
}

.detail-row.result .detail-label {
    font-weight: 600;
    color: var(--dark-color);
}

.detail-row.result .detail-value {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark-color);
}

/* 할부 이자율 뱃지 */
.installment-rate-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    padding: 6px 12px;
    background: #fff3cd;
    color: #856404;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 선택약정 24개월 총 혜택 박스 */
.choice-benefit-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 15px;
    background: linear-gradient(90deg, #e8f5e9, #c8e6c9);
    border-radius: 10px;
    color: #2e7d32;
}

.choice-benefit-box i {
    font-size: 1.2rem;
}

.choice-benefit-box span {
    flex: 1;
    font-size: 0.9rem;
}

.choice-benefit-box strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1b5e20;
}

/* 총 납부금 섹션 */
.estimate-total-section {
    background: linear-gradient(135deg, var(--lguplus-color), var(--secondary-color));
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.daemyung-final-bar {
    background: #f0faf4;
    border: 1px solid #d1e7dd;
    border-top: none;
    padding: 14px 20px;
    font-size: .85rem;
}

.total-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.total-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
}

.total-plus {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    font-size: 1.2rem;
}

.total-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-left: 5px;
}

.total-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
}

/* 반응형 */
@media (max-width: 576px) {
    .estimate-card-new {
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .section-value {
        font-size: 1.2rem;
    }

    .total-amount {
        font-size: 1.8rem;
    }

    .estimate-total-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* ===== 하단 고정 바 (모바일) ===== */
.bottom-fixed-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    padding: 0;
}

/* 상세보기 토글 버튼 */
.mobile-detail-toggle {
    display: block;
    width: 100%;
    background: #f8f9fa;
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 6px 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.mobile-detail-toggle i {
    font-size: 0.65rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.mobile-detail-toggle.active i {
    transform: rotate(180deg);
}

/* 상세 펼침 영역 */
.mobile-detail-expand {
    display: none;
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px 16px 6px;
    background: #fafafa;
    border-bottom: 1px solid #e9ecef;
}

.mobile-detail-expand.show {
    display: block;
}

.mde-section {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

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

.mde-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    font-size: 0.82rem;
}

.mde-row.mde-header {
    font-size: 0.88rem;
    font-weight: 700;
    padding: 4px 0;
    color: var(--dark-color);
}

.mde-row.mde-sub {
    font-size: 0.78rem;
    color: #666;
    padding: 2px 0 2px 6px;
}

.mde-row.mde-dashed {
    border-top: 1px dashed #ddd;
    margin-top: 4px;
    padding-top: 4px;
}

.mde-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--lguplus-color);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    margin-right: 4px;
}

.mde-badge-b {
    background: #1976d2;
}

/* 콤팩트 요약 (항상 보임) */
.mobile-price-compact {
    padding: 8px 16px;
}

.mpc-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.mpc-item {
    font-size: 0.78rem;
    color: #666;
}

.mpc-item strong {
    color: var(--dark-color);
    font-weight: 700;
}

.mpc-op {
    color: #ccc;
    font-size: 0.8rem;
}

.mpc-total {
    font-size: 0.85rem;
    color: var(--lguplus-color);
    font-weight: 600;
}

.mpc-total strong {
    font-size: 1.05rem;
    font-weight: 800;
}

/* 하단 버튼 */
.mobile-bar-buttons {
    display: flex;
    gap: 0;
    padding: 0;
}

.mbb-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 0;
    font-size: 0.88rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.mbb-btn:active {
    opacity: 0.8;
}

.mbb-kakao {
    background: #fee500;
    color: #3c1e1e;
}

.mbb-order {
    background: linear-gradient(135deg, var(--lguplus-color), var(--secondary-color));
    color: white;
    flex: 2;
}

.mbb-order:hover,
.mbb-order:active {
    color: white;
}

/* ===== 주문 모달 ===== */
.order-summary-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
}

.order-phone-thumb {
    background: white;
    border-radius: 8px;
    padding: 5px;
}

/* 약관 박스 */
.terms-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.terms-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.terms-detail {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    max-height: 200px;
    overflow-y: auto;
}

.terms-detail ol, .terms-detail ul {
    padding-left: 20px;
    margin: 10px 0;
}

.terms-detail li {
    margin-bottom: 5px;
}

/* 반응형 - 하단 고정 바 */
@media (max-width: 991px) {
    .bottom-fixed-bar {
        padding: 12px 0;
    }

    .fixed-bar-buttons {
        justify-content: center;
    }

    .btn-phone, .btn-kakao, .btn-order {
        flex: 1;
        justify-content: center;
        padding: 14px 15px;
    }

    .btn-phone span, .btn-kakao span, .btn-order span {
        display: inline;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .estimate-card {
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }

    .estimate-total {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .total-value {
        font-size: 1.8rem;
    }

    .installment-select-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .detail-section {
        padding: 20px;
    }

    .item-value {
        font-size: 1.2rem;
    }
}

/* ===== 히어로 배너 슬라이더 ===== */
.hero-banner-section {
    width: 100%;
    max-width: 100%;
    background: #000;
    margin-bottom: clamp(20px, 4vw, 40px);
    overflow: hidden;
    box-sizing: border-box;
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.hero-slider .slide {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* 배너 이미지 - 뷰포트 너비에 맞춰 전체 표시 */
.hero-slider .slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    display: block;
}

.hero-slider .slide a {
    display: block;
    width: 100%;
}

/* 슬라이더 네비게이션 화살표 */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(35px, 5vw, 50px);
    height: clamp(35px, 5vw, 50px);
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: clamp(1rem, 2vw, 1.5rem);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-nav.prev {
    left: clamp(10px, 2vw, 25px);
}

.slider-nav.next {
    right: clamp(10px, 2vw, 25px);
}

/* 페이지 인디케이터 (점) */
.slider-dots {
    position: absolute;
    bottom: clamp(12px, 3vw, 25px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: clamp(6px, 1.5vw, 12px);
    z-index: 10;
}

.slider-dot {
    width: clamp(8px, 1.5vw, 12px);
    height: clamp(8px, 1.5vw, 12px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

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

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

/* 슬라이드 카운터 */
.slider-counter {
    position: absolute;
    bottom: clamp(12px, 3vw, 25px);
    right: clamp(12px, 2vw, 25px);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: clamp(4px, 1vw, 8px) clamp(10px, 2vw, 16px);
    border-radius: 15px;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    z-index: 10;
}

.slider-counter .current {
    font-weight: 700;
}

/* ===== 인터넷+TV 섹션 (index.php) ===== */
.internet-section {
    padding: clamp(30px, 5vw, 60px) 0;
    background: linear-gradient(135deg, #f5f0ff 0%, #fff0f5 100%);
    margin-top: 40px;
}

.internet-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(20px, 3vw, 30px);
}

.internet-section .section-title {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 800;
    color: var(--dark-color);
    margin: 0;
}

.internet-section .section-title i {
    color: var(--lguplus-color);
    margin-right: 8px;
}

.internet-section .more-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    text-decoration: none;
    font-size: clamp(0.85rem, 2vw, 1rem);
    transition: color 0.2s ease;
}

.internet-section .more-link:hover {
    color: var(--lguplus-color);
}

.internet-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.internet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.15);
}

.internet-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--lguplus-color), #9c27b0);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.internet-card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 20px 20px;
    text-align: center;
}

.internet-plan-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.internet-speed {
    color: var(--lguplus-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.internet-card-body {
    padding: 20px;
    flex: 1;
}

.internet-price {
    text-align: center;
    padding: 15px;
    background: #fff5f8;
    border-radius: 12px;
    margin-bottom: 15px;
}

.internet-price .price-label {
    font-size: 0.85rem;
    color: #888;
}

.internet-price .price-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #333;
    margin: 0 3px;
}

.internet-price .price-unit {
    font-size: 0.9rem;
    color: #666;
}

.internet-feature {
    text-align: center;
    padding: 8px;
    color: #666;
    font-size: 0.9rem;
}

.internet-feature i {
    color: var(--lguplus-color);
    margin-right: 5px;
}

.internet-gift {
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-radius: 10px;
    margin-top: 10px;
    border: 1px dashed #ffc107;
}

.internet-gift i {
    color: #f57c00;
    margin-right: 5px;
}

.internet-gift strong {
    color: #e65100;
    font-size: 1.1rem;
}

.internet-card-btn {
    display: block;
    padding: 15px;
    text-align: center;
    background: var(--lguplus-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.internet-card-btn:hover {
    background: #c2185b;
    color: white;
}

@media (max-width: 767px) {
    .internet-section {
        margin-top: 30px;
    }
    .internet-plan-name {
        font-size: 0.85rem;
    }
    .internet-price .price-amount {
        font-size: 1.1rem;
    }
    .internet-card-header {
        padding: 30px 12px 12px;
    }
    .internet-card-body {
        padding: 12px;
    }
    .internet-price {
        padding: 10px;
        margin-bottom: 8px;
    }
    .internet-card-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
        top: 10px;
        left: 10px;
    }
    .internet-card-btn {
        padding: 10px;
        font-size: 0.85rem;
    }
    .internet-gift {
        padding: 8px;
        font-size: 0.8rem;
    }
    .internet-gift strong {
        font-size: 0.9rem;
    }
    .internet-feature {
        font-size: 0.8rem;
        padding: 5px;
    }
    .internet-speed {
        font-size: 0.8rem;
    }
}

/* ===== 뷰 모드 전환 ===== */
.view-toggle-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    margin-bottom: 15px;
}

.view-toggle-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 8px;
    color: #999;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.view-toggle-btn:hover {
    border-color: var(--lguplus-color);
    color: var(--lguplus-color);
}

.view-toggle-btn.active {
    background: var(--lguplus-color);
    border-color: var(--lguplus-color);
    color: white;
}

/* ===== 리스트 뷰 스타일 ===== */
.phone-grid.list-view > div {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.phone-grid.list-view .phone-card {
    flex-direction: row;
    align-items: stretch;
}

.phone-grid.list-view .card-img-wrapper {
    width: 140px;
    min-width: 140px;
    min-height: auto;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-grid.list-view .card-img-top {
    max-height: 120px;
}

.phone-grid.list-view .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    flex: 1;
}

.phone-grid.list-view .phone-name {
    font-size: 1rem;
    margin-bottom: 5px;
}

.phone-grid.list-view .color-options {
    margin-bottom: 5px;
}

.phone-grid.list-view .storage-badges {
    margin-bottom: 5px;
}

.phone-grid.list-view .price-info {
    gap: 2px;
}

.phone-grid.list-view .manufacturer-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
}

@media (max-width: 767px) {
    .phone-grid.list-view .card-img-wrapper {
        width: 110px;
        min-width: 110px;
        padding: 10px;
    }
    .phone-grid.list-view .card-img-top {
        max-height: 90px;
    }
    .phone-grid.list-view .card-body {
        padding: 10px;
    }
    .phone-grid.list-view .phone-name {
        font-size: 0.85rem;
    }
}

/* ===== 이벤트 섹션 ===== */
.event-section {
    padding: clamp(30px, 5vw, 60px) 0;
    background: #fff;
}

.event-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(20px, 3vw, 30px);
}

.event-section .section-title {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 800;
    color: var(--dark-color);
    margin: 0;
}

.event-section .more-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    text-decoration: none;
    font-size: clamp(0.85rem, 2vw, 1rem);
    transition: color 0.2s ease;
}

.event-section .more-link:hover {
    color: var(--lguplus-color);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2vw, 20px);
}

.event-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    background: #fff;
}

.event-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.event-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.event-thumb {
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    transition: transform 0.3s;
}

.event-item:hover .event-thumb img {
    transform: scale(1.05);
}

.event-info {
    padding: 12px 14px 14px;
}

.event-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #333;
}

.event-date {
    font-size: 0.78rem;
    color: #999;
}

/* 태블릿 */
@media (max-width: 991px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-item:nth-child(n+5) {
        display: none;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-item:nth-child(n+5) {
        display: none;
    }

    .event-info {
        padding: 10px 12px 12px;
    }

    .event-title {
        font-size: 0.82rem;
    }
}

/* ===== 이벤트 목록 페이지 ===== */
.events-list-section {
    padding: 40px 0 60px;
}

.events-list-section .section-header {
    margin-bottom: 30px;
}

.events-list-section .section-title {
    font-size: 1.8rem;
    font-weight: 700;
}

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

.event-list-item {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.event-list-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    color: inherit;
}

.event-list-item.expired {
    opacity: 0.6;
}

.event-list-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.event-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.event-list-item:hover .event-list-thumb img {
    transform: scale(1.05);
}

.event-expired-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-list-info {
    padding: 16px;
}

.event-list-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-list-date {
    font-size: 0.85rem;
    color: #888;
}

.event-list-date i {
    margin-right: 4px;
}

@media (max-width: 991px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 575px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .event-list-thumb {
        aspect-ratio: 16 / 9;
    }
}

/* ===== 이벤트 상세 페이지 ===== */
.event-view-section {
    padding: 40px 0 60px;
}

.event-article {
    max-width: 800px;
    margin: 0 auto;
}

.event-article-header {
    border-bottom: 2px solid #333;
    padding-bottom: 16px;
    margin-bottom: 32px;
}

.event-article-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.4;
}

.event-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
    font-size: 0.9rem;
}

.event-article-date i {
    margin-right: 4px;
}

.event-article-body {
    padding: 20px 0;
    line-height: 1.8;
    font-size: 1rem;
    color: #333;
    word-break: break-word;
}

.event-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}

.event-article-body p {
    margin-bottom: 16px;
}

.event-article-body h1, .event-article-body h2, .event-article-body h3,
.event-article-body h4, .event-article-body h5, .event-article-body h6 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.event-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.event-article-body table th,
.event-article-body table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
}

.event-article-body table th {
    background: #f8f9fa;
}

/* 이벤트 이전/다음 네비게이션 */
.event-article-nav {
    display: flex;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-top: 40px;
}

.event-nav-item {
    flex: 1;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.event-nav-item:hover:not(.disabled) {
    background: #f8f9fa;
    color: inherit;
}

.event-nav-item.next {
    text-align: right;
    border-left: 1px solid #eee;
}

.event-nav-item.disabled {
    opacity: 0.4;
    cursor: default;
}

.event-nav-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
}

.event-nav-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 575px) {
    .event-article-title {
        font-size: 1.3rem;
    }

    .event-article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .event-article-nav {
        flex-direction: column;
    }

    .event-nav-item.next {
        text-align: left;
        border-left: none;
        border-top: 1px solid #eee;
    }
}

/* ===== VS 비교 섹션 ===== */
.vs-comparison-section {
    padding: 60px 0 40px;
    margin-top: 50px;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.vs-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.vs-section-title h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.vs-section-title p {
    color: #666;
    font-size: 1rem;
}

.vs-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 80px;
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    padding: 0 20px;
}

/* VS 텍스트 - 카드 사이 중앙 */
.vs-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 15px rgba(139, 92, 246, 0.3));
    pointer-events: none;
}

/* 카드 공통 */
.vs-card {
    flex: 1;
    max-width: 400px;
    background: white;
    border-radius: 24px;
    padding: 40px 35px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.vs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* 일반 판매점 카드 (왼쪽) */
.vs-card.normal {
    border: 2px solid #e9ecef;
}

/* 광컴퍼니 카드 (오른쪽) - 강조 */
.vs-card.koang {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #8b5cf6, #6366f1) border-box;
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.2);
}

.vs-card.koang:hover {
    box-shadow: 0 12px 50px rgba(139, 92, 246, 0.3);
}

/* 카드 헤더 */
.vs-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.vs-card-icon {
    font-size: 2.2rem;
}

.vs-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-color);
}

.vs-card.koang .vs-card-title {
    background: linear-gradient(135deg, var(--lguplus-color), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 카드 리스트 */
.vs-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vs-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
}

.vs-card-list li:not(:last-child) {
    border-bottom: none;
}

/* 일반 판매점 - bullet */
.vs-card.normal .vs-card-list li::before {
    content: '';
    width: 10px;
    height: 10px;
    min-width: 10px;
    background: #adb5bd;
    border-radius: 50%;
    margin-top: 8px;
}

/* 광컴퍼니 - bullet */
.vs-card.koang .vs-card-list li::before {
    content: '';
    width: 10px;
    height: 10px;
    min-width: 10px;
    background: linear-gradient(135deg, var(--lguplus-color), #8b5cf6);
    border-radius: 50%;
    margin-top: 8px;
}

/* 강조 텍스트 */
.vs-card-list .highlight {
    font-weight: 700;
    color: var(--dark-color);
}

.vs-card.koang .vs-card-list .highlight {
    color: var(--lguplus-color);
}

.vs-card-list .negative {
    color: var(--lguplus-color);
    font-weight: 800;
}

/* 면책 조항 */
.vs-disclaimer {
    text-align: center;
    margin-top: 40px;
    padding: 0 20px;
    font-size: 0.85rem;
    color: #888;
}

/* 반응형 - 태블릿 및 모바일 */
@media (max-width: 991px) {
    .vs-comparison-section {
        padding: 50px 0 30px;
        margin-top: 40px;
    }

    .vs-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .vs-card {
        max-width: 100%;
        width: 100%;
        padding: 30px 25px;
    }

    .vs-badge {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        text-align: center;
        font-size: 3rem;
        margin: 0;
        order: 1;
    }

    .vs-card.normal {
        order: 0;
    }

    .vs-card.koang {
        order: 2;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 576px) {
    .vs-comparison-section {
        padding: 40px 0 25px;
        margin-top: 30px;
    }

    .vs-section-title {
        margin-bottom: 35px;
    }

    .vs-section-title h2 {
        font-size: 1.4rem;
    }

    .vs-section-title p {
        font-size: 0.9rem;
    }

    .vs-card {
        padding: 25px 20px;
        border-radius: 18px;
    }

    .vs-card-icon {
        font-size: 1.8rem;
    }

    .vs-card-title {
        font-size: 1.25rem;
    }

    .vs-card-list li {
        font-size: 0.95rem;
        padding: 14px 0;
        gap: 12px;
    }

    .vs-card.normal .vs-card-list li::before,
    .vs-card.koang .vs-card-list li::before {
        margin-top: 6px;
    }

    .vs-badge {
        font-size: 2.5rem;
    }

    .vs-disclaimer {
        font-size: 0.75rem;
        margin-top: 30px;
    }
}


/* ===== 상세 정보 영역 (WYSIWYG) ===== */
.phone-description {
    text-align: center;
    line-height: 1.8;
    word-break: keep-all;
}

.phone-description img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

.phone-description p {
    margin-bottom: 15px;
}

.phone-description h1,
.phone-description h2,
.phone-description h3,
.phone-description h4,
.phone-description h5,
.phone-description h6 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.phone-description table {
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
}

.phone-description table td,
.phone-description table th {
    border: 1px solid #dee2e6;
    padding: 10px;
}

.phone-description ul,
.phone-description ol {
    display: inline-block;
    text-align: left;
    margin: 15px 0;
}

/* 상세 이미지도 가운데 정렬 */
.detail-section .row.g-3 img {
    display: block;
    margin: 0 auto;
}

/* ===== 요금제 추가설명 영역 ===== */
.plan-benefit-area {
    margin-top: 10px;
    padding: 12px 16px;
    background: #f0f4ff;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #444;
    line-height: 1.6;
    border-left: 3px solid var(--lguplus-color);
}

/* ===== 전체요금제 / 제휴카드 버튼 ===== */
.plan-extra-btns {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.plan-extra-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.plan-extra-btn:hover {
    color: var(--lguplus-color);
    border-color: var(--lguplus-color);
    background: #fce4ec;
}

.plan-extra-btn i {
    font-size: 1rem;
}

/* ===== 광컴퍼니 자체할인 배너 (요금제 선택) ===== */
.self-discount-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(233, 30, 99, 0.5);
    }
}

.self-discount-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
}

.self-discount-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.self-discount-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.self-discount-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.self-discount-tag {
    padding: 6px 14px;
    background: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #c44569;
    white-space: nowrap;
}

/* 반응형 - 자체할인 배너 */
@media (max-width: 576px) {
    .self-discount-banner {
        padding: 14px 16px;
        gap: 10px;
    }

    .self-discount-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 1.1rem;
    }

    .self-discount-label {
        font-size: 0.8rem;
    }

    .self-discount-amount {
        font-size: 1.25rem;
    }

    .self-discount-tag {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
}

/* ===== 하단 고정바 자체할인 칩 ===== */
.self-discount-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    animation: chip-pulse 2s ease-in-out infinite;
}

@keyframes chip-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.self-discount-chip i {
    font-size: 0.9rem;
}

.self-discount-chip strong {
    font-weight: 800;
    font-size: 0.95rem;
}

/* 모바일 자체할인 칩 */
.self-discount-chip-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #ff6b9d, #c44569);
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.self-discount-chip-mobile i {
    font-size: 0.85rem;
}

.self-discount-chip-mobile strong {
    font-weight: 800;
}

/* ===== 휴대폰 카드 이미지 클릭 가능 & 호버 효과 강화 ===== */
.phone-card .card-img-wrapper {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.phone-card .card-img-wrapper::after {
    content: '자세히 보기';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(233, 30, 99, 0.95), transparent);
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.phone-card:hover .card-img-wrapper::after {
    transform: translateY(0);
}

.phone-card:hover .card-img-wrapper {
    background: linear-gradient(135deg, #fff5f8 0%, #fce4ec 100%);
}

.phone-card:hover .card-img-top {
    transform: scale(1.08);
    transition: transform 0.4s ease;
}

.phone-card .card-img-top {
    transition: transform 0.4s ease;
}

/* 카드 전체 호버 효과 강화 */
.phone-card {
    position: relative;
}

.phone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.3s ease;
}

.phone-card:hover::before {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
}

.phone-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.25);
}

/* 이미지 링크 래퍼 */
.phone-card .card-img-link {
    display: block;
    text-decoration: none;
}

.phone-card .card-img-link:hover {
    text-decoration: none;
}

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

.phone-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* ===== 우측 플로팅 상담 버튼 (엘지티샵 스타일) ===== */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.floating-btn i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.floating-btn span {
    font-size: 0.6rem;
    font-weight: 600;
    white-space: nowrap;
}

/* 전화 버튼 */
.floating-btn.phone {
    background: #fff;
    color: #4a5568;
    border: 1px solid #e9ecef;
}

.floating-btn.phone:hover {
    background: #4a5568;
    color: #fff;
    border-color: #4a5568;
    transform: scale(1.1);
}

/* 카카오 버튼 */
.floating-btn.kakao {
    background: #fee500;
    color: #3c1e1e;
}

.floating-btn.kakao:hover {
    background: #fdd835;
    transform: scale(1.1);
}

/* 반응형 - 플로팅 버튼 */
@media (max-width: 767px) {
    .floating-contact {
        right: 15px;
        bottom: 80px;
    }

    .floating-btn {
        width: 52px;
        height: 52px;
    }

    .floating-btn i {
        font-size: 1.1rem;
    }

    .floating-btn span {
        font-size: 0.55rem;
    }
}

/* ===== 고객 리뷰 섹션 ===== */
.review-section {
    padding: clamp(40px, 6vw, 80px) 0;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

.review-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(30px, 5vw, 45px);
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.review-header-left {}

.review-section-title {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.3;
    margin: 0 0 6px;
}

.review-section-subtitle {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

.review-header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.review-stats {
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-stat-score {
    text-align: center;
}

.review-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1;
}

.review-stat-stars {
    margin-top: 4px;
}

.review-stat-stars .star {
    color: #ddd;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.review-stat-stars .star.filled {
    color: #ffc107;
}

.review-stat-count {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-stat-total {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--lguplus-color);
    line-height: 1;
}

.review-stat-label {
    font-size: 0.8rem;
    color: #888;
    margin-top: 2px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(15px, 2.5vw, 25px);
}

.review-card {
    background: #fff;
    border-radius: 16px;
    padding: clamp(20px, 3vw, 28px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.review-rating {
    margin-bottom: 12px;
}

.review-rating .star {
    color: #ddd;
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-rating .star.filled {
    color: #ffc107;
}

.review-title {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.5;
    word-break: keep-all;
}

.review-content {
    flex: 1;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    word-break: keep-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.review-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-color);
}

.review-date {
    font-size: 0.8rem;
    color: #999;
}

/* 리뷰 반응형 - 태블릿 */
@media (max-width: 991px) {
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-card:nth-child(n+5) {
        display: none;
    }
}

/* 리뷰 반응형 - 모바일 */
@media (max-width: 767px) {
    .review-section {
        padding: 40px 0;
    }

    .review-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .review-card {
        padding: 18px;
    }

    .review-card:nth-child(n+5) {
        display: none;
    }

    .review-title {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .review-content {
        font-size: 0.8rem;
        -webkit-line-clamp: 4;
    }

    .review-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* 리뷰 반응형 - 작은 모바일 */
@media (max-width: 480px) {
    .review-grid {
        grid-template-columns: 1fr;
    }

    .review-card:nth-child(n+4) {
        display: none;
    }

    .review-content {
        -webkit-line-clamp: 3;
    }
}

.review-more-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.review-more-link:hover {
    color: var(--lguplus-color);
}

/* 리뷰 헤더 반응형 - 태블릿 */
@media (max-width: 991px) {
    .review-stats {
        gap: 12px;
    }

    .review-stat-number {
        font-size: 1.6rem;
    }

    .review-stat-total {
        font-size: 1.3rem;
    }
}

/* 리뷰 헤더 반응형 - 모바일 */
@media (max-width: 767px) {
    .review-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .review-header-right {
        width: 100%;
        justify-content: space-between;
    }

    .review-stat-number {
        font-size: 1.4rem;
    }

    .review-stat-total {
        font-size: 1.1rem;
    }

    .review-section-subtitle {
        font-size: 0.82rem;
    }
}

.review-write-btn-wrap {
    text-align: center;
    margin-top: 40px;
}

.review-write-btn {
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
}

/* 리뷰 카드 링크 스타일 */
a.review-card {
    text-decoration: none;
    color: inherit;
}

a.review-card:hover {
    text-decoration: none;
    color: inherit;
}

/* ===== 리뷰 게시판 페이지 ===== */
.review-page-header {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 30px;
}

.review-page-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.review-page-desc {
    color: #666;
    margin-bottom: 20px;
}

.btn-write {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
}

.empty-reviews {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.empty-reviews i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.empty-reviews h4 {
    color: #666;
    margin-bottom: 10px;
}

/* 리뷰 목록 그리드 */
.review-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.review-list-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.review-list-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.review-list-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f8f9fa;
}

.review-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.review-list-card:hover .review-list-image img {
    transform: scale(1.05);
}

.review-list-content {
    padding: 20px;
}

.review-list-rating {
    margin-bottom: 10px;
}

.review-list-rating .star {
    color: #ddd;
    font-size: 0.9rem;
}

.review-list-rating .star.filled {
    color: #ffc107;
}

.review-list-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.review-list-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.review-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.review-list-author {
    font-weight: 600;
    color: var(--dark-color);
}

.review-list-date {
    color: #999;
}

/* 리뷰 페이징 */
.review-pagination {
    margin-top: 40px;
}

.review-pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
    color: #666;
    border: 1px solid #e9ecef;
}

.review-pagination .page-item.active .page-link {
    background: var(--lguplus-color);
    border-color: var(--lguplus-color);
}

@media (max-width: 991px) {
    .review-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .review-list-grid {
        grid-template-columns: 1fr;
    }

    .review-page-title {
        font-size: 1.5rem;
    }
}

/* ===== 리뷰 리스트 모드 (index.php) ===== */
.review-list-mode {
    border-top: 2px solid #333;
}

.review-list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 8px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    cursor: pointer;
}

.review-list-row:hover {
    background: #f8f4ff;
    color: inherit;
}

.review-list-row .rl-rating {
    flex-shrink: 0;
    font-size: 0.75rem;
    white-space: nowrap;
}

.review-list-row .rl-rating .star {
    color: #ddd;
}

.review-list-row .rl-rating .star.filled {
    color: #ffc107;
}

.review-list-row .rl-title {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-list-row .rl-author {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #888;
    min-width: 50px;
    text-align: center;
}

.review-list-row .rl-date {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #aaa;
    min-width: 70px;
    text-align: right;
}

/* 리뷰 모달 별점 */
#rmRating .star {
    font-size: 1.3rem;
    color: #ddd;
}

#rmRating .star.filled {
    color: #ffc107;
}

@media (max-width: 576px) {
    .review-list-row .rl-author {
        display: none;
    }

    .review-list-row .rl-rating {
        font-size: 0.65rem;
    }

    .review-list-row .rl-title {
        font-size: 0.85rem;
    }
}

/* ===== 리뷰 작성 페이지 ===== */
.review-write-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.review-write-header {
    text-align: center;
    margin-bottom: 30px;
}

.review-write-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.review-write-header p {
    color: #666;
}

.review-write-form {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-section {
    margin-bottom: 25px;
}

.form-section .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* 별점 입력 */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    font-size: 2rem;
    color: #ddd;
    transition: color 0.2s;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: #ffc107;
}

/* 비밀번호 확인 박스 */
.password-check-box {
    max-width: 400px;
    margin: 50px auto;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.password-check-box h5 {
    font-weight: 700;
    margin-bottom: 15px;
}

.password-check-box p {
    color: #666;
    margin-bottom: 20px;
}

/* ===== 리뷰 상세 페이지 ===== */
.review-view-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.review-view-header {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.review-view-rating {
    margin-bottom: 15px;
}

.review-view-rating .star {
    font-size: 1.2rem;
    color: #ddd;
}

.review-view-rating .star.filled {
    color: #ffc107;
}

.review-view-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.review-view-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
}

.review-view-meta i {
    margin-right: 5px;
}

.review-view-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.review-view-image {
    margin-bottom: 25px;
    text-align: center;
}

.review-view-image img {
    max-width: 100%;
    border-radius: 12px;
}

.review-view-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.review-view-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

/* 이전/다음 네비게이션 */
.review-nav {
    display: flex;
    gap: 15px;
}

.review-nav-item {
    flex: 1;
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.review-nav-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.review-nav-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.review-nav-item.next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .review-view-header,
    .review-view-content,
    .review-write-form {
        padding: 20px;
    }

    .review-view-title {
        font-size: 1.3rem;
    }

    .review-view-meta {
        flex-direction: column;
        gap: 8px;
    }

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

    .review-nav-item.next {
        text-align: left;
    }

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

    .form-actions .btn {
        width: 100%;
    }
}

/* ===== 푸터 스타일 ===== */
.site-footer {
    background: #fff;
    color: #333;
    padding: 40px 0 30px;
    margin-top: 50px;
    border-top: 1px solid #e9ecef;
}

.site-footer h5 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.site-footer .footer-sub {
    color: #666;
    margin-bottom: 0;
}

.site-footer .footer-time {
    color: #666;
}

.site-footer hr {
    border-color: #e9ecef;
}

.site-footer .footer-info {
    color: #666;
}

.site-footer .footer-info strong {
    color: #333;
}

.site-footer .footer-copy {
    color: #999;
}

.site-footer .footer-cert-logo {
    max-width: 100px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-footer .footer-cert-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}


/* ===== 주문조회 모달 타임라인 스타일 ===== */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    padding-bottom: 15px;
    padding-left: 20px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: -14px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #6c757d;
}

.timeline-badge.bg-warning {
    background: #ffc107 !important;
}

.timeline-badge.bg-info {
    background: #0dcaf0 !important;
}

.timeline-badge.bg-primary {
    background: #0d6efd !important;
}

.timeline-badge.bg-purple {
    background: #6f42c1 !important;
}

.timeline-badge.bg-success {
    background: #198754 !important;
}

.timeline-badge.bg-danger {
    background: #dc3545 !important;
}

.timeline-content {
    background: #f8f9fa;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
}

/* bg-purple 클래스 (Bootstrap에 없음) */
.bg-purple {
    background-color: #6f42c1 !important;
    color: #fff !important;
}

/* 주문조회 모달 카드 스타일 */
#orderLookupModal .card {
    border: 1px solid #e9ecef;
}

#orderLookupModal .list-group-item {
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

#orderLookupModal .list-group-item:hover {
    border-left-color: var(--lguplus-color);
    background-color: #fff5f8;
}

/* 모달 z-index - 헤더(1100)보다 높게 설정 */
.modal {
    z-index: 1200 !important;
}

.modal-backdrop {
    z-index: 1150 !important;
}

/* 알뜰폰 세부 선택 스타일 */
.mvno-sub-selector {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    margin-top: 12px;
    border: 1px solid #e9ecef;
}

.mvno-sub-title {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 12px;
    font-weight: 500;
}

.mvno-sub-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mvno-sub-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.mvno-sub-option:hover {
    border-color: #adb5bd;
}

.mvno-sub-option.active {
    border-color: var(--lguplus-color);
    background: #fff5f8;
}

.mvno-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
}

.mvno-badge.skt {
    background: #ea002c;
}

.mvno-badge.kt {
    background: #000;
}

.mvno-badge.lgu {
    background: var(--lguplus-color);
}

/* 본인인증 섹션 스타일 */
.auth-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.auth-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-section-title i {
    color: var(--lguplus-color);
}

.auth-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.auth-input-group .form-control {
    flex: 1;
}

.auth-input-group .btn {
    white-space: nowrap;
    min-width: 100px;
}

.auth-timer {
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: 4px;
    display: none;
}

.auth-timer.show {
    display: block;
}

.auth-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.auth-status.pending {
    background: #fff3cd;
    color: #856404;
}

.auth-status.success {
    background: #d4edda;
    color: #155724;
}

.auth-status.error {
    background: #f8d7da;
    color: #721c24;
}

.auth-status i {
    font-size: 1.1rem;
}

.auth-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #d4edda;
    color: #155724;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-verified-badge i {
    font-size: 1rem;
}

/* ===== 페이백 스타일 ===== */

/* index.php 폰 카드 페이백 배지 */
.payback-badge {
    margin-top: 6px;
    padding: 4px 8px;
    background: linear-gradient(135deg, #ff6b35, #e91e63);
    color: #fff;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.payback-badge i {
    font-size: 0.85rem;
}

@media (max-width: 767px) {
    .payback-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
        gap: 3px;
    }
    .payback-badge i {
        font-size: 0.7rem;
    }
}

/* ===== detail.php 브레드크럼 ===== */
.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.dbc-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #666;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.dbc-item:hover {
    color: var(--lguplus-color);
    background: rgba(233, 30, 99, 0.08);
}

.dbc-item i {
    font-size: 0.8rem;
}

.dbc-sep {
    font-size: 0.6rem;
    color: #bbb;
}

.dbc-current {
    color: var(--dark-color);
    font-weight: 600;
    background: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    cursor: default;
}

.dbc-current:hover {
    color: var(--dark-color);
    background: white;
}

/* detail.php 페이백 혜택 섹션 */
.payback-benefit-section {
    margin-top: 16px;
    border: 2px solid #ff6b35;
    border-radius: 12px;
    overflow: hidden;
}

.payback-benefit-header {
    background: linear-gradient(135deg, #ff6b35, #e91e63);
    color: #fff;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.payback-benefit-body {
    padding: 12px 16px;
    background: #fff8f5;
}

.payback-benefit-body .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.payback-benefit-body .detail-label {
    font-size: 0.9rem;
    color: #555;
}

.payback-value {
    font-size: 1rem;
    font-weight: 700;
    color: #ff6b35;
}

/* ===== 휴대폰 섹션 스타일 (index.php) ===== */
.phone-section {
    margin-bottom: 40px;
}

.phone-section:first-child {
    margin-top: 10px;
}

.phone-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.phone-section-title {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 800;
    color: #212529;
    margin: 0;
}

.phone-section-title i {
    margin-right: 6px;
}

.recommended-section .phone-section-title i {
    color: #ffc107;
}

.all-phones-section .phone-section-title i {
    color: var(--lguplus-color);
}

.group-section .phone-section-title i {
    color: #6f42c1;
}

.phone-section-count {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

/* 페이지네이션 */
.phone-pagination {
    margin-top: 30px;
    margin-bottom: 10px;
}

.phone-pagination .pagination {
    gap: 4px;
}

.phone-pagination .page-link {
    border-radius: 8px;
    padding: 8px 14px;
    color: #333;
    border: 1px solid #dee2e6;
    font-weight: 500;
    transition: all 0.2s;
}

.phone-pagination .page-item.active .page-link {
    background: var(--lguplus-color);
    border-color: var(--lguplus-color);
    color: #fff;
}

.phone-pagination .page-link:hover {
    background: #f8f9fa;
    border-color: var(--lguplus-color);
    color: var(--lguplus-color);
}

.phone-pagination .page-item.active .page-link:hover {
    background: var(--lguplus-color);
    color: #fff;
}

@media (max-width: 767px) {
    .phone-section-header {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
    .phone-section {
        margin-bottom: 24px;
    }
    .phone-section-title {
        font-size: 1rem;
    }
    .phone-pagination .page-link {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}

/* === 인터넷+TV 동시가입 섹션 === */
.internet-bundle-section .detail-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.internet-bundle-table {
    font-size: 0.9rem;
}
.internet-bundle-table th {
    font-size: 0.8rem;
    white-space: nowrap;
    vertical-align: middle;
}
.internet-bundle-table td {
    vertical-align: middle;
}
.internet-bundle-table .badge-sm {
    font-size: 0.7rem;
    padding: 2px 6px;
}
.internet-select-btn {
    white-space: nowrap;
    font-size: 0.85rem;
}
#selectedInternetPlan {
    border-radius: 10px;
}
@media (max-width: 768px) {
    .internet-bundle-table {
        font-size: 0.78rem;
    }
    .internet-bundle-table th,
    .internet-bundle-table td {
        padding: 6px 4px;
    }
    .internet-select-btn {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

/* ===== 3컬럼 레이아웃 (detail.php) ===== */

/* 견적 카드 sticky 래퍼 */
.estimate-sticky-wrap {
    position: sticky;
    top: 85px;
    z-index: 10;
}

/* 선택 폼 컬럼 컴팩트화 */
.detail-form-col .detail-section {
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-form-col .detail-section h5 {
    font-size: 0.95rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
}

/* 가입유형 카드 컴팩트 */
.detail-form-col .join-type-selector {
    gap: 8px;
    margin-bottom: 15px;
}

.detail-form-col .join-type-card {
    padding: 14px 10px;
    border-radius: 12px;
}

.detail-form-col .join-type-icon {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.detail-form-col .join-type-label {
    font-size: 0.85rem;
}

/* 통신사 선택 컴팩트 */
.detail-form-col .carrier-section {
    padding: 15px;
    margin-top: 10px;
}

.detail-form-col .carrier-option {
    padding: 10px 12px;
    min-width: 70px;
}

.detail-form-col .carrier-logo {
    width: 38px;
    height: 38px;
    font-size: 0.75rem;
    margin-bottom: 5px;
}

.detail-form-col .carrier-name {
    font-size: 0.7rem;
}

/* 용량 선택 컴팩트 */
.detail-form-col .storage-option {
    padding: 10px;
    min-width: 80px;
}

.detail-form-col .storage-name {
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.detail-form-col .storage-price {
    font-size: 0.78rem;
}

/* 약정 카드 컴팩트 */
.detail-form-col .contract-card {
    padding: 12px 15px;
    gap: 10px;
}

.detail-form-col .contract-card-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
}

.detail-form-col .contract-card-title {
    font-size: 0.9rem;
}

.detail-form-col .contract-card-desc {
    font-size: 0.75rem;
}

.detail-form-col .contract-card-amount {
    font-size: 1rem;
    margin-top: 4px;
}

/* 요금제 드롭다운 & 할부 컴팩트 */
.detail-form-col .plan-detail-box {
    padding: 15px;
}

.detail-form-col .installment-select-btn {
    padding: 8px 12px;
    font-size: 0.82rem;
}

/* ===== 커스텀 요금제 리스트 (lgtshop 스타일) ===== */
.plan-selected-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 2px solid var(--lguplus-color);
    border-radius: 10px;
    cursor: pointer;
    background: #fff5f8;
    transition: all 0.2s ease;
}

.plan-selected-header:hover {
    background: #fce4ec;
}

.plan-selected-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.plan-selected-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.plan-selected-price {
    font-size: 0.85rem;
    color: var(--lguplus-color);
    font-weight: 600;
}

.plan-selected-price strong {
    font-size: 1rem;
    font-weight: 800;
}

.plan-selected-arrow {
    font-size: 0.9rem;
    color: #999;
    transition: transform 0.3s ease;
}

.plan-selected-arrow.open {
    transform: rotate(180deg);
}

/* 선택된 요금제 스펙 (데이터/통화/문자) */
.plan-selected-specs {
    display: flex;
    gap: 12px;
    padding: 6px 8px;
    margin-top: 6px;
}

.plan-spec {
    font-size: 0.72rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 3px;
}

.plan-spec i {
    font-size: 0.7rem;
    color: #aaa;
}

/* 요금제 드롭다운 앵커 */
.plan-dropdown-anchor {
    position: relative;
}

/* 요금제 리스트 (드롭다운 오버레이) */
.plan-list-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.plan-list-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s ease;
}

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

.plan-list-item:hover {
    background: #f8f9fa;
}

.plan-list-item.active {
    background: #fff5f8;
    border-left: 3px solid var(--lguplus-color);
}

.plan-list-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}

.plan-list-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark-color);
}

.plan-list-item.active .plan-list-name::before {
    content: '\2713 ';
    color: var(--lguplus-color);
    font-weight: 700;
}

.plan-list-price {
    font-size: 0.82rem;
    color: var(--lguplus-color);
    font-weight: 600;
}

.plan-list-price strong {
    font-weight: 800;
}

.plan-list-specs {
    display: flex;
    gap: 10px;
    font-size: 0.68rem;
    color: #999;
}

.plan-list-specs i {
    font-size: 0.62rem;
    margin-right: 2px;
}

/* ===== 가족결합 탭 ===== */
.family-bundle-tabs {
    display: flex;
    gap: 0;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.family-tab {
    flex: 1;
    text-align: center;
    padding: 9px 6px;
    cursor: pointer;
    background: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #777;
    transition: all 0.2s ease;
    user-select: none;
}

.family-tab:last-child {
    border-right: none;
}

.family-tab:hover {
    background: #f0f0f0;
}

.family-tab.active {
    background: #fff;
    color: var(--dark-color);
    border-bottom: 2.5px solid var(--lguplus-color);
}

/* ===== 복지할인 커스텀 드롭다운 ===== */
.welfare-dropdown-anchor {
    position: relative;
}

.welfare-selected-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border: 1.5px solid #dee2e6;
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
}

.welfare-selected-header:hover {
    border-color: #adb5bd;
    background: #f8f9fa;
}

.welfare-selected-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.welfare-selected-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark-color);
}

.welfare-selected-desc {
    font-size: 0.75rem;
    color: #999;
}

.welfare-selected-arrow {
    font-size: 0.85rem;
    color: #999;
    transition: transform 0.3s ease;
}

.welfare-selected-arrow.open {
    transform: rotate(180deg);
}

.welfare-list-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-top: 4px;
    max-height: 280px;
    overflow-y: auto;
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.welfare-list-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s ease;
}

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

.welfare-list-item:hover {
    background: #f8f9fa;
}

.welfare-list-item.active {
    background: #fff0f3;
    border-left: 3px solid #dc3545;
}

.welfare-list-item.active .welfare-list-name::before {
    content: '\2713 ';
    color: #dc3545;
    font-weight: 700;
}

.welfare-list-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.welfare-list-name {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--dark-color);
}

.welfare-list-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #dc3545;
    background: #fff0f3;
    padding: 2px 8px;
    border-radius: 20px;
}

.welfare-list-badge.welfare-badge-amount {
    color: #0d6efd;
    background: #e7f1ff;
}

.welfare-list-desc {
    font-size: 0.72rem;
    color: #999;
}

.welfare-discount-result {
    background: #f0f7ff;
    border: 1px solid #d0e3f7;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.8rem;
    color: #495057;
}

.welfare-discount-result i {
    color: #198754;
    margin-right: 4px;
}

.welfare-discount-amount {
    margin-top: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #198754;
}

/* ===== 약정 방식 탭 스타일 ===== */
.contract-tabs {
    display: flex;
    gap: 0;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.contract-tab {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    cursor: pointer;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    transition: all 0.2s ease;
    position: relative;
}

.contract-tab:last-child {
    border-right: none;
}

.contract-tab.active {
    background: white;
    border-bottom: 3px solid var(--lguplus-color);
}

.contract-tab.better.active {
    border-bottom-color: #7cb342;
}

.contract-tab-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark-color);
}

.contract-tab-sub {
    display: block;
    font-size: 0.65rem;
    color: #999;
}

.contract-tab-amount {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--lguplus-color);
    margin-top: 2px;
}

.contract-tab.better .contract-tab-amount {
    color: #558b2f;
}

.contract-tab .contract-card-badge {
    display: none;
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.55rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #8bc34a, #689f38);
    padding: 1px 6px;
    border-radius: 8px;
}

.contract-tab.better .contract-card-badge {
    display: inline-block;
}

.contract-result-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 10px;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lguplus-color);
    background: #fff5f8;
    border-radius: 8px;
}

.contract-result-compact.equal {
    color: #1565c0;
    background: #e3f2fd;
}

/* ===== 전체 섹션 더 컴팩트 ===== */
.detail-form-col .detail-section {
    padding: 14px;
    margin-bottom: 10px;
}

.detail-form-col .detail-section h5 {
    font-size: 0.85rem;
    margin-bottom: 10px;
    padding-bottom: 6px;
}

/* PC에서 주문 버튼 (견적 카드 내) */
.btn-order-lg {
    background: linear-gradient(135deg, var(--lguplus-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-order-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.45);
    color: white;
}

.estimate-buttons {
    margin-top: 15px;
}

/* 전화/카톡 버튼 (견적카드 내) */
.btn-estimate-phone {
    background: #4a5568;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-estimate-phone:hover {
    background: #2d3748;
    color: white;
    transform: translateY(-1px);
}

.btn-estimate-kakao {
    background: #fee500;
    color: #3c1e1e;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-estimate-kakao:hover {
    background: #fdd835;
    color: #3c1e1e;
    transform: translateY(-1px);
}

/* ===== 인터넷+TV 트리거 버튼 ===== */
.btn-internet-bundle {
    background: linear-gradient(135deg, #0097a7, #00bcd4);
    color: white;
    border: none;
    padding: 14px 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    box-shadow: 0 3px 12px rgba(0, 188, 212, 0.3);
    text-align: center;
}

.btn-internet-bundle:hover {
    background: linear-gradient(135deg, #00838f, #0097a7);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 188, 212, 0.45);
}

.btn-internet-bundle i.bi-router-fill {
    font-size: 1.1rem;
}

.btn-internet-bundle i.bi-chevron-right {
    font-size: 0.8rem;
    opacity: 0.8;
}

.internet-bundle-sub {
    display: block;
    font-size: 0.75rem;
    opacity: 0.85;
    margin-top: 2px;
    font-weight: 400;
}

/* 인터넷 선택 요약 (견적카드 아래) */
.selected-internet-summary {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid #80deea;
}

.selected-internet-summary strong {
    font-size: 0.88rem;
    color: #00695c;
}

.selected-internet-summary small {
    font-size: 0.8rem;
    color: #00838f;
}

/* ===== 인터넷 모달 스타일 ===== */
#internetBundleModal .modal-header {
    background: linear-gradient(135deg, #0097a7, #00bcd4) !important;
    padding: 15px 20px;
}

#internetBundleModal .modal-body {
    padding: 20px;
}

#internetBundleModal .internet-bundle-table th {
    background: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 1;
}

/* 인터넷 모달 모바일 최적화 - 카드형 레이아웃 */
@media (max-width: 768px) {
    #internetBundleModal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    #internetBundleModal .modal-header {
        padding: 12px 15px;
    }

    #internetBundleModal .modal-header h5 {
        font-size: 1rem;
    }

    #internetBundleModal .modal-body {
        padding: 12px;
    }

    /* 테이블 → 카드형 변환 */
    #internetBundleModal .internet-bundle-table {
        border: none;
    }

    #internetBundleModal .internet-bundle-table thead {
        display: none;
    }

    #internetBundleModal .internet-bundle-table tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    #internetBundleModal .internet-bundle-table tbody tr {
        display: block;
        background: #fff;
        border: 1px solid #e9ecef;
        border-radius: 12px;
        padding: 0;
        overflow: hidden;
        box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    }

    #internetBundleModal .internet-bundle-table tbody td {
        display: block;
        border: none;
        border-bottom: 1px solid #f5f5f5;
        padding: 10px 14px;
        text-align: left;
    }

    #internetBundleModal .internet-bundle-table tbody td:last-child {
        border-bottom: none;
    }

    /* 상품명 셀 (첫번째) - 헤더 스타일 */
    #internetBundleModal .internet-bundle-table tbody td:first-child {
        background: #f8f9fa;
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    #internetBundleModal .internet-bundle-table tbody td:first-child::before {
        display: none;
    }

    /* 나머지 셀 - 라벨 위, 값 아래 */
    #internetBundleModal .internet-bundle-table tbody td:not(:first-child)::before {
        content: attr(data-label);
        display: block;
        font-size: 0.72rem;
        font-weight: 700;
        color: #888;
        margin-bottom: 4px;
        letter-spacing: -0.3px;
    }

    /* 월 요금 셀 */
    #internetBundleModal .internet-bundle-table tbody td[data-label="월 요금"] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 6px;
    }

    #internetBundleModal .internet-bundle-table tbody td[data-label="월 요금"]::before {
        flex-basis: 100%;
    }

    /* 결합 셀 - 가격+할인+버튼을 한 줄에 */
    #internetBundleModal .internet-bundle-table tbody td[data-label="참쉬운가족결합"],
    #internetBundleModal .internet-bundle-table tbody td[data-label="투게더결합"] {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    #internetBundleModal .internet-bundle-table tbody td[data-label="참쉬운가족결합"]::before,
    #internetBundleModal .internet-bundle-table tbody td[data-label="투게더결합"]::before {
        flex-basis: 100%;
    }

    #internetBundleModal .internet-bundle-table tbody td[data-label="참쉬운가족결합"] .d-block,
    #internetBundleModal .internet-bundle-table tbody td[data-label="투게더결합"] .d-block,
    #internetBundleModal .internet-bundle-table tbody td[data-label="투게더결합"] .together-available-content .d-block {
        display: inline !important;
        margin-left: 6px;
    }

    /* 사은품 셀 */
    #internetBundleModal .internet-bundle-table tbody td[data-label="사은품"] {
        background: #fafafa;
        border-radius: 0 0 12px 12px;
    }

    #internetBundleModal .internet-bundle-table tbody td[data-label="사은품"] .d-block {
        display: inline !important;
        margin-left: 6px;
    }

    /* 버튼 크기 */
    #internetBundleModal .internet-bundle-table .internet-select-btn {
        font-size: 0.78rem;
        padding: 5px 14px;
        border-radius: 6px;
    }

    /* 투게더 비활성 */
    .together-disabled-content {
        font-size: 0.78rem;
    }

    .together-disabled-content .small {
        font-size: 0.75rem !important;
    }

    .together-disabled-content br {
        display: none;
    }

    /* 속도 탭 */
    #internetBundleModal .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 5px;
    }

    #internetBundleModal .nav-pills .nav-link {
        font-size: 0.85rem;
        padding: 8px 16px;
        white-space: nowrap;
    }

    /* 선택 확인 영역 */
    #internetBundleModal #selectedInternetPlan {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    /* table-responsive 스크롤 불필요 */
    #internetBundleModal .table-responsive {
        overflow-x: visible;
    }
}

/* ===== 우측 하단 고정 사이드바 ===== */
.right-fixed-panel {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1060;
    display: flex;
    align-items: stretch;
}

/* 토글 탭 (접힌 상태에서 보이는 탭) */
.rfp-toggle {
    width: 30px;
    background: var(--lguplus-color);
    color: white;
    border: none;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    padding: 12px 0;
}

.rfp-toggle:hover {
    background: #c2185b;
    width: 34px;
}

/* 컨텐츠 영역 */
.rfp-content {
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.12);
    width: 76px;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width 0.3s ease, opacity 0.3s ease;
    border-left: 1px solid #e9ecef;
}

/* 접힌 상태 */
.right-fixed-panel.collapsed .rfp-content {
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    border: none;
}

/* 상담 버튼 */
.rfp-contact {
    display: flex;
    flex-direction: column;
}

.rfp-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.62rem;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
}

.rfp-btn i {
    font-size: 1.2rem;
}

.rfp-phone {
    color: #4a5568;
    background: #f8f9fa;
}

.rfp-phone:hover {
    color: white;
    background: #4a5568;
}

.rfp-kakao {
    color: #3c1e1e;
    background: #fee500;
}

.rfp-kakao:hover {
    background: #fdd835;
    color: #3c1e1e;
}

/* 최근 본 모델 */
.rfp-recent {
    padding: 6px 4px;
    border-top: 2px solid #e9ecef;
}

.rfp-recent-title {
    font-size: 0.55rem;
    font-weight: 700;
    color: #999;
    text-align: center;
    padding: 3px 0 5px;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.rfp-recent-title i {
    font-size: 0.6rem;
}

.rfp-recent-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rfp-recent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 4px 2px;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-align: center;
}

.rfp-recent-item:hover {
    background: #f0f0f0;
}

.rfp-recent-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: #fafafa;
    margin-bottom: 2px;
}

.rfp-recent-name {
    font-size: 0.55rem;
    font-weight: 500;
    color: #555;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: keep-all;
    max-width: 66px;
}

/* 모바일에서 우측 패널: 하단 고정바가 있는 페이지(detail)에서는 숨김 */
@media (max-width: 991px) {
    .has-bottom-bar .right-fixed-panel {
        display: none;
    }
}

/* PC에서 하단 고정바 숨김 (견적카드가 sticky이므로) */
@media (min-width: 992px) {
    .bottom-fixed-bar.d-lg-none {
        display: none !important;
    }

    .estimate-sticky-wrap .estimate-card-new {
        margin-top: 0;
    }

    .kakao-float {
        bottom: 30px;
    }
}

/* === 992-1199px: 3컬럼 컴팩트화 === */
@media (min-width: 992px) and (max-width: 1199px) {
    .estimate-section {
        padding: 14px 16px;
    }
    .section-title {
        font-size: 0.85rem;
    }
    .section-title small {
        font-size: 0.72rem;
    }
    .section-value {
        font-size: 1.1rem;
    }
    .total-amount {
        font-size: 1.6rem;
    }
    .total-title {
        font-size: 0.95rem;
    }
    .estimate-total-section {
        padding: 16px;
    }
    .detail-row {
        font-size: 0.78rem;
    }
    .detail-form-col .detail-section {
        padding: 12px;
    }
    .detail-form-col .detail-section h5 {
        font-size: 0.82rem;
    }
    .contract-tab {
        padding: 10px 12px;
    }
    .contract-tab-title {
        font-size: 0.8rem;
    }
    .contract-tab-amount {
        font-size: 0.85rem;
    }
    .plan-selected-header {
        padding: 10px 14px;
    }
    .plan-selected-name {
        font-size: 0.85rem;
    }
    .plan-selected-price strong {
        font-size: 1rem;
    }
    .plan-selected-specs .plan-spec {
        font-size: 0.75rem;
    }
    .welfare-selected-header {
        padding: 9px 12px;
    }
    .welfare-selected-name {
        font-size: 0.8rem;
    }
    .welfare-list-name {
        font-size: 0.78rem;
    }
}

/* === 1200-1399px: 소폭 축소 === */
@media (min-width: 1200px) and (max-width: 1399px) {
    .section-title {
        font-size: 0.92rem;
    }
    .section-value {
        font-size: 1.2rem;
    }
    .estimate-section {
        padding: 16px 20px;
    }
    .total-amount {
        font-size: 1.8rem;
    }
    .detail-row {
        font-size: 0.82rem;
    }
    .detail-form-col .detail-section {
        padding: 14px;
    }
    .contract-tab-title {
        font-size: 0.85rem;
    }
    .contract-tab-amount {
        font-size: 0.9rem;
    }
}

/* === 태블릿 (768-991px): 2컬럼 폴백 === */
@media (min-width: 768px) and (max-width: 991px) {
    .detail-layout-row .detail-image-col {
        flex: 0 0 41.66%;
        max-width: 41.66%;
    }
    .detail-layout-row .detail-form-col {
        flex: 0 0 58.33%;
        max-width: 58.33%;
    }
    .detail-layout-row .detail-estimate-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .estimate-sticky-wrap {
        position: static;
    }
    .detail-form-col .detail-section {
        padding: 18px;
    }
}

/* 모바일 - 1컬럼 스택 */
@media (max-width: 767px) {
    .estimate-sticky-wrap {
        position: static;
    }

    .estimate-buttons {
        display: none !important;
    }

    .internet-bundle-trigger {
        margin-bottom: 15px;
    }
}

/* 가입유형 설명 텍스트 컴팩트 */
.detail-form-col .join-type-desc {
    font-size: 0.82rem;
    padding: 8px 12px;
    margin-top: 10px;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-form-col .join-type-desc i {
    font-size: 0.85rem;
    flex-shrink: 0;
}

.detail-form-col .join-type-desc span {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== 번들 단말기 스타일 ===== */

/* 견적카드 C 섹션 배지 */
.section-badge-c {
    background: #6f42c1 !important;
}

/* 번들 선택 트리거 버튼 */
.btn-bundle-device {
    background: linear-gradient(135deg, #6f42c1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-bundle-device:hover {
    background: linear-gradient(135deg, #5a32a3, #7c4fe0);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}
.bundle-trigger-sub {
    display: block;
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 2px;
}

/* 번들 선택 요약 */
.selected-bundle-summary {
    background: #f8f4ff;
    border: 1px solid #e0d4f5;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.88rem;
}

/* 번들 모달 카드 목록 */
.bundle-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bundle-card-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.bundle-card-item:hover {
    border-color: #6f42c1;
    background: #faf8ff;
}
.bundle-card-item.selected {
    border-color: #6f42c1;
    background: #f3eeff;
    box-shadow: 0 0 0 1px #6f42c1;
}

.bci-left {
    flex-shrink: 0;
}
.bci-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
}
.bci-image-placeholder {
    width: 70px;
    height: 70px;
    background: #f0ecf5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #6f42c1;
}

.bci-right {
    flex: 1;
    min-width: 0;
}
.bci-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    color: #333;
}
.bci-fee {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.bci-effective-fee {
    font-size: 1.1rem;
    font-weight: 700;
    color: #6f42c1;
}
.bci-discount {
    font-size: 0.78rem;
    color: #dc3545;
    font-weight: 600;
}
.bci-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
    color: #888;
}
.bci-principal {
    font-size: 0.82rem;
    color: #555;
    margin-top: 3px;
}

.bci-select-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e9ecef;
    color: #adb5bd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.bundle-card-item.selected .bci-select-badge {
    background: #6f42c1;
    color: #fff;
}

/* 번들 색상 dot */
.bci-colors {
    display: flex;
    gap: 5px;
    margin: 4px 0;
}
.bci-color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    cursor: pointer;
    transition: all 0.2s;
}
.bci-color-dot:hover {
    transform: scale(1.15);
}
.bci-color-dot.active {
    border-color: #6f42c1;
    box-shadow: 0 0 0 2px #6f42c1;
}

/* 번들 다중 기기 C 섹션 서브아이템 */
.bundle-device-detail-item {
    padding-bottom: 2px;
}

/* 번들 할부개월 버튼 */
.bundle-inst-btn {
    padding: 8px 16px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.bundle-inst-btn:hover {
    border-color: #6f42c1;
    color: #6f42c1;
}
.bundle-inst-btn.active {
    border-color: #6f42c1;
    background: #6f42c1;
    color: #fff;
}

/* 모바일 반응형 */
@media (max-width: 576px) {
    .bci-image, .bci-image-placeholder {
        width: 55px;
        height: 55px;
    }
    .bci-name {
        font-size: 0.9rem;
    }
    .bci-effective-fee {
        font-size: 1rem;
    }
    .bundle-card-item {
        padding: 10px;
        gap: 10px;
    }
}

/* ===== 고객센터 (Customer Center) ===== */

/* 고객센터 페이지 헤더 */
.support-page-header {
    text-align: center;
    padding: 30px 0 20px;
}
.support-page-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.support-page-header p {
    color: #888;
    margin-bottom: 0;
}

/* 탭 네비게이션 */
.support-tabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 24px;
}
.support-tabs .nav-link {
    color: #666;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}
.support-tabs .nav-link:hover {
    color: var(--primary-color);
    border-color: transparent;
}
.support-tabs .nav-link.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
}

/* 공지사항 목록 */
.notice-list {
    border-top: 2px solid #333;
}
.notice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.notice-item:hover {
    background: #f8f4ff;
    color: inherit;
}
.notice-item .ni-title {
    flex: 1;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 12px;
}
.notice-item .ni-date {
    font-size: 0.8rem;
    color: #aaa;
    white-space: nowrap;
}

/* 공지사항 상세 */
.notice-view-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.notice-view-header {
    border-bottom: 2px solid #333;
    padding-bottom: 16px;
    margin-bottom: 24px;
}
.notice-view-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.notice-view-header .notice-date {
    font-size: 0.85rem;
    color: #888;
}
.notice-view-content {
    padding: 20px 0;
    min-height: 200px;
    line-height: 1.8;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.notice-view-content img {
    max-width: 100%;
    height: auto;
}

/* FAQ */
.faq-category-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.faq-category-btn {
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    color: #555;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}
.faq-category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.faq-category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.faq-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
}
.faq-accordion .accordion-button {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 16px 12px;
    background: transparent;
    box-shadow: none;
    color: #333;
}
.faq-accordion .accordion-button::before {
    content: 'Q.';
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 8px;
    flex-shrink: 0;
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: #fef6f9;
}
.faq-accordion .accordion-button::after {
    flex-shrink: 0;
}
.faq-accordion .accordion-body {
    padding: 16px 12px 20px 36px;
    color: #555;
    line-height: 1.7;
    font-size: 0.9rem;
    background: #fafafa;
}
.faq-accordion .accordion-body img {
    max-width: 100%;
    height: auto;
}
.faq-category-label {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f0e6f6;
    color: var(--secondary-color);
    margin-right: 6px;
}

/* 1:1 문의 목록 */
.inquiry-list {
    border-top: 2px solid #333;
}
.inquiry-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.inquiry-item:hover {
    background: #f8f4ff;
    color: inherit;
}
.inquiry-item .iq-status {
    flex-shrink: 0;
}
.inquiry-item .iq-title {
    flex: 1;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.inquiry-item .iq-author {
    font-size: 0.8rem;
    color: #888;
    flex-shrink: 0;
}
.inquiry-item .iq-date {
    font-size: 0.8rem;
    color: #aaa;
    flex-shrink: 0;
}
.inquiry-status-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
}
.inquiry-status-badge.waiting {
    background: #fff3cd;
    color: #856404;
}
.inquiry-status-badge.answered {
    background: #d1e7dd;
    color: #0f5132;
}

/* 문의 작성/상세 */
.inquiry-write-wrapper,
.inquiry-view-wrapper {
    max-width: 700px;
    margin: 0 auto;
}
.inquiry-write-header,
.inquiry-view-header {
    text-align: center;
    margin-bottom: 24px;
}
.inquiry-write-header h1,
.inquiry-view-header h1 {
    font-size: 1.4rem;
    font-weight: 700;
}
.inquiry-view-meta {
    font-size: 0.85rem;
    color: #888;
    margin-top: 8px;
}
.inquiry-view-meta span {
    margin: 0 8px;
}
.inquiry-view-content {
    padding: 20px 0;
    min-height: 150px;
    line-height: 1.8;
    font-size: 0.95rem;
    border-top: 2px solid #333;
    border-bottom: 1px solid #eee;
}
.inquiry-reply-box {
    background: #f0f8ff;
    border: 1px solid #d0e4f5;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}
.inquiry-reply-box .reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.85rem;
}
.inquiry-reply-box .reply-header .reply-label {
    font-weight: 700;
    color: var(--primary-color);
}
.inquiry-reply-box .reply-header .reply-date {
    color: #888;
}
.inquiry-reply-box .reply-content {
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 비밀번호 확인 박스 */
.inquiry-password-box {
    max-width: 400px;
    margin: 40px auto;
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.inquiry-password-box h5 {
    margin-bottom: 16px;
    font-weight: 700;
}

/* 고객센터 빈 상태 */
.support-empty {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
}
.support-empty i {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

/* 문의 네비게이션 (이전/다음) */
.notice-nav {
    display: flex;
    gap: 1px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}
.notice-nav-item {
    flex: 1;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.notice-nav-item:hover {
    background: #f8f4ff;
    color: inherit;
}
.notice-nav-item.disabled {
    color: #ccc;
}
.notice-nav-item .nav-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
}
.notice-nav-item .nav-title {
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
.notice-nav-item.next {
    text-align: right;
}

/* 반응형 */
@media (max-width: 576px) {
    .support-tabs .nav-link {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    .inquiry-item .iq-author {
        display: none;
    }
    .faq-category-btn {
        font-size: 0.78rem;
        padding: 5px 12px;
    }
    .support-page-header h1 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .notice-item .ni-title {
        font-size: 0.88rem;
    }
}

/* ===== 가입유형별 가격 표시 (메인 페이지 폰 카드) ===== */
.join-type-prices {
    margin-top: 10px;
}

.join-type-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    border-left: 3px solid #ccc;
}

.join-type-box.mnp {
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
}

.join-type-box.rejoin {
    border-left-color: #4caf50;
    background: linear-gradient(135deg, #f5fff5 0%, #fff 100%);
}

.join-type-header {
    margin-bottom: 6px;
}

.join-type-label {
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.join-type-box.mnp .join-type-label {
    color: var(--primary-color);
}

.join-type-box.rejoin .join-type-label {
    color: #4caf50;
}

.join-type-discount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.join-type-discount .discount-label {
    color: #666;
}

.join-type-discount .discount-value {
    color: var(--primary-color);
    font-weight: 600;
}

.join-type-plan {
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 4px;
}

.join-type-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px dashed #ddd;
}

.join-type-final .final-label {
    font-size: 0.75rem;
    color: #333;
    font-weight: 500;
}

.join-type-final .final-value {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
}

/* 모바일 최적화 */
@media (max-width: 576px) {
    .join-type-box {
        padding: 8px;
        margin-bottom: 6px;
    }

    .join-type-label {
        font-size: 0.7rem;
    }

    .join-type-discount {
        font-size: 0.75rem;
    }

    .join-type-final .final-value {
        font-size: 0.9rem;
    }
}

/* ===== 가입유형 변경 시 요금제 전환 토스트 알림 ===== */
.join-type-plan-toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.join-type-plan-toast.fade-out {
    animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

.join-type-plan-toast .toast-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
    max-width: 400px;
}

.join-type-plan-toast .toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.join-type-plan-toast .toast-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.join-type-plan-toast .toast-text strong {
    color: #fff;
}

.join-type-plan-toast .plan-info {
    display: inline-block;
    margin-top: 4px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.join-type-plan-toast .toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    transition: color 0.2s;
}

.join-type-plan-toast .toast-close:hover {
    color: #fff;
}

@media (max-width: 576px) {
    .join-type-plan-toast {
        left: 10px;
        right: 10px;
        transform: none;
    }

    .join-type-plan-toast .toast-content {
        max-width: none;
    }
}
