/* 마이페이지 스타일 */

/* 마이페이지 전체: 제목 등으로 오른쪽 삐져나감 방지 */
.mypage-container,
.mypage-container .container {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.mypage-container {
    padding: 30px 0 60px;
    background: #fff;
    min-height: calc(100vh - 400px);
}

/* 알림 스타일 (알림 목록용) */
.notification-list .notification-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

.notification-list .notification-item.unread {
    background-color: #f0f7ff;
    font-weight: 500;
}

.notification-list .notification-item.unread:hover {
    background-color: #e6f2ff;
}

.notification-list .notification-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    flex-shrink: 0;
}

.notification-list .notification-item.unread .notification-icon {
    background: #4A5FC1;
    color: white;
}

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

.notification-list .notification-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.notification-list .notification-item.read .notification-title {
    font-weight: 400;
    color: #666;
}

.notification-list .notification-message {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    line-height: 1.5;
}

.notification-list .notification-item.read .notification-message {
    color: #999;
}

.notification-list .notification-date {
    font-size: 12px;
    color: #999;
}

.notification-list .notification-unread-dot {
    width: 8px;
    height: 8px;
    background: #4A5FC1;
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-item.notification-item {
    /* cursor와 hover는 .stat-item에 이미 적용됨 */
}

.stat-item.notification-item i .notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f44336;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    pointer-events: none;
    white-space: nowrap;
}

.notification-empty {
    text-align: center;
    padding: 60px 20px;
}

.notification-empty i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.notification-empty p {
    color: #999;
    font-size: 16px;
}

/* 상단 헤더 */
.mypage-header {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 24px;
}

.mypage-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
}

/* 쇼핑지원금 안내 배너 */
.support-notice {
    background: #FFC107;
    color: #000;
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
}

/* 레이아웃 - 콘텐츠 열이 제목 등으로 넓어지지 않도록 minmax(0,1fr) */
.mypage-wrapper {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 30px;
    min-width: 0;
    max-width: 100%;
}

/* ========== 사이드바 ========== */
.mypage-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 사용자 정보 섹션 */
.user-info-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    padding: 25px 20px;
}

.user-greeting {
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.user-greeting strong {
    color: var(--primary-color);
    font-weight: 700;
}

.btn-info-edit {
    width: 100%;
    padding: 8px;
    background: var(--primary-color);
    border: none;
    border-radius: 4px;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    transition: var(--transition);
}

.btn-info-edit:hover {
    background: #f5b800;
}

.user-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
    position: relative;
    flex: 1;
    cursor: pointer;
    transition: opacity 0.2s;
}

.stat-item:hover {
    opacity: 0.8;
}

.stat-item i {
    font-size: 16px;
    color: var(--primary-color);
}

.stat-item.notification-item i {
    position: relative;
}

.stat-item strong {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

/* 관심상품/장바구니/알림 라벨·개수 항상 표시 */
.user-stats .stat-item span,
#wishlistCount,
#cartCount,
#notificationCount {
    visibility: visible;
    color: inherit;
}
.user-stats .stat-item {
    visibility: visible;
}
.user-stats .stat-item strong {
    visibility: visible;
}

/* 쇼핑지원금 섹션 */
.support-info-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    padding: 20px;
}

.support-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

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

.support-row span {
    font-size: 13px;
    color: #666;
}

.support-row strong {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.btn-token-action {
    display: block;
    width: 100%;
    padding: 10px 16px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--primary-color, #4A5FC1);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-token-action:hover { opacity: 0.9; }
.btn-token-action:last-of-type { margin-bottom: 0; margin-top: 12px; }

.token-modal .token-modal-content { max-width: 400px; }
.token-form-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.token-form-row label { min-width: 80px; font-size: 14px; color: #333; }
.token-form-row .form-control { flex: 1; padding: 8px 12px; }
.token-form-row .token-balance { font-weight: 700; color: #333; }
.token-modal .modal-body .btn { margin-top: 10px; width: 100%; }

/* 토큰 구매/출금 우측 영역 섹션 */
.token-section .section-title {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color, #4A5FC1);
}
.token-section .section-title h3 {
    margin: 0;
    font-size: 20px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
}
.token-section .section-title h3 i {
    color: var(--primary-color, #4A5FC1);
}
.token-panel {
    background: linear-gradient(145deg, #f8f9ff 0%, #fff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    max-width: 420px;
    box-shadow: 0 4px 12px rgba(74, 95, 193, 0.06);
}
.token-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 24px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.token-form-group {
    margin-bottom: 18px;
}
.token-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}
.token-form-group .token-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.token-form-group .token-input:focus {
    outline: none;
    border-color: var(--primary-color, #4A5FC1);
    box-shadow: 0 0 0 3px rgba(74, 95, 193, 0.15);
}
.token-balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 20px;
    background: #f0f4ff;
    border-radius: 8px;
    padding: 14px 16px;
}
.token-balance-label {
    font-size: 14px;
    color: #555;
}
.token-form-group .token-balance,
.token-balance-row .token-balance {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color, #4A5FC1);
}
.btn-token-submit {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-color, #4A5FC1);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.05s;
}
.btn-token-submit:hover {
    background: #3d4fa8;
}
.btn-token-submit:active {
    transform: scale(0.98);
}

/* 네비게이션 메뉴 */
.mypage-nav {
    background: #fff;
    border: 1px solid #e0e0e0;
}

.nav-group {
    border-bottom: 1px solid #e0e0e0;
}

.nav-group:last-child {
    border-bottom: none;
}

.nav-group h4 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    padding: 15px 20px;
    margin: 0;
    background: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.nav-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-group li {
    border-bottom: 1px solid #f0f0f0;
}

.nav-group li:last-child {
    border-bottom: none;
}

.nav-group a {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.nav-group a:hover {
    background: #fafafa;
    color: var(--primary-color);
}

/* 모바일: 메뉴 바로 밑 토글용 슬롯 (PC에서는 미사용) */
.mypage-mobile-content-slot {
    display: none;
}

.mypage-mobile-content-slot.open .content-section {
    margin: 0;
}

/* 메뉴 항목 구현 여부 뱃지 */
.nav-badge {
    display: inline-block;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    font-weight: 600;
    vertical-align: middle;
}
.nav-badge.implemented {
    background: #e8f5e9;
    color: #2e7d32;
}
.nav-badge.pending {
    background: #fff3e0;
    color: #e65100;
}

/* ========== 메인 컨텐츠 ========== */
.mypage-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    overflow-x: hidden;
}

/* 컨텐츠 섹션 */
.content-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 25px;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* 섹션 타이틀 - 길어도 말줄임 */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
    min-width: 0;
    overflow: hidden;
}

.section-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-more {
    font-size: 12px;
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

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

/* 주문 단계 */
.order-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #999;
    background: #fff;
}

.step-name {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

.step-arrow {
    color: #ddd;
    font-size: 16px;
    margin: 0 10px;
}

/* 공지/이벤트 테이블 스타일 */
.notice-list-wrap {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.notice-list-wrap .mypage-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.notice-list-wrap .mypage-table thead th {
    padding: 10px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #eee;
    background: #fff;
}

.notice-list-wrap .mypage-table tbody td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.notice-list-wrap .mypage-table thead th:nth-child(1) {
    text-align: left;
}

.notice-list-wrap .mypage-table thead th:nth-child(2),
.notice-list-wrap .mypage-table tbody td:nth-child(2) {
    text-align: center;
    width: 100px;
}

.notice-list-wrap .mypage-table thead th:nth-child(3),
.notice-list-wrap .mypage-table tbody td:nth-child(3) {
    text-align: center;
    width: 80px;
}

.notice-list-wrap .mypage-table thead th:nth-child(4),
.notice-list-wrap .mypage-table tbody td:nth-child(4) {
    text-align: right;
    width: 100px;
}

/* 공지사항 제목+작성일 테이블: 제목 항상 가로, 칸 모자라면 ... */
.notice-list-wrap .notice-table-title-date {
    table-layout: fixed;
}

.notice-list-wrap .notice-table-title-date .col-title {
    width: 85%;
    min-width: 120px;
    text-align: left;
    padding-left: 8px;
}

.notice-list-wrap .notice-table-title-date .col-date {
    width: 15%;
    min-width: 90px;
}

.notice-list-wrap .notice-table-title-date .cell-title {
    overflow: hidden !important;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
    text-align: left;
    padding-left: 8px;
}

.notice-list-wrap .notice-table-title-date .cell-title .notice-title-link,
.notice-list-wrap .notice-table-title-date .cell-title .event-title-link {
    display: block;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0;
    max-width: 100%;
    text-align: left;
}

/* 공지/이벤트 테이블: 작성일 한 줄 표시, 오른쪽 정렬 */
.notice-list-wrap .mypage-table .col-date {
    white-space: nowrap;
    min-width: 90px;
    text-align: right !important;
}

.notice-list-wrap .mypage-table a.notice-title-link,
.notice-list-wrap .mypage-table a.event-title-link {
    color: #4A5FC1;
    text-decoration: none;
}

.notice-list-wrap .mypage-table a.notice-title-link:hover,
.notice-list-wrap .mypage-table a.event-title-link:hover {
    text-decoration: underline;
}

/* 공지사항 빈 상태 */
.notice-empty {
    text-align: center;
    padding: 60px 0;
    color: #999;
    font-size: 14px;
}

/* 공지/이벤트 펼침 내용 행 */
.notice-detail-cell {
    padding: 16px 20px !important;
    background: #f8f9fc;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    word-break: break-word;
    vertical-align: top;
}

/* ========== 회원정보 수정 폼 (세련된 카드형) ========== */
.mypage-profile-section .section-title {
    margin-bottom: 28px;
}

.mypage-profile-form {
    max-width: 560px;
}

.mypage-profile-form .profile-form-card {
    background: #f8f9fc;
    border-radius: 12px;
    padding: 32px 36px 40px;
    border: 1px solid #e8eaef;
}

.mypage-profile-form .form-row {
    margin-bottom: 28px;
}

.mypage-profile-form .form-row:last-of-type {
    margin-bottom: 0;
}

.mypage-profile-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
    letter-spacing: -0.02em;
}

.mypage-profile-form .form-control,
.mypage-profile-form input[type="text"],
.mypage-profile-form select {
    width: 100%;
    max-width: 400px;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.45;
    border: 1px solid #d4d8e0;
    border-radius: 8px;
    background: #fff;
    color: #2c3e50;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mypage-profile-form .form-control::placeholder,
.mypage-profile-form input[type="text"]::placeholder {
    color: #9ca3af;
}

.mypage-profile-form select {
    cursor: pointer;
    appearance: auto;
}

.mypage-profile-form .form-control:focus,
.mypage-profile-form input[type="text"]:focus,
.mypage-profile-form select:focus {
    outline: none;
    border-color: #4A5FC1;
    box-shadow: 0 0 0 3px rgba(74, 95, 193, 0.18);
}

/* 저장 버튼 영역: 위 여백 + 구분선 */
.mypage-profile-form .profile-form-actions {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #e2e6ec;
}

/* 저장 버튼: style.css의 button { background:none } 덮어쓰기 */
#mypageSectionProfile .mypage-profile-form .btn-mypage-save,
#mypageSectionProfile .mypage-profile-form #mypageProfileSave,
.mypage-profile-form .btn-mypage-save,
.mypage-profile-form #mypageProfileSave {
    display: inline-block !important;
    padding: 16px 40px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: #4A5FC1 !important;
    background-color: #4A5FC1 !important;
    border: 2px solid #3d4fa8 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(74, 95, 193, 0.4);
    -webkit-appearance: none;
    appearance: none;
}

.mypage-profile-form .btn-mypage-save:hover,
.mypage-profile-form #mypageProfileSave:hover {
    color: #fff;
    background: #3d4fa8;
    background-color: #3d4fa8;
    border-color: #334493;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 95, 193, 0.45);
}

.mypage-profile-form .btn-mypage-save:active,
.mypage-profile-form #mypageProfileSave:active {
    transform: translateY(0);
}

.mypage-profile-form .btn-mypage-save:disabled,
.mypage-profile-form #mypageProfileSave:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* ========== 마케팅 수신동의 ========== */
.mypage-marketing-section .info-text {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.mypage-marketing-section .marketing-form-card {
    max-width: 480px;
}

.form-row-checkbox {
    margin-bottom: 16px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #2c3e50;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ========== 배송지 관리 ========== */
.mypage-address-section .info-text {
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
}

.address-list-wrap {
    margin-bottom: 20px;
}

.address-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.address-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #fafafa;
}

.address-item.is-default {
    border-color: var(--primary-color);
    background: #fffef7;
}

.address-item-body {
    flex: 1;
}

.address-recipient {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.address-default-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    background: var(--primary-color);
    color: #000;
    border-radius: 4px;
}

.address-detail {
    margin: 6px 0 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.address-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.btn-address-set-default,
.btn-address-edit,
.btn-address-delete {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid #d0d0d0;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.btn-address-set-default:hover,
.btn-address-edit:hover,
.btn-address-delete:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

.btn-address-delete {
    color: #c62828;
    border-color: #ef9a9a;
}

.btn-address-delete:hover {
    background: #ffebee;
    border-color: #e57373;
}

.address-form-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 16px;
    color: #333;
}

.address-form-wrap .profile-form-card {
    max-width: 480px;
}

.address-form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-address-cancel {
    padding: 12px 24px;
    font-size: 14px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    background: #fff;
    color: #555;
    cursor: pointer;
}

.btn-address-cancel:hover {
    background: #f5f5f5;
}

.btn-address-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border: 1px dashed #ccc;
    border-radius: 8px;
    background: #fafafa;
    color: #555;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.btn-address-add:hover {
    background: #f0f0f0;
    border-color: var(--primary-color);
    color: #333;
}

.address-empty {
    padding: 24px;
    text-align: center;
    color: #999;
    font-size: 14px;
    border: 1px dashed #e0e0e0;
    border-radius: 8px;
    margin-bottom: 16px;
}

/* ========== 회원탈퇴 ========== */
.mypage-withdraw-section .withdraw-notice {
    background: #fff8e1;
    border: 1px solid #ffecb3;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.mypage-withdraw-section .withdraw-notice p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #5d4e37;
    line-height: 1.6;
}

.mypage-withdraw-section .withdraw-notice p:last-child {
    margin-bottom: 0;
    font-weight: 600;
}

.withdraw-form-card {
    max-width: 520px;
}

.btn-withdraw {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: #c62828;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-withdraw:hover:not(:disabled) {
    background: #b71c1c;
}

.btn-withdraw:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== 자주 묻는 질문 (FAQ) ========== */
.faq-search-wrap .form-control {
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.faq-tab {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.faq-tab:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.faq-tab.active {
    background: #333;
    border-color: #333;
    color: #fff;
}

.faq-accordion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-accordion-q {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 12px;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 0;
    overflow: hidden;
}

.faq-accordion-q:hover {
    background: #f9f9f9;
}

.faq-q-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.faq-q-text {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.faq-accordion-toggle {
    color: #999;
    font-size: 12px;
}

.faq-accordion-a {
    padding: 16px 12px 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.faq-a-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4A5FC1;
    color: #fff;
    text-align: center;
    line-height: 24px;
    font-size: 12px;
    font-weight: 700;
    margin-right: 8px;
    vertical-align: top;
}

.faq-a-text {
    display: inline-block;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    max-width: 90%;
}

.faq-empty {
    padding: 24px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* 쇼핑지원금 내역 페이징 */
.mypage-support-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.mypage-support-pagination .btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: #333;
    cursor: pointer;
}

.mypage-support-pagination .btn:hover:not(:disabled) {
    background: #f5f7fa;
    border-color: #4A5FC1;
    color: #4A5FC1;
}

.mypage-support-pagination .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mypage-support-pagination .mypage-support-page-num.active {
    background: #4A5FC1;
    border-color: #4A5FC1;
    color: #fff;
}

/* 주문/배송조회·관심상품 공통 페이징 */
.mypage-list-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.mypage-list-pagination .btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: #333;
    cursor: pointer;
}

.mypage-list-pagination .btn:hover:not(:disabled) {
    background: #f5f7fa;
    border-color: #4A5FC1;
    color: #4A5FC1;
}

.mypage-list-pagination .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mypage-list-pagination .mypage-page-num.active {
    background: #4A5FC1;
    border-color: #4A5FC1;
    color: #fff;
}

/* 관심상품/장바구니 탭 */
.wishlist-cart-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.wishlist-cart-tab {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.wishlist-cart-tab:hover {
    color: #333;
    border-bottom-color: #ddd;
}

.wishlist-cart-tab.active {
    color: #333;
    border-bottom-color: #333;
}

/* 주문/배송조회 아코디언 - 한 주문당 하나의 칸(카드), 상품명만 보이고 펼치면 상세 */
.content-section[data-section="orders"] {
    overflow-x: hidden;
    min-width: 0;
}

.mypage-order-list-wrap {
    font-size: 14px;
    overflow-x: hidden;
    max-width: 100%;
    min-width: 0;
}

.order-accordion-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.order-accordion-list > li {
    display: block;
}

.order-accordion-empty {
    display: block;
    padding: 24px 16px;
    text-align: center;
    color: #666;
    font-size: 14px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #fafafa;
}

.order-accordion-item {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    min-width: 0;
    box-sizing: border-box;
}

.order-accordion-item:last-child {
    margin-bottom: 0;
}

.order-accordion-header {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: none;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
    box-sizing: border-box;
    overflow: hidden;
}

.order-accordion-header:hover {
    background: #f5f7fa;
}

.order-accordion-header .order-accordion-title,
.order-accordion-title {
    width: 0;
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block;
    word-break: normal;
}

.order-accordion-icon {
    flex-shrink: 0;
    margin-left: 12px;
    color: #888;
    transition: transform 0.2s;
}

.order-accordion-item.open .order-accordion-icon {
    transform: rotate(180deg);
}

.order-accordion-body {
    display: none !important;
    padding: 14px 16px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e8e8e8;
    box-sizing: border-box;
}

.order-accordion-item.open .order-accordion-body {
    display: block !important;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.5;
    gap: 12px;
}

.order-detail-row .order-detail-value:empty::after {
    content: '-';
    color: #999;
}

.order-detail-row:first-child {
    padding-top: 0;
}

.order-detail-row:last-child {
    padding-bottom: 0;
}

.order-detail-label {
    color: #666;
    font-weight: 500;
    flex-shrink: 0;
    margin-right: 12px;
}

.order-detail-value {
    color: #333;
    font-weight: 600;
    text-align: right;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-detail-status {
    color: #4A5FC1;
}

/* 관심상품/장바구니 아코디언 - 제목 말줄임, 펼침 시 한 줄씩 표시 */
.content-section[data-section="wishlist-cart"],
.wishlist-tab-content,
.cart-tab-content {
    min-width: 0;
    overflow-x: hidden;
}

.wishlist-list,
.cart-list {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.wishlist-accordion-item,
.cart-accordion-item {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    min-width: 0;
    box-sizing: border-box;
}

.wishlist-accordion-item:last-child,
.cart-accordion-item:last-child {
    margin-bottom: 0;
}

.wishlist-accordion-header,
.cart-accordion-header {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: none;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
}

.wishlist-accordion-header .wishlist-accordion-title,
.cart-accordion-header .cart-accordion-title {
    width: 0;
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block;
}

.wishlist-accordion-header:hover,
.cart-accordion-header:hover {
    background: #f5f7fa;
}

.wishlist-accordion-title,
.cart-accordion-title {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block;
    word-break: normal;
    writing-mode: horizontal-tb;
}

.wishlist-accordion-icon,
.cart-accordion-icon {
    flex-shrink: 0;
    margin-left: 12px;
    color: #888;
    transition: transform 0.2s;
}

.wishlist-accordion-item.open .wishlist-accordion-icon,
.cart-accordion-item.open .cart-accordion-icon {
    transform: rotate(180deg);
}

.wishlist-accordion-body,
.cart-accordion-body {
    display: none !important;
    padding: 16px;
    background: #f8f9fa;
    border-top: 1px solid #e8e8e8;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.wishlist-accordion-item.open .wishlist-accordion-body,
.cart-accordion-item.open .cart-accordion-body {
    display: block !important;
}

/* 펼쳤을 때: 이미지 왼쪽, 정보 오른쪽 한 줄 정렬 후 버튼은 아래 구분선 위에 */
.wishlist-accordion-detail,
.cart-accordion-detail {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.wishlist-accordion-img,
.cart-accordion-img {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-accordion-thumb,
.cart-accordion-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-accordion-noimg,
.cart-accordion-noimg {
    font-size: 28px;
    color: #ccc;
}

.wishlist-accordion-info,
.cart-accordion-info {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 펼침 영역: 가격/옵션/수량/금액 한 줄씩 정렬 */
.wishlist-detail-row,
.cart-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    font-size: 14px;
    line-height: 1.4;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.wishlist-detail-row:first-child,
.cart-detail-row:first-child {
    padding-top: 0;
}

.wishlist-detail-label,
.cart-detail-label {
    color: #666;
    flex-shrink: 0;
    word-break: normal;
    writing-mode: horizontal-tb;
}

.wishlist-detail-value,
.cart-detail-value {
    color: #333;
    font-weight: 600;
    min-width: 0;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-align: right;
    word-break: normal;
    writing-mode: horizontal-tb;
}

.wishlist-accordion-actions,
.cart-accordion-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e8e8e8;
    width: 100%;
    max-width: 100%;
}

.wishlist-accordion-actions .btn,
.cart-accordion-actions .btn {
    min-height: 38px;
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.wishlist-accordion-actions .btn:hover,
.cart-accordion-actions .btn:hover {
    background: #f5f7fa;
    border-color: #ced4da;
}

.wishlist-accordion-actions .btn-primary,
.cart-accordion-actions .btn-primary {
    background: #4A5FC1;
    border-color: #4A5FC1;
    color: #fff;
}

.wishlist-accordion-actions .btn-primary:hover,
.cart-accordion-actions .btn-primary:hover {
    background: #3d4fa8;
    border-color: #3d4fa8;
}

/* 관심상품/장바구니 아이템 가독성 (기존 스타일 유지) */
.wishlist-item,
.cart-item {
    display: flex;
    align-items: center;
    padding: 20px 16px;
    border-bottom: 1px solid #e8e8e8;
    transition: background 0.2s;
    font-size: 14px;
    line-height: 1.55;
    color: #333;
}

.wishlist-item:hover,
.cart-item:hover {
    background: #f5f7fa;
}

.wishlist-item img,
.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.wishlist-item h4,
.cart-item h4 {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
}

.wishlist-item p,
.cart-item p {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.wishlist-empty,
.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.wishlist-empty i,
.cart-empty i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.wishlist-empty p,
.cart-empty p {
    color: #999;
    font-size: 16px;
}

/* 1:1문의 스타일 */
.inquiry-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    background: #fff;
    transition: box-shadow 0.2s;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.inquiry-item h4,
.inquiry-item .inquiry-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.inquiry-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.inquiry-empty {
    text-align: center;
    padding: 60px 20px;
}

.inquiry-empty i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.inquiry-empty p {
    color: #999;
    font-size: 16px;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
    transition: color 0.3s;
}

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

.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-footer .btn {
    min-width: 80px;
}

.required {
    color: #e74c3c;
}

/* 1:1문의 모달 개선 스타일 */
.inquiry-modal-content {
    max-width: 700px;
    border-radius: 16px;
    overflow: hidden;
}

.inquiry-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px 28px;
    border-bottom: none;
}

.inquiry-modal-title-wrap {
    display: flex;
    align-items: center;
}

.inquiry-modal-header h3 {
    color: white;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.inquiry-modal-header .modal-close {
    color: white;
    font-size: 24px;
    opacity: 0.9;
}

.inquiry-modal-header .modal-close:hover {
    opacity: 1;
    color: white;
}

.inquiry-modal-body {
    padding: 32px;
    background: #fafbfc;
}

.inquiry-form-group {
    margin-bottom: 28px;
}

.inquiry-form-group:last-of-type {
    margin-bottom: 0;
}

.inquiry-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

.label-text {
    color: #2d3748;
}

.required-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #fee;
    color: #e53e3e;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.inquiry-input,
.inquiry-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #2d3748;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.inquiry-input:focus,
.inquiry-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.inquiry-input::placeholder,
.inquiry-textarea::placeholder {
    color: #a0aec0;
}

.inquiry-select-wrapper {
    position: relative;
}

.inquiry-select {
    width: 100%;
    padding: 14px 40px 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #2d3748;
    background: white;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.inquiry-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.inquiry-select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
    pointer-events: none;
    font-size: 12px;
}

.inquiry-textarea {
    resize: vertical;
    min-height: 180px;
    line-height: 1.6;
}

.textarea-counter {
    text-align: right;
    margin-top: 8px;
    font-size: 12px;
    color: #718096;
}

.textarea-counter span {
    color: #667eea;
    font-weight: 600;
}

.inquiry-modal-footer {
    padding: 20px 32px;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-inquiry-cancel,
.btn-inquiry-submit {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-inquiry-cancel {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-inquiry-cancel:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.btn-inquiry-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-inquiry-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-inquiry-submit:active {
    transform: translateY(0);
}

/* 반응형 */
@media (max-width: 1024px) {
    .mypage-wrapper {
        grid-template-columns: 250px 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mypage-wrapper {
        grid-template-columns: 1fr;
    }

    .mypage-sidebar {
        order: 1;
    }

    .mypage-content {
        order: 2;
    }

    /* 모바일: 메뉴 클릭 시 해당 메뉴 바로 밑에 토글로 열림 */
    .mypage-mobile-content-slot {
        display: none;
        padding: 0 12px 16px;
        margin: 0 8px 12px;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        overflow-x: hidden;
        min-width: 0;
        max-width: 100%;
    }

    .mypage-mobile-content-slot.open {
        display: block;
    }

    .mypage-mobile-content-slot .content-section {
        border: none;
        box-shadow: none;
        padding-top: 12px;
        min-width: 0;
        overflow-x: hidden;
    }

    .mypage-nav li.mobile-panel-open > a {
        background: #f0f4ff;
        color: var(--primary-color, #4A5FC1);
    }

    .order-steps {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
        gap: 8px;
        padding: 20px 0;
    }

    .step-item {
        min-width: 0;
    }

    .step-number {
        width: 42px;
        height: 42px;
        font-size: 16px;
        margin: 0 auto;
    }

    .step-name {
        font-size: 12px;
    }

    .step-arrow {
        display: none;
    }
}

/* ========== 말줄임 고정 (다른 스타일/미디어에 의해 풀리지 않도록 파일 맨 끝에 유지) ========== */
.mypage-container .order-accordion-title,
.mypage-container .wishlist-accordion-title,
.mypage-container .cart-accordion-title {
    width: 0 !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
}

.mypage-container .order-accordion-header,
.mypage-container .wishlist-accordion-header,
.mypage-container .cart-accordion-header {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.mypage-container .wishlist-accordion-item,
.mypage-container .cart-accordion-item,
.mypage-container .order-accordion-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.mypage-container .wishlist-list,
.mypage-container .cart-list {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.mypage-container .section-title h3 {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
}

.mypage-container .faq-q-text {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
}

.mypage-container .notice-list-wrap .cell-title .notice-title-link,
.mypage-container .notice-list-wrap .cell-title .event-title-link,
.mypage-container .notice-list-wrap a.notice-title-link,
.mypage-container .notice-list-wrap a.event-title-link {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 100% !important;
}

.mypage-container .wishlist-detail-value,
.mypage-container .cart-detail-value,
.mypage-container .order-detail-value {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    word-break: normal !important;
}

.mypage-container .wishlist-detail-row,
.mypage-container .cart-detail-row,
.mypage-container .order-detail-row {
    min-width: 0 !important;
    overflow: hidden !important;
}

/* 은행정보 패널 스타일 */
.bank-info-panel {
    margin: 15px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border: 2px solid #e1ecff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bank-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #2563eb;
    font-size: 16px;
    font-weight: 600;
}

.bank-info-header i {
    font-size: 18px;
}

.bank-info-content {
    margin-left: 26px;
}

.bank-account {
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
    margin: 8px 0;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.bank-holder {
    font-size: 14px;
    color: #374151;
    margin: 4px 0;
    font-weight: 500;
}

.bank-notice {
    font-size: 13px;
    color: #dc2626;
    margin: 8px 0 0 0;
    font-weight: 500;
    background: rgba(220, 38, 38, 0.1);
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 3px solid #dc2626;
}
