@charset "utf-8";
/* ======================================================================
   [카포스 CARPOS] 모바일 전용 프리미엄 통합 스타일시트
====================================================================== */
:root {
    --cp-main: #028ca6;   /* 카포스 메인 청록색 블루 */
    --cp-dark: #223541;   /* 카포스 다크 네이비 */
    --cp-bg: #f4f6f8;     /* 연한 연회색 배경 톤 */
    --cp-text: #333333;   /* 기본 글자색 */
    --cp-border: #e2e8f0; /* 표준 경계선 색상 */
}

html, body {
    width: 100% !important;
    min-width: 100% !important;
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', sans-serif;
    background: #f5f7f9;
    color: var(--cp-text);
    overflow-x: hidden; 
    overflow-y: visible !important; 
    position: relative !important;
    -webkit-text-size-adjust: none;
}
ul, li { list-style: none; padding: 0; margin: 0; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; padding: 0; outline: none; }

/* 레이아웃 컨테이너 기본 마진 안전 스페이싱 */
#m_wrapper { padding-top: 55px !important; box-sizing: border-box; }
#container { width: 100% !important; max-width: 100% !important; padding: 15px; box-sizing: border-box; padding-top: 60px !important; }
.m_sub_bar_space { height: 1px; margin-top: -10px; }
.m_sub_bar_space { 
    display: block !important;
    height: 50px !important;   /* 서브 타이틀바의 순정 높이(50px)만큼 완벽하게 공간 확보 */
    margin: 0 !important;      /* 위로 잡아당기던 마이너스 마진 완전 제거 */
    padding: 0 !important;
    clear: both !important;
}

/* 그누보드 내용관리 본문 박스(#ctt)가 고정바와 밀착하지 않도록 안전 마진 부여 */
#ctt.ctt_parcel {
    margin-top: 15px !important; 
    padding: 0 5px !important;
    box-sizing: border-box !important;
}

/* 1단 고정 레이어: 최상단 글로벌 모바일 헤더 바 */
#m_hd { background: #ffffff; position: fixed; top: 0; left: 0; width: 100%; height: 55px; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); box-sizing: border-box; }
.hd_container { display: flex; justify-content: space-between; align-items: center; height: 100%; padding: 0 15px; position: relative; }
.hd_left .btn_menu { font-size: 20px; color: var(--cp-dark); width: 40px; height: 40px; text-align: left; display: block; }
.hd_center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hd_center .m_logo img { height: 24px; width: auto; display: block; }
.hd_right .btn_search { font-size: 20px; color: var(--cp-dark); width: 40px; height: 40px; text-align: right; display: block; }

/* 2단 고정 레이어: 서브페이지 네비게이션 서브 타이틀 바 */
.m_sub_title_bar { display: flex; align-items: center; justify-content: space-between; background: #ffffff; height: 50px; padding: 0 10px; border-bottom: 1px solid #e2e8f0; margin-bottom: 10px; box-sizing: border-box; position: fixed; top: 55px; left: 0; width: 100%; z-index: 990; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.m_sub_title_bar .btn_back { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #334155; border-radius: 50%; transition: background 0.2s; }
.m_sub_title_bar .btn_back:active { background: #f1f5f9; }
.m_sub_title_bar h2 { font-size: 16px; font-weight: 700; color: #1e293b; margin: 0; text-align: center; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 좌측 터치 슬라이딩 드로워 메뉴 */
.side_menu_wrapper { position: fixed; top: 0; left: -100%; width: 100%; height: 100%; z-index: 2000; transition: all 0.3s ease-in-out; visibility: hidden; }
.side_menu_wrapper.open { left: 0; visibility: visible; }
.side_menu_overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(2px); }
.side_menu_content { position: absolute; top: 0; left: -280px; width: 280px; height: 100%; background: #fff; box-shadow: 4px 0 20px rgba(0,0,0,0.15); display: flex; flex-direction: column; transition: all 0.3s ease-in-out; }
.side_menu_wrapper.open .side_menu_content { left: 0; }
.side_hd { background: var(--cp-dark); padding: 30px 20px; color: #fff; position: relative; }
.side_hd .welcome_txt { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.side_login_btns { display: flex; gap: 10px; }
.side_login_btns a { font-size: 12px; padding: 6px 12px; border: 1px solid rgba(255,255,255,0.4); border-radius: 4px; background: rgba(255,255,255,0.1); color: #ffffff; }
.side_close { position: absolute; top: 15px; right: 15px; color: #fff; font-size: 20px; }

.side_quick { display: grid; grid-template-columns: repeat(4, 1fr); padding: 15px 10px; background: #f8fafc; border-bottom: 1px solid #edf2f7; text-align: center; }
.side_quick a { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: #475569; }
.side_quick i { font-size: 18px; color: var(--cp-main); margin-bottom: 6px; }

.side_nav { flex: 1; overflow-y: auto; padding: 10px 0; }
.menu_1depth > li { border-bottom: 1px solid #f1f5f9; }
.menu_1depth > li > a { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; font-size: 15px; font-weight: 600; color: #1e293b; }
.menu_2depth { background: #f8fafc; display: none; padding: 5px 0; }
.menu_2depth li a { display: block; padding: 10px 30px; font-size: 13px; color: #64748b; }

/* 풀스크린 모달 검색 레이어 */
.search_overlay { position: fixed; top: -100%; left: 0; width: 100%; height: 100%; background: #ffffff; z-index: 3000; transition: all 0.3s ease-in-out; padding: 20px; box-sizing: border-box; }
.search_overlay.open { top: 0; }
.search_hd { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.search_box_wr { flex: 1; display: flex; align-items: center; background: #f1f5f9; border-radius: 30px; padding: 0 15px; height: 45px; }
.search_box_wr input { flex: 1; border: none; background: transparent; font-size: 15px; outline: none; color: #333; height: 100%; }
.search_box_wr .btn_sch_submit { color: var(--cp-main); font-size: 16px; background: none; }
.btn_sch_close { font-size: 22px; color: #64748b; background: none; }
.search_recommend h3 { font-size: 14px; color: #1e293b; margin: 0 0 12px 0; font-weight: 700; }
.tag_list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag_list a { font-size: 12px; color: #475569; background: #f1f5f9; padding: 6px 14px; border-radius: 20px; font-weight: 500; }

/* 폰트 제어 컴포넌트 */
.m_sub_title_bar .m_font_control { display: flex; align-items: center; gap: 4px; width: auto; }
.m_sub_title_bar .m_font_control button { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #475569; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 6px; transition: all 0.2s; }
.m_sub_title_bar .m_font_control button:active { background: #cbd5e1; color: var(--cp-main); }

/* --- [02] 메인화면 (Index) 전용 스타일 킷 --- */
.m_visual { width: 100%; aspect-ratio: 1000 / 440; background: #e8ecef; }
.m_visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swiper-pagination-bullet-active { background: var(--cp-main) !important; }

.m_shortcut { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 15px; background: #ffffff; }
.sc_item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 10px; border-radius: 8px; background: #ffffff; border: 1px solid var(--cp-border); box-shadow: 0 2px 8px rgba(0,0,0,0.02); transition: background 0.2s; }
.sc_item:active { background: #f1f5f9; }
.sc_item i { font-size: 26px; color: var(--cp-main); margin-bottom: 8px; }
.sc_item span { font-size: 14px; font-weight: 700; color: #334155; }

.m_section { background: #ffffff; margin-top: 12px; padding: 22px 15px; border-top: 1px solid var(--cp-border); border-bottom: 1px solid var(--cp-border); }
.sec_title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 2px solid var(--cp-dark); padding-bottom: 10px; }
.sec_title h2 { font-size: 16px; margin: 0; font-weight: 700; color: var(--cp-dark); letter-spacing: -0.5px; }
.sec_title .btn_more { font-size: 12px; color: #64748b; font-weight: 500; }

.prod_icon_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 5px 0; }
.prod_icon_card { display: block; text-align: center; text-decoration: none; background: #ffffff; }
.prod_icon_circle { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.prod_icon_circle i { font-size: 26px; }
.ic_blackbox { background: #e0f2fe; color: #028ca6; } 
.ic_hud { background: #f0fdf4; color: #16a34a; }      
.ic_carmat { background: #fff7ed; color: #ea580c; }   
.prod_icon_card:active .prod_icon_circle { transform: scale(0.92); filter: brightness(0.95); }
.prod_icon_name { font-size: 12.5px; font-weight: 700; color: #334155; line-height: 1.3; letter-spacing: -0.5px; }

.txt_list li { padding: 14px 0; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
/* 그누보드 순정 최신글 스킨 호환용 보정선 */
.txt_list li.basic_li { display: flex; justify-content: space-between; align-items: center; width: 100%; border-bottom: 1px solid #f1f5f9; padding: 14px 0; }
.txt_list li:last-child { border-bottom: none; }
.txt_list a { font-size: 13.5px; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; font-weight: 500; }
.txt_list .date, .txt_list .lt_date { font-size: 11px; color: #94a3b8; font-weight: 500; }
.txt_list .hot_icon { color: #ef4444; font-size: 12px; margin-right: 4px; }

.gps_container { display: flex; flex-direction: column; gap: 10px; }
.gps_row_btn { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #f8fafc; border: 1px solid var(--cp-border); border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--cp-dark); transition: all 0.2s; }
.gps_row_btn i { color: var(--cp-main); font-size: 16px; }
.gps_row_btn:active { background: var(--cp-main); color: #ffffff; border-color: var(--cp-main); }
.gps_row_btn:active i { color: #ffffff; }

.cs-box { text-align: center; }
.cs_card_box { background: #f4f6f8; border-radius: 8px; border: 1px solid var(--cp-border); padding: 20px; text-align: center; }
.cs_card_box .tel_link { font-size: 28px; font-weight: 800; color: var(--cp-main); margin: 6px 0; text-decoration: none; display: inline-block; }
.cs_card_box p { font-size: 13px; color: #475569; line-height: 1.6; margin: 0; font-weight: 500; }

/* --- [03] 하단 푸터 (Footer) --- */
#m_ft { background: #223541; color: #cbd5e1; padding: 30px 15px 45px; font-size: 13px; line-height: 1.6; clear: both; text-align: center; }
.ft_links { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #334e5e; display: flex; justify-content: center; gap: 15px; }
.ft_links a { color: #ffffff; font-weight: 600; font-size: 13px; }
.ft_info h3 { font-size: 14px; color: #ffffff; margin: 0 0 10px 0; font-weight: 700; }
.ft_info p { margin: 0; color: #94a3b8; font-size: 12.5px; text-align: center; }
.ft_copy { margin-top: 20px; font-size: 11px; color: #64748b; }

#m_top_btn { position: fixed; bottom: 20px; right: 20px; width: 44px; height: 44px; background: #028ca6; color: #fff; border: none; border-radius: 50%; font-size: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); display: none; align-items: center; justify-content: center; z-index: 999; }


/* ======================================================================
   [카포스 CARPOS] PC/모바일 통합형 택배서비스센터 안내 전용 스타일시트
====================================================================== */
.carpos-parcel-container {
    width: 100% !important;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 5px 30px;
    font-family: 'Pretendard', sans-serif;
    color: #333333;
    line-height: 1.6;
    box-sizing: border-box;
}

/* 상단 인트로 캡션 컴포넌트 */
.carpos-parcel-intro {
    text-align: center;
    padding: 25px 15px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}
.carpos-parcel-intro .intro-icon {
    font-size: 28px;
    color: #028ca6; /* 카포스 청록색 포인트 */
    margin-bottom: 10px;
}
.carpos-parcel-intro h2 {
    font-size: 16px;
    font-weight: 700;
    color: #223541; /* 카포스 다크네이비 */
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    line-height: 1.4;
}
.carpos-parcel-intro h2 span {
    color: #028ca6;
    border-bottom: 2px solid #e0f2f1;
}
.carpos-parcel-intro p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    word-break: keep-all;
}

/* 주소 및 센터 식별 연락처 카드 */
.carpos-parcel-address-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: 4px solid #028ca6; /* 카포스 메인 탑 라인 공정 */
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 6px 15px rgba(2, 140, 166, 0.03);
}
.carpos-parcel-address-card .card-head {
    background: #f4f6f8;
    padding: 12px 15px;
    font-size: 13.5px;
    font-weight: 700;
    color: #223541;
    border-bottom: 1px solid #e0e0e0;
}
.carpos-parcel-address-card .card-head i { margin-right: 5px; color: #028ca6; }
.carpos-parcel-address-card .card-body {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.carpos-parcel-address-card .info-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.carpos-parcel-address-card .info-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}
.carpos-parcel-address-card .info-label i {
    color: #028ca6;
    margin-right: 4px;
    width: 14px;
}
.carpos-parcel-address-card .info-value {
    font-size: 15px;
    font-weight: 700;
    color: #223541;
    letter-spacing: -0.3px;
    word-break: keep-all;
}
.carpos-parcel-address-card .call-link {
    color: #028ca6;
    text-decoration: underline;
}

/* 하단 4대 이용 안내 위젯 리스트 (모바일 종방향 배열 선제 구현) */
.carpos-parcel-guide-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.carpos-parcel-guide-grid .guide-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 22px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}
.carpos-parcel-guide-grid .guide-num {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 45px;
    font-weight: 900;
    color: #f4f6f8;
    z-index: 1;
    line-height: 1;
}
.carpos-parcel-guide-grid .guide-icon {
    font-size: 22px;
    color: #028ca6;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}
.carpos-parcel-guide-grid h4 {
    font-size: 15px;
    font-weight: 700;
    color: #223541;
    margin: 0 0 8px 0;
    position: relative;
    z-index: 2;
}
.carpos-parcel-guide-grid p {
    font-size: 13px;
    color: #555555;
    margin: 0;
    position: relative;
    z-index: 2;
    text-align: justify;
    word-break: keep-all;
}
.carpos-parcel-guide-grid p strong {
    color: #028ca6;
}
/* 롯데택배 특별 스포트라이트 배경 틴팅 */
.carpos-parcel-guide-grid .spec-courier-item {
    background: #f0fafd;
    border-color: #b2dfdb;
}
.m-only-br { display: block; }

/* ======================================================================
   💻 데스크탑 대화면 모니터 진입 시 와이드 2열 그리드 레이아웃 확장
====================================================================== */
@media (min-width: 769px) {
    .carpos-parcel-container { padding: 20px 0 50px; }
    .m-only-br { display: none; } 

    .carpos-parcel-intro { padding: 35px 20px; margin-bottom: 30px; }
    .carpos-parcel-intro h2 { font-size: 20px; margin-bottom: 10px; }
    .carpos-parcel-intro p { font-size: 14px; }

    .carpos-parcel-address-card { margin-bottom: 40px; }
    .carpos-parcel-address-card .card-head { padding: 15px 25px; font-size: 15px; }
    .carpos-parcel-address-card .card-body { padding: 30px 25px; gap: 18px; }
    .carpos-parcel-address-card .info-row { flex-direction: row; align-items: center; }
    .carpos-parcel-address-card .info-label { font-size: 15px; width: 120px; }
    .carpos-parcel-address-card .info-value { font-size: 18px; }

    .carpos-parcel-guide-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .carpos-parcel-guide-grid .guide-item { padding: 30px 25px; transition: all 0.2s ease-in-out; }
    .carpos-parcel-guide-grid .guide-item:hover { border-color: #028ca6; box-shadow: 0 8px 25px rgba(2, 140, 166, 0.08); transform: translateY(-3px); }
    .carpos-parcel-guide-grid .guide-item:hover .guide-num { color: #e0f2f1; }
    .carpos-parcel-guide-grid .guide-num { font-size: 60px; top: -10px; }
}