/* ================================
   📌 btn_!
   ================================ */
.btn__wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 36px 0;
    margin-top: auto;
}
.btn,
.action-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    border-radius: 12px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
.action-btn__wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 36px 0;
    margin-top: auto;
}
.btn--primary {
    font-weight: 600;
    background: #262626;
    color: #ffffff;
}
.btn--secondary {
    font-weight: 600;
    background: #e7eafe;
    color: #3551e3;
}
.btn--prev {
    flex: 1;
    font-weight: 400;
    font-size: 20px;
    color: #262626;
    border: 1px solid #a6a6a6;
}
.btn--next {
    flex: 2;
    font-weight: 600;
    font-size: 20px;
    background: #262626;
    color: #ffffff;
}
.btn--gray {
    font-weight: 400;
    background: #f2f2f2;
    color: #8c8c8c;
}
.btn--outline {
    font-weight: 400;
    background: #ffffff;
    color: #262626;
    border: 1px solid #262626;
}
.btn--bold-outline {
    font-weight: 400;
    background: #ffffff;
    color: #262626;
    border: 1.5px solid #262626;
}
.btn--disabled {
    font-weight: 400 !important;
    font-size: 16px !important;
    color: #8c8c8c !important;
    background: #f2f2f2 !important;
    border: none !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
.btn--sm {
    font-size: 16px;
    width: 100%;
}
.action-btn--call {
    width: 60px;
    min-width: 60px;
    background: #ffffff;
    border: 1px solid #262626;
}
.action-btn--send {
    flex: 1;
    background: #262626;
    gap: 4px;
}
.action-btn__icon {
    width: 24px;
    height: 24px;
    display: inline-block;
}
.action-btn__icon--call {
    background-color: #0d0d0d;
    mask: url("../img/16x16-tel.svg") center/contain no-repeat;
    -webkit-mask: url("../img/16x16-tel.svg") center/contain no-repeat;
}
.action-btn__icon--send {
    background-color: #ffffff;
    mask: url("../img/24x24-send.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-send.svg") center/contain no-repeat;
}
.action-btn__text {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;

}

/* ================================
   📌 inherit_!
   ================================ */
.__inherit {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
}

/* ================================
   📌 cursor_!
   ================================ */
.pointer {
    cursor: pointer;
}

/* ================================
   📌 common-header_!
   ================================ */
.common-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 8px 0;
    gap: 8px;
}
.common-header__back {
    position: absolute;
    left: 0;
    width: 48px;
    height: 48px;

    background: url("../img/24x24-arrow.svg") center/24px 24px no-repeat;
    border: none;
    padding: 0;
    cursor: pointer;
}
.common-header__title {
    font-size: 24px;
    font-weight: 600;
    color: #0d0d0d;
    text-align: center;
}
.common-header__right {
    position: absolute;
    right: 0;
    width: 48px;
    height: 48px;
}
.common-header__right.btn--X {
    background: url("../img/24x24-X.svg") center/24px 24px no-repeat;
    cursor: pointer;
}
.common-header__right.btn--setting {
    background: url("../img/24x24-setting.svg") center/24px 24px no-repeat;
    cursor: pointer;
}
.common-header__right.btn--heart {
    background: url("../img/24x24-heart.svg") center/24px 24px no-repeat;
    cursor: pointer;
}

/* ================================
   📌 common-step_!
   ================================ */
.common-step__bar {
    display: flex;
    justify-content: space-between;
    padding: 0 48px;
    margin-top: 20px;
    margin-bottom: 30px;
}
.common-step__step {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.common-step__step .common-step__num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #d9d9d9;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 4px 10px;

    font-weight: 400;
    font-size: 20px;
    color: #bfbfbf;
    background-color: #ffffff;
}
.common-step__step.is-current .common-step__num {
    padding: 4px 11px;

    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
    background-color: #000000;
}
.common-step__step.is-next .common-step__num {
    border: 1px solid #a6a6a6;
}
.common-step__step .common-step__caption {
    text-align: center;

    font-size: 10px;
    font-weight: 400;
    color: #bfbfbf;
}
.common-step__step.is-current .common-step__caption {
    font-weight: 600;
    color: #262626;
}
.common-step__line {
    flex: 1;
    height: 1px;
    margin-top: 21px;
    border: 0.5px solid #d9d9d9;
}
.common-step__line.is-next {
    border: 0.5px solid #a6a6a6;
}

/* ================================
   📌 common-input_!
   ================================ */
.common-input-wrapper {
    position: relative;
    width: 100%;
}
.common-input {
    width: 100%;
    height: 60px;
    border-radius: 12px;
    padding: 20px 40px 20px 16px;
    border: 1px solid #e7eafe;
    font-size: 16px;
    font-weight: 500;
    color: #262626;
    box-sizing: border-box;
}
.common-input.common-input-error,
.common-input.common-input-error:focus {
    border-color: #f72900;
    outline: none;
}
.common-input-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.common-input__clear-btn {
    mask: url("../img/24x24-delete.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-delete.svg") center/contain no-repeat;
    background-color: #030616;
    display: none;
}
.common-input__eye-btn {
    mask: url("../img/24x24-eye.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-eye.svg") center/contain no-repeat;
    background-color: #030616;
}
.common-input__eye-slash-btn {
    mask: url("../img/24x24-eye-slash.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-eye-slash.svg") center/contain no-repeat;
    background-color: #a6a6a6;
}
.common-input__magnifier-btn {
    mask: url("../img/24x24-magnifier.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-magnifier.svg") center/contain no-repeat;
    background-color: #000000;
}
.common-input__expand-btn {
    mask: url("../img/24x24-expand.svg") center/contain no-repeat;
    -webkit-mask: url("../img/24x24-expand.svg") center/contain no-repeat;
    background-color: #0d0d0d;
}

/* ================================
   📌 common-select_!
   ================================ */
.common-select {
    position: relative;
    width: 100%;
}
.common-select__options {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;

    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #bfbfbf;

    list-style: none;
    z-index: 20;

    display: none;
}
.common-select__options li {
    padding: 12px 16px;
    font-weight: 500;
    font-size: 16px;
    color: #262626;
}
.common-select__options li:hover {
    background: #f2f2f2;
}
.common-select.is-open .common-select__options {
    display: block;
}
.common-select.is-open .common-input__expand-btn {
    transform: translateY(-50%) rotate(180deg);
}

/* ================================
   📌 common-upload_!
   ================================ */
.common-upload {
    position: relative;
    width: 380px;
    height: 200px;
    border-radius: 12px;
    border: 1px solid #e7eafe;
    background: #ffffff;
    box-sizing: border-box;
    box-shadow: 0 0 4px 0 #0000001A;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    user-select: none;
}
.common-upload__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.common-upload__icon {
    width: 36px;
    height: 36px;
    mask: url("../img/36x36-upload-cloud.svg") center/contain no-repeat;
    -webkit-mask: url("../img/36x36-upload-cloud.svg") center/contain no-repeat;
    background-color: #bfbfbf;
}
.common-upload__text {
    font-weight: 500;
    font-size: 18px;
    color: #bfbfbf;

    padding: 8px 0 2px;
}
.common-upload__hint {
    font-weight: 500;
    font-size: 14px;
    color: #bfbfbf;
}
.common-upload:focus-within {
    border-color: #5b7cfd;
    box-shadow: 0 0 0 3px rgba(91,124,253,0.15);
}

/* ================================
   📌 common-modal_!
   ================================ */
.common-modal {
    position: absolute;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 31px;
}
.common-modal.is-open {
    display: flex;
}
.common-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}
.common-modal__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    position: relative;
    width: min(350px, 92vw);
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    padding: 28px 12px;
}
.common-modal__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.common-modal__title {
    font-weight: 600;
    font-size: 24px;
    color: #262626;
    text-align: center;
}
.common-modal__body {
    font-weight: 500;
    font-size: 16px;
    color: #737373;
    text-align: center;
}
.common-modal__actions {
    display: flex;
    gap: 12px;
}
.common-modal__btn {
    flex: 1;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 12px 16px;
}
.common-modal__btn--outline {
    background: #ffffff;
    border-color: #262626;
    font-weight: 400;
    font-size: 16px;
    color: #262626;
}
.common-modal__btn--primary {
    background: #262626;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
}
body.is-modal-open {
    overflow: hidden;
    touch-action: none;
}

/* ================================
   📌 common-text_!
   ================================ */
.common-text--error {
    font-weight: 500;
    font-size: 14px;
    color: #f72900;

    visibility: hidden;
}
.common-text--error.is-visible {
    visibility: visible;
}

/* ================================
   📌 height_!
   ================================ */
.h_178 {
    height: 178px;
}
.h_224 {
    height: 224px;
}

/* ================================
   📌 padding_!
   ================================ */
.pt_36 {
    padding-top: 36px !important;
}
.pr_16 {
    padding-right: 16px !important;
}
.pb_36 {
    padding-bottom: 36px !important;
}
.pl_16 {
    padding-left: 16px !important;
}

/* ================================
   📌 margin_!
   ================================ */
.mt_20 {
    margin-top: 20px; !important;
}

/* ================================
   📌 color_!
   ================================ */
.point_t {
    color: #3551e3;
    font-size: inherit;
    line-height: inherit;
}
.point_b {
    color: #000000;
    font-size: inherit;
    line-height: inherit;
}
.point_g {
    color: #105733;
    font-size: inherit;
    line-height: inherit;
}
.point_n {
    color: #0f1f70;
    font-size: inherit;
    line-height: inherit;
}

/* ================================
   📌 font-weight_!
   ================================ */
.normal {
    font-weight: 400 !important;
    font-size: inherit;
}
.medium {
    font-weight: 500 !important;
    font-size: inherit;
}
.semi-bold {
    font-weight: 600 !important;
    font-size: inherit;
}
.bold {
    font-weight: 700 !important;
    font-size: inherit;
}

/* ================================
   📌 background_!
   ================================ */
.bg_d9d9d9 {
    background: #d9d9d9;
}
.bg_f2f2f2 {
    background: #f2f2f2;
}

/* ================================
   📌 flex_!
   ================================ */
.flex_end {
    display: flex;
    justify-content: flex-end !important;
}
.flex_start {
    display: flex;
    justify-content: flex-start !important;
}
.flex_between {
    display: flex;
    align-items: center !important;
    justify-content: space-between !important;
}
.flex_center {
    display: flex;
    align-items: center !important;
    justify-content: center !important;
}
.align_start {
    display: flex;
    align-items: flex-start !important;
}
.align_end {
    display: flex;
    align-items: flex-end !important;
}
.align_center {
    display: flex;
    align-items: center !important;
}
.between_end {
    display: flex;
    align-items: flex-end !important;
    justify-content: space-between !important;
}
.between_center {
    display: flex;
    align-items: center !important;
    justify-content: space-between !important;
}
.flex_1 {
    flex: 1 !important;
}
.direction_column {
    flex-direction: column;
}

/* ================================
   📌 태그 공통 스타일
   ================================ */
.listing__tag {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding:  4px;
    border-radius: 4px;
}

.tag-label {
    display: inline-block;
    font-weight: 500;
    font-size: 16px;
}

.tag-count {
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
}

/* ================================
   📌 카테고리별 색상
   ================================ */

/* 주거형 */
.listing__tag--apt {
    background-color: #fff5f5;
}
.listing__tag--apt .tag-label {
    color: #a65959;
}
.listing__tag--apt .tag-count {
    color: #633636;
}
.listing__tag--officetel {
    background-color: #fff4e5;
}
.listing__tag--officetel .tag-label {
    color: #b2884d;
}
.listing__tag--officetel .tag-count {
    color: #6b522e;
}
.listing__tag--villa {
    background-color: #fffde5;
}
.listing__tag--villa .tag-label {
    color: #b2aa4d;
}
.listing__tag--villa .tag-count {
    color: #6b662e;
}
.listing__tag--oneroom {
    background-color: #f4ffe5;
}
.listing__tag--oneroom .tag-label {
    color: #648537;
}
.listing__tag--oneroom .tag-count {
    color: #526b2e;
}
.listing__tag--tworoom {
    background-color: #ecf9ec;
}
.listing__tag--tworoom .tag-label {
    color: #4db24d;
}
.listing__tag--tworoom .tag-count {
    color: #2e6b4c;
}
.listing__tag--detached {
    background-color: #e5fff2;
}
.listing__tag--detached .tag-label {
    color: #4db27e;
}
.listing__tag--detached .tag-count {
    color: #2e6b4c;
}
.listing__tag--rural {
    background-color: #e5fbff;
}
.listing__tag--rural .tag-label {
    color: #4da1b2;
}
.listing__tag--rural .tag-count {
    color: #2e606b;
}
.listing__tag--mixedhouse {
    background-color: #e5eeff;
}
.listing__tag--mixedhouse .tag-label {
    color: #4d6fb2;
}
.listing__tag--mixedhouse .tag-count {
    color: #2e426b;
}
.listing__tag--hanok {
    background-color: #eae5ff;
}
.listing__tag--hanok .tag-label {
    color: #7e70c2;
}
.listing__tag--hanok .tag-count {
    color: #382e6b;
}

/* 상업형 */
.listing__tag--store {
    background-color: #fcf5ff;
}
.listing__tag--store .tag-label {
    color: #914cb2;
}
.listing__tag--store .tag-count {
    color: #572e6b;
}
.listing__tag--office {
    background-color: #fff5fc;
}
.listing__tag--office .tag-label {
    color: #854770;
}
.listing__tag--office .tag-count {
    color: #422438;
}
.listing__tag--building {
    background-color: #fff2e5;
}
.listing__tag--building .tag-label {
    color: #b27f4d;
}
.listing__tag--building .tag-count {
    color: #6b4c2e;
}

/* 산업형 */
.listing__tag--factory {
    background-color: #ffffe5;
}
.listing__tag--factory .tag-label {
    color: #a1a145;
}
.listing__tag--factory .tag-count {
    color: #6b6b2e;
}
.listing__tag--knowledge {
    background-color: #f2ffe5;
}
.listing__tag--knowledge .tag-label {
    color: #72a145;
}
.listing__tag--knowledge .tag-count {
    color: #4c6b2e;
}

/* 토지형 */
.listing__tag--land {
    background-color: #e5ffe5;
}
.listing__tag--land .tag-label {
    color: #45a145;
}
.listing__tag--land .tag-count {
    color: #2e6b2e;
}

/* 개발 / 분양형 */
.listing__tag--apt-sale {
    background-color: #e5fff2;
}
.listing__tag--apt-sale .tag-label {
    color: #4db27f;
}
.listing__tag--apt-sale .tag-count {
    color: #2e6b4f;
}
.listing__tag--officetel-sale {
    background-color: #f5ffff;
}
.listing__tag--officetel-sale .tag-label {
    color: #4db2b2;
}
.listing__tag--officetel-sale .tag-count {
    color: #2e6b6b;
}
.listing__tag--redevelopment {
    background-color: #f5faff;
}
.listing__tag--redevelopment .tag-label {
    color: #4d7fb2;
}
.listing__tag--redevelopment .tag-count {
    color: #2e4f6b;
}
.listing__tag--reconstruction {
    background-color: #f5f5ff;
}
.listing__tag--reconstruction .tag-label {
    color: #4d4db2;
}
.listing__tag--reconstruction .tag-count {
    color: #2e2e6b;
}
.listing__tag--presale {
    background-color: #f5ebff;
}
.listing__tag--presale .tag-label {
    color: #7f4db2;
}
.listing__tag--presale .tag-count {
    color: #4b2e6b;
}