@charset "utf-8";

/* 부모 컨테이너 간섭 해제 및 배경 고정 */
/* 공통 기반 구조 */
.inquiry_bar { height: auto !important; min-height: 80px; overflow: visible !important; padding: 8px 0 !important; background: #313a43 !important; display: flex; align-items: center; justify-content: center; position: fixed !important; bottom: 0; left: 0; width: 100%; z-index: 100000 !important; }
.inquiry_bar .center { width: 100% !important; max-width: 1400px !important; margin: 0 auto !important; padding: 0 !important; height: auto !important; position: relative; }

#footer_inq { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.inq_responsive_container { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 1400px; margin: 0 auto; min-height: 80px; padding: 0 20px; box-sizing: border-box; }

/* 데스크탑 & 태블릿 (768px 이상) */
@media screen and (min-width: 768px) {
    .inq_pc_header { color: #fff; font-size: 24px; font-weight: 700; font-family: 'GmarketSans', sans-serif; white-space: nowrap; margin-right: 30px; letter-spacing: -0.02em; display: block; }
    .inq_responsive_form { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; margin: 0; }
    .inq_mobile_row { display: contents; } 

    .inq_field { display: flex; align-items: center; background: #fff; border-radius: 2px; padding: 0 12px; height: 38px; border: none; box-sizing: border-box; }
    .inq_field label { display: none; }
    .inq_field select, .inq_field input { border: none; outline: none; font-size: 14px; width: 100%; height: 100%; background: transparent; color: #222; padding: 0; text-align: center; font-weight: 700; }
    .inq_field select { text-align-last: center; } 
    .inq_field input::placeholder { color: #aaa; font-size: 14px; font-weight: 700; }

    .f_area { width: 130px; }
    .f_name { width: 130px; }
    .f_hp { width: 180px; }

    .inq_pc_agreement { display: none; }
    .inq_submit_btn { background: #7fc241; color: #fff; border: none; border-radius: 2px; height: 38px; padding: 0 20px; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 8px; transition: background 0.2s; }
    .inq_submit_btn:hover { background: #6eb035; }
    .inq_submit_btn .m_arrow { font-size: 11px; }
}

/* 태블릿 구간 전용 (768px ~ 1024px) - 문구만 숨김 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .inq_pc_header { display: none !important; }
}

/* 모바일/태블릿 공통 및 퀵메뉴 제어 */
@media screen and (max-width: 1024px) {
    .quick { display: none !important; }
}

/* 모바일 전용 (767px 이하) - 사진 1(기대) 일치화 */
@media screen and (max-width: 767px) {
    /* 버튼 위치를 상단으로 끌어올리고 하단 여백 추가 확보 */
    /* .bot_inquiry { display: block !important; min-height: 100px !important; padding: 10px 24px 22px !important; box-sizing: border-box !important; background: #333d46 !important; position: fixed !important; bottom: 0 !important; left: 0 !important; width: 100% !important; z-index: 9999 !important; padding-bottom: calc(18px + env(safe-area-inset-bottom)) !important; } */
    .inq_pc_header { color: #fff; font-size: 17px; font-weight: 700; font-family: 'GmarketSans', sans-serif; white-space: nowrap; margin-right: 30px; letter-spacing: -0.02em; display: block; }
    .bot_inquiry .center { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; height: auto !important; }
    .inq_pc_header, .inq_namno, .inq_kakao, .inq_model { display: none !important; } 
    
    #footer_inq { width: 100% !important; padding: 0 !important; display: block !important; }
    .inq_pc_header { display: none; }
    .inq_responsive_container { width: 100% !important; min-height: auto; padding: 0 !important; }
    .inq_responsive_form, .input_fs .clearfix { display: flex !important; flex-direction: column !important; width: 100% !important; gap: 4px !important; }
    
    .inq_mobile_row { display: flex !important; width: 100% !important; gap: 8px; justify-content: space-between; }
    .inq_field, .type_txt { display: flex; font-weight: 700; align-items: center; background: #fff; border-radius: 4px; height: 38px; padding: 0 8px; border: 1px solid #ccc; flex: 1; min-width: 0; box-sizing: border-box; }
    .inq_field label { display: none; }
    
    .f_area, .f_name, .f_hp { flex: 1 !important; width: auto !important; }
    .inq_field select, .inq_field input, .type_txt select, .type_txt input { font-size: 13px; text-align: center; width: 100%; border: none; outline: none; background: transparent; font-weight: 700; }
    .inq_field input::placeholder { font-size: 13px; text-align: center; font-weight: 700; }

    .inq_submit_btn, #footer_inq_send { width: 100% !important; height: 38px !important; background: #7fc241 !important; color: #fff !important; border: none !important; border-radius: 6px !important; font-size: 15px !important; font-weight: 700 !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 4px; margin-top: 2px !important; margin-bottom: 0px !important; border: none !important; cursor: pointer; }
    .inq_submit_btn .m_arrow { font-size: 12px; }
    
    .inq_pc_agreement { display: none !important; }
}

/* 태블릿 및 모바일에서 퀵메뉴(floating menu) 숨김 */
@media screen and (max-width: 1024px) {
    .quick { display: none !important; }
}

/* 공통 모달(기존 유지) */
.inq2-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: none; align-items: center; justify-content: center; z-index: 10000; backdrop-filter: blur(4px); }
.inq2-modal-content { background: #fff; width: 92%; max-width: 420px; border-radius: 12px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.2); position: relative; }
.inq2-modal-header { padding: 15px 20px; text-align: center; border-bottom: 1px solid #f0f0f0; position: relative; }
.inq2-modal-header span { font-size: 17px; font-weight: 500; color: #333; }
.inq2-btn-close { position: absolute; right: 15px; top: 10px; background: none; border: none; font-size: 28px; color: #aaa; cursor: pointer; }
.inq2-modal-body { padding: 25px 20px; text-align: center; }
.inq2-title { font-size: 21px; font-weight: 700; color: #333; line-height: 1.4; margin-bottom: 8px; }
.inq2-highlight { color: #6db531; }
.inq2-contact-display { font-size: 28px; font-weight: 800; color: #000; margin: 15px 0; letter-spacing: 1px; }
.inq2-divider { width: 100%; height: 1px; background: #e0e0e0; margin: 20px 0; }
.inq2-agreement-area { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 5px; font-size: 14px; }
.inq2-modal-footer { display: flex; }
.inq2-modal-footer button { flex: 1; border: none; padding: 15px; font-size: 15px; font-weight: 600; cursor: pointer; }
.inq2-btn-cancel { background: #f5f5f5; color: #777; }
.inq2-btn-complete { background: #7fc241; color: #fff; }
