#header-top {margin:0px; padding:0px; width: 100%; }

/*#header-top .header_sec01 {height:40px;border-top:1px solid #ededed;border-bottom:1px solid #ededed;}*/
#header-top .header_sec01 {height:28px;border-bottom:1px solid #ededed; margin-top: 0.5rem;}
#header-top .header_sec01 .inner {width:100%; margin:0 auto; position:relative;}
#header-top .header_sec01 .left ul li {float:left; padding:0px 13px; background:url("/static/web/image/bar_v2.webp") no-repeat left center;}
#header-top .header_sec01 .left ul li > a {font-size:12px; line-height:40px; color:#777; font-weight:300;}
#header-top .header_sec01 .left ul li > a.black {color:#000;}
#header-top .header_sec01 .left ul li > a:hover {color:#000;}
#header-top .header_sec01 .left ul li.community {position:relative;}
#header-top .header_sec01 .left ul li.community > a {background-image:url("/static/web/image/down_arrow.webp"); padding-right:15px; background-repeat:no-repeat; background-position:right center}
#header-top .header_sec01 .left ul li.community:hover .community_sub {display:block;}
#header-top .community_sub {position:absolute; top:40px; left:0px; border:1px solid #e5e5e5; border-top:1px solid #fff;; background-color:#fff; width:100px; z-index:500; display:none;}
#header-top .community_sub a:first-child {border-top:0px;}
#header-top .community_sub a {display:block; font-size:11px; font-weight:300; text-align:left; color:#888; height:30px; line-height:30px; border-top:1px solid #efefef; width:80px; padding-left:0px; margin:0 auto;}
#header-top .community_sub a:hover {color:#000;}

#header-top .header_sec01 .left ul li.header_rank {position:relative; background:none; }
#header-top .header_sec01 .left ul li.header_rank > a {color:#222; font-weight:400; letter-spacing:-0.5px;}
#header-top .header_sec01 .left ul li.header_rank > a span {width:15px; height:15px; line-height:15px; font-family: "Noto Sans KR", sans-serif; background-color:#000; color:#fff; display:inline-block; margin-right:7px; text-align:center;}
#header-top .header_sec01 .left ul li.header_rank:hover .sub_area {display:block;}

#header-top .header_sec01 .right ul li {float:left; padding:4px 13px; background:url("/static/web/image/bar_v2.webp") no-repeat left center;}
#header-top .header_sec01 .right ul li.last {padding-right:0px !important;}
#header-top .header_sec01 .right ul li:first-child {background:none;}
#header-top .header_sec01 .right ul li > a {font-size:13px; color:#333; font-weight:500;}
#header-top .header_sec01 .right ul li > a:hover {color:#000;}
#header-top .header_sec01 .right ul li > a.black {color:#000;}
#header-top .header_sec01 .right ul li.my_shopping {position:relative;}
#header-top .header_sec01 .right ul li.my_shopping > a {background-image:url("/static/web/image/down_arrow.webp"); padding-right:15px; background-repeat:no-repeat; background-position:right center}
#header-top .header_sec01 .right ul li.my_shopping:hover .sub_area {display:block;}

#header-top .sub_area {position:absolute; top:38px; left:0px; border:1px solid #e5e5e5; border-top:0px; background-color:#fff; padding-left:12px; min-width:76px; z-index:500; display:none;}
#header-top .sub_area a:first-child {border-top:0px;}
#header-top .sub_area a {display:block; font-size:12px; font-weight:300; text-align:left; color:#888; height:30px; line-height:30px; letter-spacing:-0.5px; }
#header-top .sub_area a:hover {color:#000;}
#header-top .sub_area a span {width:15px; height:15px; line-height:15px; font-family: "Noto Sans KR", sans-serif; background-color:#e9e9e9; color:#222; display:inline-block; text-align:center; margin-right:7px;}

@media (min-width:767px) {
    #header-top { padding:0 60px; }
    .bx-wrapper { padding:0 60px !important;}
}


.viewBottomList {
    margin: 0;
    border-bottom: #e5e5e5 1px solid;
}

.viewBottomList .tdVew01 p { font-weight: 300; }
.viewBottomList.answer .tdVew01 p { font-weight: 400; }

/************************************************
	form
************************************************/
fieldset{border:0}
input,
textarea{ border:#dbdbdb 1px solid; border-top:#a9a9a9 1px solid; border-left:#a9a9a9 1px solid; }
input[type=text],
input[type=submit],
input[type=password],
input[type=number],
input[type=email],
input[type=file] {
    height:30px; line-height:26px; padding:0 4px; margin:0; vertical-align:middle; background:#fff;
    border-radius:0.6rem; border:#e1e1e1 1px solid; box-shadow:none; font-weight: 400;
    -webkit-border-radius: .6rem; -webkit-appearance:none;/*ime-mode:inactive;*/}
input[type=image]{border:none;background:none;}
input:disabled{ color:#70654f;}
input.date{ margin-right:5px;}
input.read{ background:#fafafa;}
input[type="radio"], input[type="checkbox"] {
    position: relative;
    top: 1.5px;
}

@media (max-width:767px) {
    fieldset{border:0}
    input,
    textarea{ border:#dbdbdb 1px solid; border-top:#a9a9a9 1px solid; border-left:#a9a9a9 1px solid; }
    input[type=text],
    input[type=submit],
    input[type=password],
    input[type=number],
    input[type=email],
    input[type=file]{ height:23px; line-height:26px; padding:0 4px; margin:0; vertical-align:middle; background:#fff; border-radius: 0.7rem; border:#e5e5e5 1px solid; box-shadow:none; -webkit-border-radius: 0.7rem; -webkit-appearance:none;/*ime-mode:inactive;*/}
    input[type=image]{border:none;background:none;}
    input:disabled{ color:#70654f;}
    input.date{ margin-right:5px;}
    input.read{ background:#fafafa;}

}


button{ border:0 none;}
textarea{ padding:0 4px; border:#c6c6c6 1px solid; font-size: 1.5rem; font-weight: 400;}
select{ height:25px; padding:0 2px 0 2px; min-width:40px; vertical-align:middle; border: 1px solid #e5e5e5; font-size:13px; background: #fff; border-radius: .7rem;}

label { display:inline-block; vertical-align:middle; font-weight:normal;}
label.radio{ margin-right:20px;}
.label_group{ display:inline-block;}

a {color: #4a4a4a;-webkit-transition: all 0.2s ease-in-out;-moz-transition: all 0.2s ease-in-out;-ms-transition: all 0.2s ease-in-out;-o-transition: all 0.2s ease-in-out;transition: all 0.2s ease-in-out;}
a:hover {color:#4a4a4a;}
a:focus,
a:active {outline: none;}

img {display: block;max-width: 100%;height: auto;}

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: " ";
}
.clearfix:after{
  clear: both;
}

.left {
    float: left;
}
.right {
    float: right;
}

.essential_mark {
    color: #ff4a4a;
    font-size: 12px;
    margin-right: 5px;
}

.required { color:#da161e; }

select[disabled] {
    color: #cccccc;
}

.white {color: #fff;}

.hr {margin: 15px 0; border: 1.2px dashed #c2bdbd;}

/*#navbarResponsive { background-color: #ede1cb; text-align: center;}*/
/*#navbarResponsive { background-color: #44403a; text-align: center;}*/
/*#navbarResponsive { background-color: #44403a; text-align: center; width: 94%; margin: 0px auto;}*/
#navbarResponsive {
    background-color: #605752; text-align: center; width: 94%; margin: 0px auto;
    border-radius: .8rem; box-sizing: border-box; overflow-x: clip;
}


#mainNav {padding: 0 10rem;}
.navbar {display: block;}
#mainNav .navbar-toggler {padding: 0.4rem 0.2rem; border: 0;}
#mainNav .navbar-toggler i {font-size: 33px;}
.navbar-toggler:focus {box-shadow: none;}
.navbar-nav {margin: 0 auto !important;}
#mainNav .navbar-nav .nav-item {
    background: url(/static/web/image/bar_v.webp) no-repeat center left; background-size: 1.2px 15px;
    display: inline-block; color: #fff; padding: 5px 24px; font-size: 15px; font-weight: 400;
}
@media (min-width: 992px) {
    #mainNav .navbar-nav {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        max-width: 100%;
        margin-right: 0 !important;
    }
}
#mainNav .navbar-nav .nav-item:first-child {
    background-image: none;
}
/*#mainNav .container {width:100%; background-color:#f3f3f3;}*/
#mainNav .container {width:94%; background-color:#fff; padding: 1px 0 3px 0;}

#mainNav .navbar-nav .nav-item .nav-link {
  color: #fff; padding: 4px;
}
#mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #ffcfcf;
}
#mainNav .navbar-nav .nav-item .nav-link.active {
  color: #2937f0;
}
#mainNav .navbar-nav .nav-item .nav-link.activee {color: #da3d85; font-weight: 600;}

#header-top .header_sec01 ul {padding: 0;}
.footer-wrap {margin: 6rem 0 1rem 0; padding: 3rem 0;}
.footer-wrap .footer {background-color: #2c2c2c; padding: 4rem 0rem; border-radius: .7rem;}

body .center {padding: 0 10rem;}

/* 1401px~ 에서 mainNav 10rem 패딩 적용 시 24px 패딩이 navbar(94%)를 넘침 → 1600px까지 14px 유지 */
@media (min-width:992px) and (max-width:1600px) {
    #mainNav .navbar-nav .nav-item { padding: 5px 14px; }
}
@media (min-width:768px) and (max-width:1200px)  {
    #mainNav .navbar-nav .nav-item { padding: 5px 8px; }
}
@media (min-width:768px) and (max-width:900px) {
    #mainNav .navbar-nav .nav-item { padding: 5px 4px; }
}
@media (min-width:768px) and (max-width:1400px)  {
    #mainNav {padding: 0 1rem;}
    body .center {padding: 0 1rem;}
    .footer-wrap {padding: 3rem 7rem;}
}

@media (max-width:767px) {
    #navbarResponsive {padding:0; width:100%;}
    #mainNav {padding: 0 0.2rem 0.3rem;}
    #mainNav .container {width:100%;}
    #mainNav .navbar-nav .nav-item .nav-link { padding: 8px; }
    #mainNav .navbar-nav .nav-item {background: none; padding: 1px 10px; font-size: 15px;}
    #mainNav .navbar-nav {width:100%; padding-bottom: 15px;}
    body .center {padding: 0 1rem;}
    .footer-wrap {padding: 0;}
    .footer-wrap .footer {padding: 2rem 0rem;}
}
.masthead {padding-top: 10rem; padding-bottom: 1rem; background-color:#fff; }
@media (max-width:767px) {
    .masthead {padding-top: 9rem; padding-bottom: 0;}
}

aside, section {padding-top: 2rem; padding-bottom: 3rem;}
.container {padding-top: 1px;padding-bottom: 4rem; background: #fff; border-radius: .8rem;}

a {text-decoration: none;}

footer a { color: #d1cfcf; }
footer small, .small {font-size: 1.5rem; font-weight: 400;}
footer .small {letter-spacing: 1px;}

footer .mb-2 { color: #d1cfcf; font-size: 1.5rem; margin-bottom: 0.7rem !important;}

/* footer 카드 위쪽 도배 서비스·비용·지역 안내 */
.footer-service-details {margin: 0 3rem 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid #444;}
.footer-service-details summary {color: #fff; font-size: 1.4rem; font-weight: 600; cursor: pointer;}
.footer-service-links {padding-top: 1.2rem; font-size: 1.3rem; line-height: 2.1;}
.footer-service-links a {color: #9e9b9b; white-space: nowrap;}
.footer-service-links a:hover, .footer-service-links a:focus {color: #fff; text-decoration: underline;}
.footer-service-links a.group-label {color: #d1cfcf; font-weight: 600; margin-right: .6rem;}
.footer-service-links .sep {color: #555; margin: 0 .2rem;}
@media (max-width:767px) {
    .footer-service-details {margin: 0 1.5rem 2rem; padding-bottom: 2rem;}
}

#mainNav .nav-phone-number { display: none; }

@media (max-width:767px) {
    /*#mainNav .container {background-color:#f3f3f3;}*/
    #mainNav .container {background-color:#585350; padding: 5px 0;}
    footer .mb-2 {font-size: 1.3rem;}
    footer .small {letter-spacing: 0; font-size: 1.3rem;}

    /* 모바일 헤더: 전화 버튼에 번호 표시, 문자는 아이콘만 */
    #mainNav .h-right { width: auto; float: right; }
    #mainNav .working-hours.phone-number { width: auto; float: none; margin-top: 0; margin-bottom: 0; display: block; }
    #mainNav .working-hours.phone-number.w_100 { width: auto; }
    #mainNav .phone-text2 { float: none; }
    #mainNav .phone-number-number {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    #mainNav .phone-number-number > .phone-number { display: none; }
    #mainNav .nav-btn-text { display: none; }
    #mainNav .nav-phone-number {
        display: inline-block;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        white-space: nowrap;
    }
    #mainNav .nav-contact-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    #mainNav .phone-number-number .phone_link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: auto;
        height: 38px;
        padding: 0 12px !important;
        margin: 0 !important;
        border-radius: 999px;
        line-height: 1;
        vertical-align: middle;
    }
    #mainNav .phone-number-number .phone_link .nav-phone-icon {
        display: block;
        font-size: 15px;
        line-height: 1;
        flex-shrink: 0;
    }
    #mainNav .phone-number-number .sms_link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        padding: 0;
        margin: 0;
        border-radius: 50%;
        font-size: 0;
        line-height: 1;
    }
    #mainNav .phone-number-number .sms_link i {
        font-size: 18px;
    }
    #mainNav .logo { width: auto; flex: 1; }
}


.container-lg, .container-md, .container-sm, .container {
    max-width: 100%;
}

.page-title-area {
    margin: 0.35rem 0 1rem 0;
}
.page-title-area h2 {
    height: 48px;
    line-height: 44px;
}
@media (max-width: 767px) {
    .page-title-area {
        margin: 0.2rem 0 0.75rem 0;
    }
    .page-title-area h2 {
        height: 42px;
        line-height: 38px;
    }
}

.estimate-wrap {margin-bottom: 3rem;}
/* 본문 주요 블록: #navbarResponsive / #mainNav .container 와 동일 94% 폭 */
body .center > .main-wallpaper-estimate-hero,
body .center > #estimate_counsel_list.estimate-wrap,
body .center > .container.page-inner-container,
body .center > .m-t-20 > .container,
body .center > #faq.container,
body .center > .footer-wrap {
    width: 94%;
    max-width: 94%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
@media (max-width: 767px) {
    body .center > .main-wallpaper-estimate-hero,
    body .center > #estimate_counsel_list.estimate-wrap,
    body .center > .container.page-inner-container,
    body .center > .m-t-20 > .container,
    body .center > #faq.container,
    body .center > .footer-wrap {
        width: 100%;
        max-width: 100%;
    }
}
.estimate-wrap .btn-estimate-wrap{background: #fff; padding: 2rem 0 2rem 0;}
.estimate-wrap .btn-more-estimate {padding: 1rem 2rem; font-size: 1.6rem; background: #a75c5c; color: #fff;}
.counsel-btn-area .btn-write {float:right; padding: 0.6rem 2rem; font-size: 1.4rem;}
.counsel-btn-area .btn-visit {float:right; padding: 0.6rem 2rem; font-size: 1.4rem; margin-right: 5px;}
.counsel-btn-area .visit-desc {line-height: 3; color: #bf3b3b; font-size: 1.3rem;}

.btn-top-more-case {padding: 0.6rem 2rem; font-size: 1.4rem; background: #a75c5c; color: #fff; font-weight: 400;}
.btn-bottom-more-case {padding: 1.6rem 10rem; font-size: 1.6rem; background: #a75c5c; color: #fff; margin-bottom: 3rem;}

.bx-wrapper {width: 90%; margin: 0 auto 40px !important; border: 5px solid #fafafa !important; background: #fafafa !important; box-shadow: none !important;}
.bx-wrapper .bx-controls-direction a {z-index:99 !important;}

.jquery_modal {
    position: fixed; z-index: 1100; top: 0; left: 0; width: 100%; height: 100%; display: none; background-color: rgba(0, 0, 0, 0.4);
}
.jquery_modal .modal_layout {
    position: absolute; top: 50%; left: 50%; width: 60%; height: 400px; padding: 10px; text-align: center;
    background-color: rgb(255, 255, 255); border-radius: 10px; box-shadow: 0 2px 3px 0 rgba(34, 36, 38, 0.15); transform: translateX(-50%) translateY(-50%);
}
.jquery_modal .modal_layout .modal_header {
    width: 100%; position:relative;
}
.jquery_modal .modal_layout .modal_content {
    width: 100%; height: 335px; position:relative; overflow: auto;
}
.jquery_modal .modal_layout .modal_footer {
    width:100%; padding: 10px 0; font-size: 14px;
}
div.callArea span {
    display: inline-block;
    width: 170px;
    font-size: 1rem;
}

@media (max-width:767px) {
    .jquery_modal .modal_layout {width: 90%;}
}

/*.counsel-inner-container {width: 80%;}
.case-inner-container {width: 80%;}
.quote-inner-container {width: 80%;}
.estimation-inner-container {width: 80%;}*/

.counsel-desc-wrap .btn-visit {padding: 0.4rem 1rem; font-size: 1.4rem; margin-right: 5px;}
.counsel-desc-wrap .top-desc {color:#f10b0b; font-size: 1.4rem; vertical-align: -3px; margin-right: 5px;}
.counsel-desc-wrap .desc {font-size: 1.4rem; margin-top: 5px; color: #504c4c;}
.counsel-secret-wrap label {cursor: pointer;}
#btn_estimate_detail {font-size: 1.4rem; font-weight: 400; padding: 0.4rem 1.5rem;}
.counsel-content-title {margin-top: 2rem;}
.counsel-content {margin-top: 1rem;}

/*.welcome-bottom-banner {width: 85%;}*/
.welcome-bottom-banner {padding: 0 1rem;}

/* 비밀번호 modal — iOS Safari: absolute+transform+height:auto 조합에서 박스 높이가 깨짐 */
#password_modal.estimate-counsel-password-modal {
    display: none;
}

#password_modal.estimate-counsel-password-modal.is-visible {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#password_modal.estimate-counsel-password-modal .modal_layout {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(420px, 100%);
    height: auto !important;
    max-height: none;
    margin: 0;
    padding: 1.35rem 1.4rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: visible;
    box-sizing: border-box;
}

#password_modal.estimate-counsel-password-modal .modal_content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static;
    flex: 0 0 auto;
    text-align: left;
}

#password_modal.estimate-counsel-password-modal .modal_footer {
    position: static;
    flex: 0 0 auto;
}

.estimate-counsel-password-modal .password-modal-title {
    margin: 0 0 1rem;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.estimate-counsel-password-modal .password-modal-lead {
    margin: 0 0 1rem;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    text-align: center;
}

.estimate-counsel-password-modal .password-modal-field {
    margin-bottom: .75rem;
}

.estimate-counsel-password-modal .password-modal-label {
    display: block;
    margin-bottom: .35rem;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.estimate-counsel-password-modal .password-modal-input {
    width: 100%;
    min-height: 44px;
    height: auto;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.4;
    border: 1px solid #bbb;
    border-radius: 10px;
    margin-bottom: 0;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
}

.estimate-counsel-password-modal .password-modal-input:focus {
    border-color: #ca5959;
    outline: none;
    box-shadow: 0 0 0 3px rgba(202, 89, 89, .15);
}

.estimate-counsel-password-modal select.password-modal-input {
    -webkit-appearance: menulist;
    appearance: auto;
}

.estimate-counsel-password-modal input.password-modal-input {
    -webkit-appearance: none;
    appearance: none;
}

.estimate-counsel-password-modal .password-modal-hint {
    margin: .5rem 0 0;
    font-size: 12px;
    color: #888;
    line-height: 1.45;
}

.estimate-counsel-password-modal .password-modal-error {
    display: none;
    margin: .5rem 0 0;
    font-size: 12px;
    font-weight: 600;
    color: #ca5959;
    line-height: 1.35;
}

.estimate-counsel-password-modal .password-modal-error.is-visible {
    display: block;
}

.estimate-counsel-password-modal .password-modal-footer {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 1rem;
    flex-wrap: wrap;
}

.estimate-counsel-password-modal #btn_password_confirm,
.estimate-counsel-password-modal #btn_password_cancel {
    min-width: 110px;
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 999px;
}

.send-wrap {margin: 3rem 0;}
.bottom-wrap {margin-bottom: 5rem;}
.bottom-wrap .btn-add-counsel {padding: 0.8rem 4rem; border-radius: .8rem; font-size: 1.5rem; font-weight: 400;}


/* 예상견적 팝업 modal */
@media (max-width:767px) {
    textarea{ font-size: 1.4rem;}
    #now_estimate_modal .modal_layout {height: 500px;}
    #now_estimate_modal .modal_layout .modal_content {height: 435px;}
    .counsel-inner-container {width: 100%;}
    .case-inner-container {width: 100%;}
    .quote-inner-container {width: 100%;}
    .estimation-inner-container {width: 100%;}

    .estimate-wrap .btn-more-estimate{padding: 1rem 2rem; font-size: 1.5rem;}
    .counsel-btn-area .btn-write {float:right; padding: 0.5rem 1rem; font-size: 1.3rem; width: 49%;}
    .counsel-btn-area .btn-visit {float:right; padding: 0.5rem 1rem; font-size: 1.3rem; width: 49%;}
    .counsel-btn-area .visit-desc {line-height: 2.4; font-size: 1.15rem;}
    .btn-top-more-case {padding: 0.4rem 1rem; font-size: 1.3rem; background: #a75c5c; color: #fff; font-weight: 400;}
    .btn-bottom-more-case {padding: 1rem 5rem; font-size: 1.6rem; background: #a75c5c; color: #fff; margin-top: 1rem; margin-bottom: 3rem;}
    .btn-bottom-more-case:hover {color: #fff;}
    .counsel-inner-container {width: 100%;}
    .counsel-inner-contents {width: 100%;}
    .counsel-desc-wrap .btn-visit {padding: 0.3rem 1rem; font-size: 1.3rem; margin-right: 5px;}
    .counsel-desc-wrap {padding: 1rem 0;}
    .counsel-desc-wrap .top-desc {padding-bottom: 0.7rem; display: block; font-size: 1.2rem;}
    .counsel-desc-wrap .desc {font-size: 1.2rem;}
    .bottom-wrap .btn-add-counsel {padding: 0.6rem 3rem; font-size: 1.3rem; }

    .welcome-bottom-banner {width: 100%; padding: 0;}

}

.f-100wt{font-weight:100;}.f-200wt{font-weight:200;}.f-300wt{font-weight:300;}.f-400wt{font-weight:400;}.f-500wt{font-weight:500;}.f-600wt{font-weight:600;}.f-700wt{font-weight:700;}.f-800wt{font-weight:800;}.f-900wt{font-weight:900;}

/* 오른쪽 플로팅 관리자 문의 배너 */
.floating-contact {
    position: fixed;
    right: 0;
    bottom: 48px;
    z-index: 1000;
}

.floating-contact-banner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 56px;
    overflow: hidden;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, .08);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.floating-contact-label {
    margin: 0;
    padding: 10px 6px;
    background: rgba(202, 89, 89, .72);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.floating-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 52px;
    padding: 8px 4px;
    background: rgba(88, 83, 80, .62);
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color .15s ease;
}

.floating-contact-item + .floating-contact-item {
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.floating-contact-item i {
    font-size: 18px;
    line-height: 1;
}

.floating-contact-estimate {
    background: rgba(111, 79, 79, .62);
}

.floating-contact-estimate:hover,
.floating-contact-estimate:focus,
.floating-contact-phone:hover,
.floating-contact-phone:focus,
.floating-contact-sms:hover,
.floating-contact-sms:focus {
    background: rgba(109, 102, 98, .82);
    color: #fff;
    text-decoration: none;
}

@media (max-width:767px) {
    .floating-contact {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }

    .floating-contact-banner {
        width: 50px;
    }

    .floating-contact-label {
        padding: 8px 4px;
        font-size: 10px;
    }

    .floating-contact-item {
        min-height: 46px;
        padding: 6px 4px;
    }

    .floating-contact-item i {
        font-size: 16px;
    }
}

/* 플로팅 예상견적 quick-estimate-card modal */
#floating_quick_estimate_modal.floating-quick-estimate-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1110;
    background-color: rgba(0, 0, 0, 0.45);
}

#floating_quick_estimate_modal.floating-quick-estimate-modal.is-visible {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#floating_quick_estimate_modal .modal_layout {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(420px, 100%);
    height: auto !important;
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: auto;
    box-sizing: border-box;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
    text-align: left;
}

#floating_quick_estimate_modal .floating-quick-estimate-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 0;
}

#floating_quick_estimate_modal .floating-quick-estimate-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

#floating_quick_estimate_modal .floating-quick-estimate-close {
    border: 0;
    background: transparent;
    color: #666;
    font-size: 28px;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
}

#floating_quick_estimate_modal .modal_content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static;
    flex: 0 0 auto;
    padding: 0 0 4px;
}

body.quick-estimate-modal-open {
    overflow: hidden;
}

@media (max-width:767px) {
    #floating_quick_estimate_modal.floating-quick-estimate-modal.is-visible {
        padding: 20px 16px;
        align-items: center;
        justify-content: center;
    }

    #floating_quick_estimate_modal .modal_layout {
        width: 100%;
        max-width: 420px;
        max-height: calc(100vh - 40px);
        min-height: 0;
        border-radius: 16px;
    }
}

#floating_quick_estimate_modal .quick-estimate-card {
    background: #fff;
    border-radius: 0 0 16px 16px;
    padding: .5rem 1.35rem 1.35rem;
    box-shadow: none;
}

.quick-estimate-card label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: .25rem;
    font-weight: 600;
    text-align: center;
}

.quick-estimate-card .form-control {
    border-radius: 10px;
    margin-bottom: .65rem;
}

.quick-estimate-card .pyeong-custom-input {
    margin-top: .35rem;
    margin-bottom: .65rem;
}

.quick-estimate-card [id$="_customer_phone"] {
    color: #aaa;
    background-color: #fff;
    border-color: #ccc;
}

.quick-estimate-card [id$="_customer_phone"]:not(:placeholder-shown) {
    color: #222;
}

.quick-estimate-card [id$="_customer_phone"]::placeholder {
    color: #c5c5c5;
    opacity: 1;
}

.quick-estimate-card [id$="_customer_phone"].is-required,
.quick-estimate-card label[for$="_customer_phone"].is-required {
    color: #ca5959;
}

.quick-estimate-card [id$="_customer_phone"].is-required {
    border-color: #ca5959;
    box-shadow: 0 0 0 3px rgba(202, 89, 89, .18);
    animation: quick-phone-shake .45s ease;
}

.quick-estimate-card .quick-phone-error {
    display: none;
    margin: -.45rem 0 .5rem;
    font-size: 12px;
    font-weight: 600;
    color: #ca5959;
    line-height: 1.35;
}

.quick-estimate-card .quick-phone-error.is-visible {
    display: block !important;
}

.quick-estimate-card .quick-estimate-result {
    display: none;
    min-height: 2.5em;
    font-size: 15px;
    font-weight: 700;
    color: #ca5959;
    margin: .85rem 0 0;
    text-align: center;
}

.quick-estimate-card .quick-estimate-result.is-visible {
    display: block;
}

.quick-estimate-card .quick-estimate-result .muted {
    font-weight: 400;
    color: #888;
    font-size: 13px;
}

.quick-estimate-card .quick-estimate-submit-btn {
    width: 100%;
    padding: 14px 12px;
    font-size: 18px;
    border-radius: 999px;
    margin-top: .25rem;
}

.quick-estimate-card .quick-estimate-disclaimer {
    margin: .6rem 0 0;
    font-size: 12px;
    color: #999;
}

@keyframes quick-phone-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* 예상 견적 확인 modal — 전 페이지 공통 */
#quick_estimate_confirm_modal.quick-estimate-confirm-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1120;
    background-color: rgba(0, 0, 0, 0.45);
}

#quick_estimate_confirm_modal.quick-estimate-confirm-modal.is-visible {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#quick_estimate_confirm_modal.quick-estimate-confirm-modal .modal_layout {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(420px, 100%);
    height: auto !important;
    max-height: none;
    margin: 0;
    padding: 1.35rem 1.4rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: visible;
    box-sizing: border-box;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}

#quick_estimate_confirm_modal.quick-estimate-confirm-modal .modal_content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static;
    flex: 0 0 auto;
    text-align: left;
}

#quick_estimate_confirm_modal.quick-estimate-confirm-modal .modal_footer {
    position: static;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 1rem;
    flex-wrap: wrap;
}

#quick_estimate_confirm_modal .quick-estimate-confirm-title {
    margin: 0 0 1rem;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

#quick_estimate_confirm_modal .quick-estimate-confirm-lead {
    margin: 0 0 .75rem;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

#quick_estimate_confirm_modal .quick-estimate-confirm-total {
    margin: 0 0 .25rem;
    font-size: 17px;
    font-weight: 700;
    color: #ca5959;
    text-align: center;
}

#quick_estimate_confirm_modal .quick-estimate-confirm-total strong {
    font-size: 22px;
    color: #333;
}

#quick_estimate_confirm_modal .quick-estimate-confirm-detail {
    margin: 0 0 .85rem;
    font-size: 13px;
    color: #888;
    text-align: center;
}

#quick_estimate_confirm_modal .quick-estimate-confirm-notice {
    margin: 0 0 .85rem;
    padding-top: .75rem;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #999;
    line-height: 1.45;
}

#quick_estimate_confirm_modal .quick-estimate-confirm-counsel {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

#quick_estimate_confirm_modal .quick-estimate-success-lead {
    margin: 0 0 .85rem;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    text-align: center;
    line-height: 1.5;
}

#quick_estimate_confirm_modal .quick-estimate-success-desc {
    margin: .85rem 0 0;
    font-size: 13px;
    color: #555;
    text-align: center;
    line-height: 1.5;
}

#quick_estimate_confirm_modal #btn_quick_estimate_goto_post,
#quick_estimate_confirm_modal #btn_quick_estimate_public,
#quick_estimate_confirm_modal #btn_quick_estimate_secret,
#quick_estimate_confirm_modal #btn_quick_estimate_close {
    min-width: 110px;
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 999px;
}

#quick_estimate_confirm_modal #btn_quick_estimate_goto_post,
#quick_estimate_confirm_modal #btn_quick_estimate_close {
    display: none;
}

@media (max-width:767px) {
    #quick_estimate_confirm_modal.quick-estimate-confirm-modal.is-visible {
        padding: 12px;
    }

    #quick_estimate_confirm_modal.quick-estimate-confirm-modal .modal_layout {
        width: 100%;
    }

    #quick_estimate_confirm_modal #btn_quick_estimate_public,
    #quick_estimate_confirm_modal #btn_quick_estimate_secret {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
    }
}

