/* --- 1. Reset & Base Variables --- */
:root {
    --primary-color: #00C471;
    --primary-dark: #00a35e;
    --text-color: #1b1c1d;
    --gray-text: #616568;
    --border-color: #e4e4e4;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --footer-bg: #303740;
}
@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {/* font-family: 'Noto Sans KR', sans-serif; */color: var(--text-color);line-height: 1.5;background-color: var(--white);overflow-x: hidden;}
a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* Layout Utility */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section-py { padding: 40px 0; border-bottom: 1px solid #f1f3f5; }
.thu {width: 102px;height: auto;overflow: auto;border-radius: 0;flex-shrink:0;}


.signup-container {
        max-width: 400px;
        margin: 60px auto 100px; 
        padding: 0 16px;
    }

    /* 1. Header Area */
    .signup-header { text-align: center; margin-bottom: 40px; }
    .signup-header h1 { font-size: 24px; font-weight: 800; color: #343a40; margin-bottom: 8px; }
    .signup-header p { font-size: 15px; color: #868e96; letter-spacing: -0.3px; }

    /* 2. Form Area */
    .signup-form { background: transparent; }

    .input-box { margin-bottom: 24px; text-align: left; }
    .input-label { display: block; font-size: 14px; font-weight: 700; color: #343a40; margin-bottom: 8px; }
    
    .input-field { 
        width: 100%; height: 50px; 
        padding: 0 16px; 
        border: 1px solid #dee2e6; border-radius: 6px; 
        font-size: 15px; background: white; 
        transition: border-color 0.2s; outline: none;
    }
    .input-field:focus { border-color: #00c471; }
    .input-field::placeholder { color: #ced4da; }

    /* Password Wrapper */
    .pw-wrapper { position: relative; }
    .btn-pw-toggle { 
        position: absolute; right: 16px; top: 50%; transform: translateY(-50%); 
        color: #adb5bd; background: none; border: none; font-size: 18px; cursor: pointer; 
    }

    /* Password Guide List */
    .pw-guide-list { margin-top: 10px; list-style: none; padding: 0; }
    .pw-guide-list li { 
        font-size: 13px; color: #adb5bd; margin-bottom: 6px; 
        display: flex; align-items: center; gap: 6px; 
    }
    .pw-guide-list li i { font-size: 11px; }
    .pw-guide-list li.valid { color: #00c471; }

    /* Submit Button */
    .btn-submit { 
        width: 100%; height: 52px; 
        background: #00c471; color: white; 
        border: none; border-radius: 6px; 
        font-size: 16px; font-weight: 700; 
        cursor: pointer; transition: background 0.2s; 
        margin-top: 10px; margin-bottom: 20px;
    }
    .btn-submit:hover { background: #00b365; }

    /* Terms & Marketing */
    .terms-desc { 
        font-size: 12px; color: #868e96; 
        line-height: 1.6; margin-bottom: 20px; 
        word-break: keep-all; 
    }
    .terms-desc a { color: #495057; text-decoration: underline; font-weight: 500; }

    .check-row { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #495057; cursor: pointer; margin-bottom: 8px; }
    .check-row input[type="checkbox"] { 
        margin-top: 3px; width: 16px; height: 16px; accent-color: #00c471; 
    }

    /* 3. Social Login */
    .social-section { margin-top: 50px; text-align: center; border-top: 1px solid #e9ecef; position: relative; }
    .social-label { 
        position: absolute; top: -10px; left: 50%; transform: translateX(-50%); 
        background: #f8f9fa; padding: 0 16px; color: #adb5bd; font-size: 12px; 
    }
    
    .social-buttons { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
    .social-btn { 
        width: 50px; height: 50px; 
        border-radius: 12px; border: none; 
        display: flex; align-items: center; justify-content: center; 
        font-size: 22px; cursor: pointer; 
        box-shadow: 0 2px 6px rgba(0,0,0,0.05); transition: transform 0.2s;
    }
    .social-btn:hover { transform: translateY(-3px); }
    .social-btn.kakao { background: #fee500; color: #3c1e1e; }
    .social-btn.google { background: white; border: 1px solid #dee2e6; color: #343a40; }

    @media (max-width: 480px) {
        .signup-container { margin-top: 40px; }
        .signup-header h1 { font-size: 22px; }
        .input-field, .btn-submit { height: 48px; }
    }

	
	.cart-container {
        max-width: 1200px;
        margin: 50px auto;
        padding: 20px;
    }
    
    .cart-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        padding-bottom: 15px;
        border-bottom: 2px solid #333;
    }
    
    .cart-header h1 {
        font-size: 28px;
        font-weight: bold;
        color: #333;
    }
    
    .cart-header .btn-clear {
        padding: 8px 20px;
        background: #ff6b6b;
        color: #fff;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 600;
    }
    
    .cart-header .btn-clear:hover {
        background: #ee5a52;
    }
    
    .cart-empty {
        text-align: center;
        padding: 100px 20px;
        background: #f8f9fa;
        border-radius: 12px;
    }
    
    .cart-empty i {
        font-size: 80px;
        color: #ddd;
        margin-bottom: 20px;
    }
    
    .cart-empty p {
        font-size: 18px;
        color: #666;
        margin-bottom: 20px;
    }
    
    .cart-empty .btn-browse {
        padding: 12px 30px;
        background: #00c471;
        color: #fff;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-weight: bold;
        font-size: 16px;
    }
    
    .cart-list {
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .cart-item {
        display: flex;
        padding: 20px;
        border-bottom: 1px solid #f1f3f5;
        align-items: center;
        gap: 20px;
    }
    
    .cart-item:last-child {
        border-bottom: none;
    }
    
    .cart-item-thumb {
        width: 160px;
        height: 90px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
    }
    
    .cart-item-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .cart-item-info {
        flex: 1;
    }
    
    .cart-item-title {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
    }
    
    .cart-item-instructor {
        font-size: 14px;
        color: #888;
        margin-bottom: 5px;
    }
    
    .cart-item-meta {
        font-size: 13px;
        color: #999;
    }
    
    .cart-item-price {
        font-size: 22px;
        font-weight: bold;
        color: #00c471;
        margin-right: 20px;
    }
    
    .cart-item-remove {
        padding: 8px 16px;
        background: #f1f3f5;
        color: #666;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
    }
    
    .cart-item-remove:hover {
        background: #e9ecef;
    }
    
    .cart-summary {
        margin-top: 30px;
        background: #f8f9fa;
        padding: 30px;
        border-radius: 12px;
    }
    
    .summary-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
        font-size: 16px;
    }
    
    .summary-row.total {
        border-top: 2px solid #ddd;
        padding-top: 15px;
        margin-top: 15px;
        font-size: 22px;
        font-weight: bold;
        color: #333;
    }
    
    .summary-row.total .price {
        color: #00c471;
    }
    
    .cart-actions {
        display: flex;
        gap: 15px;
        margin-top: 20px;
    }
    
    .btn-checkout {
        flex: 1;
        padding: 15px;
        background: #00c471;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
    }
    
    .btn-checkout:hover {
        background: #00b365;
    }
    
    .btn-continue {
        flex: 1;
        padding: 15px;
        background: #fff;
        color: #333;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
    }
    
    .btn-continue:hover {
        background: #f8f9fa;
    }
    
    @media (max-width: 768px) {
        .cart-item {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .cart-item-thumb {
            width: 100%;
            height: 180px;
        }
        
        .cart-actions {
            flex-direction: column;
        }
    }

	/* Preview Modal Styles */
    .pv-modal-overlay {
        display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.7); z-index: 99999; justify-content: center; align-items: center;
    }
    .pv-modal-wrap {
        width: 1000px; max-width: 95%; height: 600px; background: #fff; border-radius: 12px;
        display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .pv-header {
        padding: 15px 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center;
    }
    .pv-title { font-size: 18px; font-weight: bold; color: #333; }
    .pv-close { font-size: 24px; cursor: pointer; color: #999; background: none; border: none; }
    
    .pv-body { flex: 1; display: flex; height: 100%; overflow: hidden; }
    
    /* Left: Video Player */
    .pv-player-area {
        flex: 2.5; background: #000; display: flex; align-items: center; justify-content: center;
    }
    .pv-player-area iframe { width: 100%; height: 100%; border: none; }

    /* Right: Playlist */
    .pv-playlist-area {
        flex: 1; border-left: 1px solid #eee; display: flex; flex-direction: column; background: #f8f9fa;
    }
    .pv-list { flex: 1; overflow-y: auto; padding: 0; margin: 0; list-style: none; }
    .pv-item {
        padding: 15px; border-bottom: 1px solid #eee; cursor: pointer; transition: background 0.2s;
        background: #fff;
    }
    .pv-item:hover { background: #f1f3f5; }
    .pv-item.active { background: #e6fcf5; border-left: 4px solid #00c471; }
    
    .pv-item-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 5px; line-height: 1.4; }
    .pv-item-meta { font-size: 12px; color: #888; display: flex; justify-content: space-between; }
    
    .pv-footer { padding: 15px; background: #fff; border-top: 1px solid #eee; }
    .btn-pv-enroll {
        width: 100%; background: #00c471; color: #fff; padding: 12px; border: none; border-radius: 6px;
        font-weight: bold; font-size: 15px; cursor: pointer;
    }
    .btn-pv-enroll:hover { background: #00b365; }

    /* Responsive */
    @media (max-width: 768px) {
        .pv-body { flex-direction: column; }
        .pv-player-area { height: 250px; flex: none; }
        .pv-wrap { height: 100%; border-radius: 0; }
    }

	 .success-wrap { max-width: 800px; margin: 60px auto; padding: 40px; border: 1px solid #ddd; border-radius: 12px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
        .success-icon { font-size: 60px; color: #00c471; margin-bottom: 20px; }
        .success-title { font-size: 28px; font-weight: bold; margin-bottom: 10px; color: #333; }
        .success-desc { color: #666; margin-bottom: 40px; font-size: 15px; }
        
        .bank-box { background: #f8f9fa; padding: 30px; border-radius: 8px; text-align: left; margin-bottom: 30px; border: 1px solid #eee; }
        .bank-table { width: 100%; border-collapse: collapse; }
        .bank-table th { width: 120px; color: #888; font-weight: normal; padding: 10px 0; text-align: left; }
        .bank-table td { color: #333; font-weight: bold; font-size: 16px; padding: 10px 0; }
        .copy-btn { font-size: 12px; padding: 4px 8px; border: 1px solid #ddd; background: #fff; cursor: pointer; border-radius: 4px; margin-left: 10px; font-weight: normal; color: #555; }
        
        .btn-group { display: flex; gap: 10px; justify-content: center; }
        .btn-home { padding: 15px 30px; border: 1px solid #ddd; background: #fff; color: #333; font-weight: bold; border-radius: 6px; cursor: pointer; text-decoration: none; }
        .btn-mypage { padding: 15px 30px; background: #00c471; color: #fff; font-weight: bold; border-radius: 6px; cursor: pointer; text-decoration: none; border: none; }

		.checkout-wrap { max-width: 1100px; margin: 50px auto; padding: 20px; }
    .page-title { font-size: 28px; font-weight: bold; margin-bottom: 30px; border-bottom: 2px solid #333; padding-bottom: 15px; }
    .checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
    .form-section { margin-bottom: 40px; }
    .sec-title { font-size: 20px; font-weight: bold; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
    .form-group { margin-bottom: 15px; }
    .form-label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; color: #555; }
    .form-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 15px; }
    .pay-btn { padding: 15px; border: 1px solid #00c471; background: #e6fcf5; color: #00c471; border-radius: 8px; text-align: center; font-weight: bold; cursor: pointer; }
    .bank-info-box { margin-top: 15px; padding: 20px; background: #f8f9fa; border-radius: 8px; border: 1px solid #eee; }
    .order-summary { position: sticky; top: 20px; border: 1px solid #eee; border-radius: 12px; padding: 25px; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
    .os-total { border-top: 2px solid #333; padding-top: 20px; margin-top: 20px; display: flex; justify-content: space-between; align-items: center; }
    .btn-submit { width: 100%; padding: 18px; background: #00c471; color: #fff; font-size: 18px; font-weight: bold; border: none; border-radius: 8px; cursor: pointer; margin-top: 20px; }
    
    @media (max-width: 768px) { .checkout-grid { grid-template-columns: 1fr; } }

	.player-container { display: flex; height: 100vh; }
        
        /* 왼쪽: 비디오 영역 */
        .video-area { flex: 1; background: #000; display: flex; flex-direction: column; justify-content: center; position: relative; }
        .video-header { position: absolute; top: 0; left: 0; width: 100%; padding: 20px; color: #fff; z-index: 10; background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent); display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; }
        .back-btn { color: #fff; text-decoration: none; font-size: 16px; display: flex; align-items: center; gap: 8px; cursor: pointer; }
        .video-frame { width: 100%; height: 100%; border: none; }
        
        /* 오른쪽: 리스트 영역 */
        .list-area { width: 400px; background: #fff; border-left: 1px solid #ddd; display: flex; flex-direction: column; }
        .list-header { padding: 20px; border-bottom: 1px solid #eee; background: #f8f9fa; }
        .course-title { font-size: 16px; font-weight: bold; margin-bottom: 10px; line-height: 1.4; }
        .progress-box { margin-top: 10px; }
        .progress-text { display: flex; justify-content: space-between; font-size: 13px; color: #666; margin-bottom: 5px; }
        .progress-bar-bg { background: #e9ecef; height: 6px; border-radius: 3px; overflow: hidden; }
        .progress-bar-fill { height: 100%; background: #00c471; transition: width 0.3s; }
        
        .playlist { flex: 1; overflow-y: auto; padding: 0; margin: 0; list-style: none; }
        .chapter-title { padding: 15px 20px; background: #fff; font-size: 14px; font-weight: bold; color: #888; border-bottom: 1px solid #f1f3f5; margin-top: 10px; }
        
        /* 리스트 아이템 스타일 (Flexbox) */
        .lec-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid #f1f3f5; cursor: pointer; transition: background 0.1s; }
        .lec-item:hover { background: #f8f9fa; }
        .lec-item.active { background: #e6fcf5; }
        .lec-item.active .lec-title { color: #00c471; font-weight: bold; }
        
        /* 왼쪽 정보 */
        .lec-left { display: flex; align-items: flex-start; flex: 1; overflow: hidden; }
        .lec-icon { margin-right: 12px; margin-top: 3px; color: #adb5bd; font-size: 16px; flex-shrink: 0; }
        .lec-item.completed .lec-icon { color: #00c471; } 
        
        .lec-info { flex: 1; min-width: 0; }
        .lec-title { font-size: 14px; color: #333; margin-bottom: 4px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .lec-time { font-size: 12px; color: #999; }
        
        /* 오른쪽 버튼 (자료) */
        .lec-right { margin-left: 10px; flex-shrink: 0; }
        
        .btn-material { 
            display: inline-flex; align-items: center; gap: 4px;
            padding: 5px 10px; 
            border: 1px solid #dee2e6; 
            border-radius: 4px; 
            font-size: 12px; 
            color: #495057; 
            background: #fff;
            text-decoration: none; 
            transition: all 0.2s; 
        }
        .btn-material:hover { border-color: #adb5bd; background: #f8f9fa; color: #212529; }
        
        .btn-material.disabled {
            color: #ccc;
            border-color: #eee;
            background: #fdfdfd;
            cursor: default;
            pointer-events: none;
        }

        @media (max-width: 1000px) {
            .player-container { flex-direction: column; }
            .video-area { height: 56.25vw; flex: none; }
            .list-area { width: 100%; height: auto; flex: 1; }
        }



		/* ---------- 패키지 공통 레이아웃 ---------- */
.pkg-hero {
        text-align: center;
        padding: 60px 0px;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4dabf7 100%);
        color: #fff;
        border-radius: 0;
        margin-bottom: 40px;
        max-width: 1440px;
        margin: 0 auto 40px auto;
        border-radius: 30px;
}
.pkg-hero .title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}
.pkg-hero .subtitle {
    font-size: 15px;
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.pkg-hero .chip-row {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.pkg-chip {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 13px;
}

/* 카드 그리드 */
.pkg-section {
    padding: 30px 0 60px;
}
.pkg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(19%, 1fr));
    gap: 22px;
}
.pkg-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #f1f3f5;
    padding: 20px 20px 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    cursor: pointer;
}
.pkg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
    border-color: #e9ecef;
}
.pkg-card.highlight {
    border: 1px solid #4dabf7;
    box-shadow: 0 16px 40px rgba(24, 100, 171, 0.25);
}
.pkg-tag {
    font-size: 12px;
    font-weight: 700;
    color: #4dabf7;
    margin-bottom: 6px;
}
.pkg-title {
    font-size: 18px;
    font-weight: 800;
    color: #212529;
    margin-bottom: 6px;
}
.pkg-desc {
    font-size: 13px;
    color: #868e96;
    margin-bottom: 16px;
}
.pkg-price-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}
.pkg-sum-price {
    font-size: 13px;
    color: #adb5bd;
}
.pkg-sum-price s { margin-right: 4px; }
.pkg-main-price {
    font-size: 18px;
    font-weight: 800;
    color: #212529;
}
.pkg-discount-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff4e6;
    color: #f76707;
    font-weight: 700;
}
.pkg-discount-pill i {
    font-size: 11px;
}
.pkg-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f3f5;
}
.pkg-pill-level {
    font-size: 12px;
    color: #868e96;
}
.pkg-cta {
    font-size: 13px;
    font-weight: 700;
    color: #1c7ed6;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.pkg-cta i { font-size: 11px; }

/* 포함 강좌 모달 */
.pkg-modal-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0,0,0,0.55);
    justify-content: center;
    align-items: center;
}
.pkg-modal {
    background: #fff;
    width: 480px;
    max-width: 92%;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pkg-modal-header {
    padding: 18px 20px 14px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pkg-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #212529;
}
.pkg-modal-close {
    border: none;
    background: none;
    font-size: 20px;
    color: #adb5bd;
    cursor: pointer;
}
.pkg-modal-body {
    padding: 14px 20px 16px;
    overflow-y: auto;
}
.pkg-course-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pkg-course-item {
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
}
.pkg-course-item:last-child {
    border-bottom: none;
}
.pkg-course-title {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
}
.pkg-course-meta {
    font-size: 12px;
    color: #868e96;
}
.pkg-modal-footer {
    padding: 12px 20px 16px;
    border-top: 1px solid #f1f3f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pkg-modal-footer .price {
    font-size: 16px;
    font-weight: 800;
    color: #212529;
}
.pkg-modal-footer .btn-buy {
    padding: 9px 16px;
    border-radius: 999px;
    background: #00c471;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

/* 반응형 */
@media (max-width: 768px) {
    .pkg-hero {
        padding: 40px 20px 30px;
        text-align: left;
    }
    .pkg-hero .title { font-size: 24px; }
    .pkg-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
}

 .all-courses-header {
    text-align: center;
    padding: 60px 0px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #4dabf7 100%);
    color: #fff;
    border-radius: 0;
    margin-bottom: 40px;
    max-width: 1440px;
    margin: 0 auto 40px auto;
    border-radius: 30px;
}

.all-courses-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;          /* 화이트 텍스트 */
    margin-bottom: 12px;
}

.all-courses-desc {
    font-size: 16px;
    color: #e9f5ff;          /* 살짝 옅은 화이트/블루 톤 */
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

    /* 필터 탭 (중앙 정렬, 조금 더 큰 버튼) */
    .filter-tabs-wrap {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 40px;
    }
    .filter-tab {
        padding: 10px 24px;
        border-radius: 99px;
        background: #fff;
        border: 1px solid #dee2e6;
        color: #495057;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    }
    .filter-tab:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    }
    .filter-tab.active {
        background: #212529;
        color: #fff;
        border-color: #212529;
        box-shadow: 0 4px 12px rgba(33, 37, 41, 0.3);
    }

    /* 반응형 그리드 (꽉 찬 느낌) */
    .all-course-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
        padding-bottom: 80px;
    }
    
    /* 카드 디자인 약간 변형 (이미지 강조) */
    .course-card-lg {
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid #f1f3f5;
        transition: transform 0.3s, box-shadow 0.3s;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .course-card-lg:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
        border-color: #e9ecef;
    }
    .card-lg-thumb {
        position: relative;
        width: 100%;
        padding-top: 60%; /* 16:9 비율보다 조금 더 높게 */
        overflow: hidden;
    }
    .card-lg-thumb img {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: auto;
        object-fit: cover;
        transition: transform 0.3s;
    }
    .course-card-lg:hover .card-lg-thumb img {
        transform: scale(1.05);
    }
    .card-lg-badge {
        position: absolute;
        top: 12px; left: 12px;
        padding: 4px 10px;
        background: rgba(0,0,0,0.7);
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        border-radius: 6px;
        backdrop-filter: blur(4px);
    }
    .card-lg-body {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .card-lg-title {
        font-size: 17px;
        font-weight: 700;
        color: #212529;
        margin-bottom: 8px;
        line-height: 1.4;
        /* 2줄 말줄임 */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .card-lg-instructor {
        font-size: 13px;
        color: #868e96;
        margin-bottom: auto; /* 내용이 적어도 가격이 바닥에 붙게 */
    }
    .card-lg-meta-line {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #f8f9fa;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .meta-rating {
        font-size: 13px;
        font-weight: 700;
        color: #212529;
    }
    .meta-rating i { color: #fcc419; margin-right: 2px; }
    .meta-price {
        font-size: 16px;
        font-weight: 800;
        color: #212529;
    }

    /* 필터 애니메이션용 클래스 */
    .course-item {
        /* 기본 보임 */
    }
    .course-item.hidden {
        display: none;
    }

    /* 모바일 반응형 */
    @media (max-width: 768px) {
        .all-courses-header {
            padding: 40px 20px 30px;
            text-align: left;
        }
        .all-courses-title { font-size: 24px; }
        .filter-tabs-wrap {
            justify-content: flex-start;
            overflow-x: auto;
            padding-bottom: 10px;
            flex-wrap: nowrap;
            -webkit-overflow-scrolling: touch;
        }
        .filter-tab {
            flex: 0 0 auto;
        }
        .all-course-grid {
            grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); /* 모바일 1단 */
            gap: 16px;
        }
        /* 모바일 가로모드나 태블릿에선 2단 */
        @media (min-width: 500px) {
            .all-course-grid {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            }
        }
    }


	.community-wrap {
    max-width: 1174px;
    margin: 30px auto 80px;
}

/* 상단 탭 카드 */
.comm-top-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}
.comm-top-tab {
    flex: 1;
    border-radius: 16px;
    padding: 16px 18px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}
.comm-top-tab.active {
    background: #e6fcf5;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.comm-top-tab-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00c471;
    font-size: 18px;
}
.comm-top-tab-label {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

/* 상단 녹색 박스 */
.comm-banner {
    border-radius: 16px;
    background: linear-gradient(135deg, #e6fcf5 0%, #d3f9d8 100%);
    padding: 18px 20px;
    margin-bottom: 24px;
}
.comm-banner-title {
    font-size: 14px;
    font-weight: 700;
    color: #12b886;
    margin-bottom: 4px;
}
.comm-banner-desc {
    font-size: 13px;
    color: #495057;
}

/* 리스트 */
.comm-panel { display:none; }
.comm-panel.active { display:block; }

.comm-item {
    border-bottom: 1px solid #f1f3f5;
    padding: 16px 4px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.comm-main {
    flex: 1;
}
.comm-label {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f1f3f5;
    color: #868e96;
    margin-bottom: 6px;
}
.comm-title {
    font-size: 15px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 4px;
}
.comm-content {
    font-size: 13px;
    color: #495057;
    line-height: 1.4;
}
.comm-meta {
    font-size: 12px;
    color: #adb5bd;
    margin-top: 6px;
}
.comm-right {
    font-size: 12px;
    color: #868e96;
    white-space: nowrap;
}

/* 글쓰기 버튼 */
.comm-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}
.comm-write-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #00c471;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.comm-write-btn i { font-size: 14px; }

/* 반응형 */
@media (max-width: 768px) {
    .community-wrap { padding: 0 16px; }
    .comm-top-tabs {
        flex-direction: row;
        overflow-x: auto;
    }
    .comm-top-tab {
        flex: 0 0 220px;
    }
    .comm-item {
        flex-direction: column;
    }
    .comm-right {
        text-align: right;
    }
}

.mc-container { max-width: 1200px; margin: 40px auto; padding: 0 20px; display: flex; gap: 40px; min-height: 600px; }
    
    /* 사이드바 */
    .mc-sidebar { width: 200px; flex-shrink: 0; }
    .mc-menu { list-style: none; padding: 0; margin: 0; }
    .mc-menu li { margin-bottom: 8px; }
    .mc-menu a { display: block; padding: 12px 15px; border-radius: 8px; color: #495057; text-decoration: none; font-size: 15px; font-weight: 500; transition: all 0.2s; }
    .mc-menu a:hover { background: #f8f9fa; color: #00c471; }
    .mc-menu a.active { background: #e6fcf5; color: #00c471; font-weight: 700; }
    .mc-menu a i { width: 24px; text-align: center; margin-right: 5px; }

    /* 컨텐츠 영역 */
    .mc-content { flex: 1; }
    .mc-title { font-size: 24px; font-weight: bold; color: #212529; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid #eee; }

    /* 서브 탭 */
    .sub-tabs { display: flex; gap: 20px; border-bottom: 1px solid #dee2e6; margin-bottom: 30px; }
    .sub-tabs a { padding: 12px 5px; color: #868e96; text-decoration: none; font-weight: 500; position: relative; font-size: 15px; cursor: pointer; }
    .sub-tabs a:hover { color: #495057; }
    .sub-tabs a.active { color: #212529; font-weight: 700; border-bottom: 2px solid #00c471; }

    /* 프로필 스타일 */
    .profile-card { border: 1px solid #e9ecef; border-radius: 8px; padding: 30px; margin-bottom: 20px; }
    .profile-header { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
    .profile-img { width: 80px; height: 80px; background: #e9ecef; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #adb5bd; }
    .info-row { display: flex; align-items: center; padding: 20px 0; border-top: 1px solid #f1f3f5; }
    .info-label { width: 120px; color: #495057; font-weight: 500; }
    .info-val { flex: 1; color: #212529; font-weight: 600; }
    .btn-edit { padding: 6px 12px; border: 1px solid #dee2e6; background: #fff; border-radius: 4px; font-size: 13px; cursor: pointer; }
    .btn-primary { padding: 10px 20px; border: none; background: #00c471; color: #fff; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; }

    /* 리스트/테이블 스타일 */
    .common-table { width: 100%; border-collapse: collapse; font-size: 14px; }
    .common-table th { background: #f8f9fa; padding: 12px; border-bottom: 1px solid #dee2e6; color: #495057; font-weight: bold; text-align: center; }
    .common-table td { padding: 15px 12px; border-bottom: 1px solid #f1f3f5; text-align: center; color: #212529; vertical-align: middle; }
    .common-table td.left { text-align: left; }
    
    /* 상태 뱃지 */
    .status-badge { display: inline-block; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; }
    .status-pending { background: #fff4e6; color: #fd7e14; border: 1px solid #ffd8a8; }
    .status-paid { background: #e6fcf5; color: #00c471; border: 1px solid #b2f2bb; }
    .status-cancelled { background: #f1f3f5; color: #868e96; border: 1px solid #dee2e6; }
    .badge-qna { background: #e7f5ff; color: #228be6; padding: 3px 6px; border-radius: 4px; font-size: 11px; }

    /* 빈 화면 스타일 */
    .empty-state { text-align: center; padding: 80px 0; background: #fff; }
    .empty-icon { width: 80px; height: 80px; background: #f1f3f5; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: #adb5bd; font-size: 32px; }
    .empty-text { color: #868e96; font-size: 15px; margin-bottom: 20px; }
    .btn-action { padding: 10px 20px; border: 1px solid #dee2e6; background: #fff; color: #495057; border-radius: 6px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-block; }

    /* 비밀번호 변경 폼 */
    .pw-change-box { background: #f8f9fa; padding: 30px; border-radius: 8px; max-width: 500px; }
    .pw-change-box input[type="text"],
    .pw-change-box input[type="password"] { width: 100%; padding: 12px; border: 1px solid #dee2e6; border-radius: 6px; font-size: 14px; margin-bottom: 12px; box-sizing: border-box; }
    .pw-change-box label { display: block; font-size: 13px; color: #495057; font-weight: 600; margin-bottom: 6px; }

    /* 반응형 */
    @media (max-width: 768px) {
        .mc-container { flex-direction: column; }
        .mc-sidebar { width: 100%; overflow-x: auto; }
        .mc-menu { display: flex; gap: 10px; min-width: max-content; }
    }

	header.main-header {
            position: fixed !important;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 9999;
            background: #fff;
            transition: transform 0.3s ease, height 0.3s ease;
        }
        
        header.main-header.scrolled .header-bottom-area {
            display: none !important;
        }
        
        header.main-header.scrolled .sticky-search-box {
            display: block !important;
        }

        header.main-header.scrolled .container.header-inner {
            padding-top: 8px !important;
            padding-bottom: 8px !important;
        }

        header.main-header.scrolled .search-bar-large-wrap,
        header.main-header.scrolled .category-icon-nav {
            display: none !important;
        }

        /* 장바구니 버튼 */
        .header-cart-btn {
            position: relative;
            font-size: 20px;
            color: #495057;
            text-decoration: none;
            margin-right: 12px;
            padding: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .header-cart-btn:hover { color: #00c471; }
        .cart-badge {
            position: absolute;
            top: -2px;
            right: -6px;
            background: #ff4d4f;
            color: #fff;
            font-size: 10px;
            font-weight: bold;
            padding: 2px 5px;
            border-radius: 10px;
            min-width: 14px;
            text-align: center;
            line-height: 1;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .user-menu-btn {
            background: none;
            border: none;
            font-size: 14px;
            cursor: pointer;
            color: #333;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 5px 10px;
            border-radius: 4px;
        }
        .user-menu-btn:hover {
            background: #f1f3f5;
            color: #00c471;
        }

        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 99999;
            justify-content: center;
            align-items: center;
        }
        
        .modal-content {
            background: #fff;
            width: 400px;
            max-width: 90%;
            padding: 40px;
            border-radius: 12px;
            position: relative;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            text-align: center;
        }
        
        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 28px;
            color: #999;
            cursor: pointer;
            border: none;
            background: none;
            transition: color 0.2s;
        }
        
        .modal-close:hover {
            color: #333;
        }
        
        .logo-text {
            font-size: 28px;
            font-weight: 800;
            color: #00C471;
            margin-bottom: 30px;
        }
        
        .input-group {
            margin-bottom: 12px;
            position: relative;
        }
        
        .input-group input {
            width: 100%;
            padding: 14px;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            font-size: 15px;
            outline: none;
            box-sizing: border-box;
        }
        
        .input-group input:focus {
            border-color: #00C471;
        }
        
        .btn-green-full {
            width: 100%;
            padding: 14px;
            background: #00C471;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            font-weight: 700;
            margin-top: 10px;
            cursor: pointer;
            transition: background 0.2s;
        }
        
        .btn-green-full:hover {
            background: #00b365;
        }

        .modal-links {
            margin-top: 20px;
            font-size: 13px;
            color: #666;
        }
        
        .modal-links a {
            color: #666;
            text-decoration: none;
            cursor: pointer;
            transition: color 0.2s;
        }
        
        .modal-links a:hover {
            color: #00C471;
        }
        
        .modal-links .divider {
            display: inline-block;
            width: 1px;
            height: 10px;
            background: #eee;
            margin: 0 8px;
            vertical-align: middle;
        }

        .social-login-sec {
            margin-top: 30px;
        }
        
        .social-title {
            position: relative;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .social-title::before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            width: 100%;
            height: 1px;
            background: #eee;
        }
        
        .social-title span {
            position: relative;
            background: #fff;
            padding: 0 15px;
            color: #aaa;
            font-size: 13px;
        }
        
        .social-btns {
            display: flex;
            justify-content: center;
            gap: 15px;
        }
        
        .s-btn {
            width: 48px;
            height: 48px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            color: #fff;
            border: none;
            transition: transform 0.2s;
        }
        
        .s-btn:hover {
            transform: scale(1.05);
        }
        
        .s-btn.kakao {
            background: #fee500;
            color: #3c1e1e;
        }
        
        .s-btn.google {
            background: #fff;
            border: 1px solid #ddd;
            color: #444;
        }

        .modal-view {
            display: none;
        }
        
        .modal-view.active {
            display: block;
        }

		/* 기본 CSS 초기화 및 폰트 */
        * { box-sizing: border-box; }
        body {margin: 0;font-family: 'Pretendard', sans-serif;font-family: 'GMarketSans';}
        a { text-decoration: none; color: inherit; }
        ul { list-style: none; padding: 0; margin: 0; }

        /* Footer CSS */
        footer { background: #f8f9fa; padding: 60px 0 30px; border-top: 1px solid #eee; }
        .container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 20px; }
        .footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 50px; }
        .footer-col h4 { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 20px; }
        .footer-col ul li { margin-bottom: 12px; }
        .footer-col ul li a {color: #d5d5d5;font-size: 14px;transition: color 0.2s;}
        .footer-col ul li a:hover { color: #00C471; }
        .footer-bottom { border-top: 1px solid #eee; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; color: #888; font-size: 13px; }
        .social-icons a { margin-left: 15px; font-size: 18px; color: #bbb; transition: 0.3s; }
        .social-icons a:hover { color: #00C471; }

        /* Login Modal CSS (기존 유지) */
        .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 9999; justify-content: center; align-items: center; }
        .modal-content { background: #fff; border-radius: 12px; position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
        .login-content { width: 400px; padding: 40px; text-align: center; }
        
        .modal-close { position: absolute; top: 15px; right: 20px; font-size: 28px; color: #999; cursor: pointer; border: none; background: none; }
        .logo-text { font-size: 28px; font-weight: 800; color: #00C471; margin-bottom: 30px; }
        .input-group { margin-bottom: 12px; }
        .input-group input { width: 100%; padding: 14px; border: 1px solid #dee2e6; border-radius: 4px; font-size: 15px; outline: none; }
        .pw-group { position: relative; }
        .btn-toggle-pw { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #666; background:none; border:none; cursor: pointer; }
        .btn-login-green { width: 100%; padding: 14px; background: #00C471; color: #fff; border: none; border-radius: 4px; font-size: 16px; font-weight: 700; margin-top: 10px; cursor: pointer; }
        .modal-links { margin-top: 20px; font-size: 13px; color: #666; }
        .modal-links .divider { display: inline-block; width: 1px; height: 10px; background: #eee; margin: 0 8px; }
        .social-login-sec { margin-top: 30px; }
        .social-title { position: relative; margin-bottom: 20px; text-align: center; }
        .social-title::before { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: #eee; }
        .social-title span { position: relative; background: #fff; padding: 0 15px; color: #aaa; font-size: 13px; }
        .social-btns { display: flex; justify-content: center; gap: 15px; }
        .s-btn { width: 48px; height: 48px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; color: #fff; border:none; }
        .s-btn.kakao { background: #fee500; color: #3c1e1e; }
        .s-btn.google { background: #fff; border: 1px solid #ddd; color: #444; }
        .s-btn.github { background: #24292e; }
        .s-btn.apple { background: #000; }

        /* Policy Modal Custom CSS */
        .policy-content { width: 800px; max-width: 90%; height: 80vh; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
        
        /* 헤더 (탭 영역) */
        .policy-header { padding: 0 30px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; height: 60px; flex-shrink: 0; }
        .policy-tabs { display: flex; height: 100%; gap: 20px; }
        .p-tab { background: none; border: none; font-size: 16px; font-weight: 700; color: #999; cursor: pointer; height: 100%; position: relative; padding: 0; margin-top: 2px; }
        .p-tab.active { color: #333; }
        .p-tab.active::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: #00C471; }
        
        .btn-lang-toggle { background: #f1f3f5; border: none; padding: 6px 12px; border-radius: 20px; font-size: 13px; color: #555; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 5px; transition: 0.2s; margin-right: 40px; }
        .btn-lang-toggle:hover { background: #e9ecef; color: #00C471; }

        /* 본문 영역 */
        .policy-body { flex: 1; overflow-y: auto; padding: 30px; background: #fcfcfc; text-align: left; }
        
        /* 약관 텍스트 스타일 */
        .policy-text-wrap { line-height: 1.6; color: #444; font-size: 14px; }
        .policy-text-wrap h3 { font-size: 20px; margin: 0 0 5px; color: #222; }
        .policy-text-wrap .date { font-size: 13px; color: #888; margin-bottom: 20px; }
        .policy-text-wrap h4 { font-size: 16px; margin: 25px 0 10px; padding-bottom: 8px; border-bottom: 1px solid #ddd; color: #00C471; }
        .policy-text-wrap h5 { font-size: 14px; margin: 15px 0 5px; color: #333; font-weight: 700; }
        .policy-text-wrap p { margin: 5px 0; text-align: justify; }
        .policy-text-wrap ol, .policy-text-wrap ul { padding-left: 20px; margin: 5px 0; }
        .policy-text-wrap li { margin-bottom: 4px; }

        /* 언어 전환 로직 */
        .lang-content { display: none; }
        .lang-content.show { display: block; animation: fadeIn 0.3s; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        /* 모바일 반응형 */
        @media (max-width: 768px) {
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .policy-content { width: 100%; height: 100%; border-radius: 0; }
            .policy-header { padding: 0 15px; height: 50px; }
            .p-tab { font-size: 14px; }
            .btn-lang-toggle { padding: 4px 8px; font-size: 12px; }
        }
        @media (max-width: 480px) {
            .footer-grid { grid-template-columns: 1fr; text-align: center; }
            .footer-bottom { flex-direction: column; gap: 15px; }
            .login-content { width: 90%; }
        }

/* 새로운 유틸 아이콘 컨테이너 */
.new-util-icons {
    display: flex;
    align-items: center;
    gap: 15px; /* 아이템 간 간격 */
}

/* 개별 아이템 (링크) */
.new-util__item {
    display: flex;
    flex-direction: column; /* 아이콘 위, 텍스트 아래 */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    font-size: 11px; /* 라벨 폰트 크기 */
    min-width: 50px;
}

.new-util__item:hover {
    color: #00c471; /* 호버 시 녹색 */
}

/* 아이콘 감싸는 래퍼 (뱃지 위치 잡기용) */
.icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px; /* 아이콘과 텍스트 사이 간격 */
}

/* SVG 아이콘 공통 스타일 */
.new-svg-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5; /* 선 두께 */
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.2s;
}

/* 장바구니 뱃지 */
.new-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #ff5a5f;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* 모바일 메뉴 버튼은 기존 유지하되 위치 조정 필요시 */
.mobile-menu-btn {
    margin-left: 15px;
    font-size: 20px;
    cursor: pointer;
    display: none; /* 데스크탑에선 숨김 */
}

@media (max-width: 768px) {
    .new-util-icons {
        display: none; /* 모바일에선 일단 숨기고 햄버거 메뉴 안으로 넣거나 조정 */
    }
    .mobile-menu-btn {
        display: block;
    }
	body {
    padding: 15px;
}
	header.main-header {
    padding: 0 15px 0 15px;
}
}
.ci-icon {
    display:flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
}

.cat-svg-icon {
    width:24px;
    height:24px;
    stroke:currentColor;
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-linejoin:round;
    fill:none;
}
