@charset "utf-8";

/* 공통 기반 구조 */
.inquiry_bar {
    height: auto !important;
    min-height: 80px;
    overflow: visible !important;
    padding: 8px 0 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;
}

.non-brand-footer-bar {
    background: #FFF001 !important;
}

.inquiry_bar .center {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    height: auto !important;
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    box-sizing: border-box;
}

.inquiry_bar .inq_model {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    flex: 0 0 auto;

    width: clamp(190px, 14vw, 298px);
    height: 80px;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.inquiry_bar .inq_model img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    display: block;
    transform: translateY(0);
    transform-origin: bottom center;
}

#footer_inq {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    flex: 1 1 auto;
}

.inq_responsive_container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 80px;
    padding: 0;
    box-sizing: border-box;
    min-width: 0;
    gap: 20px;
}

/* 데스크톱 & 태블릿 */
@media screen and (min-width: 768px) {
    .non-brand-footer-bar .inq_pc_header,
    .non-brand-footer-bar .inq_field select,
    .non-brand-footer-bar .inq_field input,
    .non-brand-footer-bar .inq_field input::placeholder {
        color: #222222 !important;
    }

    .inq_pc_header {
        color: #fff;
        font-size: 24px;
        font-weight: 700;
        font-family: 'GmarketSans', sans-serif;
        white-space: nowrap;
        margin-right: 0;
        letter-spacing: -0.02em;
        display: block;
        flex: 0 0 auto;
    }

    .inq_responsive_form {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        margin: 0;
        min-width: 0;
        flex: 1 1 auto;
    }

    .inq_mobile_row {
        display: contents;
    }

    .inq_field {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 2px;
        padding: 0 12px;
        height: 44px;
        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;
        flex: 0 1 130px;
    }

    .f_name {
        width: 130px;
        flex: 0 1 130px;
    }

    .f_hp {
        width: 180px;
        flex: 0 1 180px;
    }

    .inq_pc_agreement {
        display: none;
    }

    .inq_submit_btn {
        background: #7fc241;
        color: #fff;
        border: none;
        border-radius: 2px;
        height: 44px;
        padding: 0 20px;
        font-size: 20px;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: background 0.2s;
        flex: 0 0 auto;
        min-width: 200px;
        text-align: center;
        justify-content: center;
        border-radius: 15px;
    }

    .inq_submit_btn:hover {
        background: #6eb035;
    }

    .inq_submit_btn .m_arrow {
        font-size: 11px;
    }

    .non-brand-footer-bar .inq_submit_btn,
    .non-brand-footer-bar #footer_inq_send {
        background: #222222 !important;
        color: #fff001 !important;
        border: 1px solid #222222 !important;
        border-radius: 15px;
        /* 호버 전환 애니메이션 */
        transition: all 0.25s ease;
    }

    /* 호버: 튀지 않고 고급스럽게 기존 블랙톤에서 살짝 밝아지는 차콜색(다크그레이)으로 부드럽게 전환 */
    .non-brand-footer-bar .inq_submit_btn:hover {
        background: #3a3a3a !important;
        color: #FFF001 !important;
        border-color: #3a3a3a !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
}

@media screen and (min-width: 768px) and (max-width: 1280px) {
    .inquiry_bar .center {
        gap: 14px;
    }

    .inq_responsive_container {
        gap: 14px;
    }

    .inq_pc_header {
        font-size: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1180px) {
    .inq_pc_header {
        display: none !important;
    }
}

/* 태블릿/모바일 공통 */
@media screen and (max-width: 1024px) {
    .quick {
        display: none !important;
    }
}

/* 모바일 */
@media screen and (max-width: 767px) {
    .non-brand-footer-bar {
        background: #FFF001 !important;
    }

    .non-brand-footer-bar .inq_field,
    .non-brand-footer-bar .type_txt {
        border-color: #cfcfcf;
    }

    .non-brand-footer-bar .inq_field select,
    .non-brand-footer-bar .inq_field input,
    .non-brand-footer-bar .type_txt select,
    .non-brand-footer-bar .type_txt input,
    .non-brand-footer-bar .inq_field input::placeholder {
        color: #222222 !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;
    }

    .inquiry_bar .center,
    .bot_inquiry .center {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        display: block !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;
        gap: 0;
    }

    .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: 0 !important;
        cursor: pointer;
    }

    .inq_submit_btn .m_arrow {
        font-size: 12px;
    }

    .inq_pc_agreement {
        display: none !important;
    }

    .non-brand-footer-bar .inq_submit_btn,
    .non-brand-footer-bar #footer_inq_send {
        background: #222222 !important;
        color: #fff001 !important;
        border: 1px solid #222222 !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;
}
