@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

/* 탭  */
/* .tab_wrapper {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12;
    position: absolute;
    transform: 0.3s;
} */

.primary_color {
    color: #ed5b23 !important;
}

.page_title {
    display: flex;
    margin: 50px 0 30px;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 24px;
}

.title {
    font-size: 48px;
    text-align: left;
}

.circle_txt {
    margin-bottom: 0;
}
.page_title.xrm .circle_txt span{
    font-size: 14px;
    border-radius: 30px;
    color: #4d8dff;
    background-color: #d8ebff;
    padding: 0.5rem 1rem;
    margin-bottom: 60px;
    font-weight: 600;
}
.circle_txt span {
    font-size: 14px;
    flex-direction: column;
}
.page_title.xrm .circle_txt span:first-child::after{
    display: none;
}
.sub_title {
    font-size: 20px;
    color: #808080;
}

.tab_wrapper .tab_con {
    min-width: 310px;
    max-width: 100%;
    width: fit-content;
    height: 50px;
    margin: 0 auto;
    background-color: #f6f6f6;
    backdrop-filter: blur(25px);
    border-radius: 50px;
}

 .tab_wrapper .tab_con ul {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

 .tab_wrapper .tab_con ul li.active {
    background: #fff;
   box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

 .tab_wrapper .tab_con ul li {
    width: 100%;
    height: calc(100% - 10px);
    border-radius: 50px;
    margin: 5px;
    padding: 0 12px;
}

.tab_wrapper .tab_con ul li a {
    font-size: 16px;
    line-height: 40px;
    color: #444;
    text-align: center;
    transition: all .3s;
    z-index: 1;
    border-radius: 50px;
    font-weight: 600;
    text-transform: none;
    overflow: unset;
    white-space: unset;
    text-overflow: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

 .tab_wrapper .tab_con ul li.active a {
    color: #222;
}

.tab_wrapper .tab_con ul li a .save {
    font-size: 12px;
    color: #1C6DFD;
    background: #D8EBFF;
    padding: 4px 8px;
    border-radius: 50px;
}

/* 서비스 종류 */
.service_wrap {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.service_wrap .vat {
    position: absolute;
    right: 0;
    top: -35px;
    font-size: 14px;
    color: #80BBFF;
}

.sub-page .buy-in .service {
    width: 100%;
}

.service_wrap .service {
    width: 100%;
    height: 100%;
    border: 1px solid #CBCFD7;
    padding: 16px;
    border-radius: 12px ;
    transition: 0.2s;
    overflow: visible !important;
    cursor: pointer;
}

.service_wrap .service.standard {
    background: linear-gradient(211deg, #D8EBFF 0%, #FFFFFF 24.95%);
    border: 1px solid #318df5;
}

.service_wrap .service:hover {
    border: 1px solid #318DF5;
    box-shadow: 0 0 10px 3px #6e98c330;
}

.service_wrap .service.standard:hover {
    border: 1px solid #318df5;
}

.service_wrap .service .title {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 3px;
    padding-bottom: 12px;
    margin-bottom: 0;
}

.service_wrap .service .title.recommend_title {
    justify-content: space-between;
}

.service_wrap .service .title p {
    font-weight: 700;
    font-size: 20px;
    padding: 8px 0;

}

.service_wrap .service .title  span {
    font-size: 14px;
    color: #777;
}

.service_wrap .service:hover .title p {
  color: #1C6DFD !important;
}

.service_wrap .service .title .recommend {
    background-color: #fff;
    color: #4D8DFF;
    border-radius: 30px;
    padding: 3px 10px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 8px;
}

.service_wrap .service .service_con {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.service_wrap .service .service_con ul {
    padding-top: 14px;
}

.service_wrap .service .service_con ul li {
    position: relative;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: #444;
    margin-bottom: 24px;
    padding-left: 30px;
}

.service_wrap .service .service_con ul li:last-child {
    margin-bottom: 0;
}

.service_wrap .service .service_con ul li:not(.plus, .time)::before {
    content: '';
    position: absolute;
    left: 0;
    background: url('/img/xr_city/web/icon_check_circle.svg') no-repeat center;
    width: 24px;
    height: 24px;
    background-size: 18px;
}

.service_wrap .service .service_con ul li.time::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    background: url('/img/xr_city/web/icon_time_point.svg') no-repeat center;
    width: 18px;
    height: 24px;
    background-size: 18px;
}

.service_wrap .service .service_con ul li.time_limit::before {
    content: '';
    position: absolute;
    left: 0;
    background: url('/img/xr_city/web/icon_time.svg') no-repeat center;
    width: 18px;
    height: 24px;
    background-size: 18px;
}

.service_wrap .service .service_con ul .help {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service_wrap .service .service_con ul .help .icon_help {
    position: relative;
    top: 4px;
    right: 0;
    background: url('/img/xr_city/web/icon_help_grey.svg') no-repeat center;
    width: 20px;
    height: 20px;
    background-size: 20px;
    cursor: pointer;
}

.service_wrap .service .service_con ul .help .hover_help {
    display: none;
    opacity: 0;
    transition: 0.4s opacity;
    position: absolute;
    height: auto;
    background-color: #222;
    color: #fff;
    z-index: 1;
    font-size: 13px;
    font-weight: 400;
    top: 36px;
    left: 50%;
    width: 100%;
    min-width: 207px;
    transform: translateX(-50%);
    word-break: keep-all;
    padding: 8px;
    border-radius: 7px;
    text-align: center;
}

.hover_help::before {
    content: '';
    position: absolute;
    top: -17px;
    left: 50%;
    width: 0;
    height: 0;
    border-bottom: 10px solid transparent;
    border-top: 10px solid transparent;
    border-left: 16px solid #222;
    border-right: 10px solid transparent;
    transform: translateX(-50%) rotate(-90deg);
    border-radius: 5px;
}

.service_wrap .service .service_con ul .help .icon_help:hover .hover_help {
    opacity: 1;
    display: block;
}

.service_wrap .service .service_con ul .point {
    color: #1c6dfd;
    font-weight: 700;
}

.service_wrap .service .service_con ul .plus {
    padding-top: 6px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.service_wrap .service .service_con .plus.point {
    color: #318DF5;
}

.service_wrap .service .service_con ul .plus > img {
    margin-top: 4px;
}

.service_wrap .service .service_con ul li.plus img {
    padding-right: 7px;
}

.service_wrap .service .service_con ul .plus .time_limit {
    color: #222;
    display: flex;
    align-items: center;
    gap: 4px;
}

.service_wrap .service .service_con ul .plus .time_limit.point {
    color: #318DF5;
}

.service_wrap .service .service_con ul .plus .time_limit.point img {
    filter: invert(49%) sepia(88%) saturate(2805%) hue-rotate(193deg) brightness(98%) contrast(97%);
}

.service_wrap .service .service_con .price {
    text-align: left;
    height: 82px;
}

.service_wrap .service .service_con .price h1:not(.Inquiry) {
    display: flex;
    align-items: baseline;
    gap: 4px;
    justify-content: start;
    font-size: 36px;
    letter-spacing: -1px;
}

.service_wrap .service .service_con .price h1 b {
    color: #777;
    font-size: 16px;
    font-weight: 400;
}

.service_wrap .service .service_con .price h1 b.month {
    margin-left: 5px;
}

.service_wrap .service .service_con .price p {
    color: #777;
    font-size: 14px;
}

.service_wrap .service .service_con .price .Inquiry,
.service_wrap .service .service_con .price .Inquiry b  {
    font-size: 20px;
    font-weight: 600;
}

.service_wrap .service .service_con .price .Inquiry b {
    font-size: 20px;
    font-weight: 700;
    color: #318DF5;
}

.service_wrap .service .service_con .btn_wrap {
    text-align: center;
    border-bottom: 1px solid #D3E1EF;
    padding-bottom: 24px;
}

.btn_wrap button {
    display: inline-block;
    width: 100% !important;
    height: 44px;
    color: #318DF5;
    background-color: #D8EBFF;
    font-size: 18px;
    font-weight: 600;
    line-height: 44px;
    text-align: center;
    border-radius: 8px;
}

.btn_wrap button a {
    color: #318DF5;
}

.service_wrap .service.standard .btn_wrap button {
    background: #1C6DFD;
    border: 0;
    color: #fff;   
}

.service_wrap .service.premium .btn_wrap button {
    color: #318DF5;
    background: #D8EBFF;
}

.btn_wrap .free_btn {
    display: inline-block;
    width: 100% !important;
    height: 100%;
    height: 46px;
    background-color: #fff;
    color: #ed5b23;
    font-size: 17px;
    font-weight: 500;
    line-height: 42px;
    text-align: center;
    border: 1px solid #ed5b23;
    border-radius: 7px;
}

.btn_wrap .free_btn a {
    border-radius: 7px;
    line-height: 42px;
}

.sub-page.buy-in .notice {
    border-top: 1px solid #dcdcdc;
    padding-top: 15px;
    margin: 40px 0px;
}

.sub-page .buy-in .notice ul li {
    position: relative;
    font-size: 14px ;
    padding-left: 12px;
    margin-bottom: 3px;
    color: #666;
}

.sub-page .buy-in .notice ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 3.5px;
    height: 3.5px;
    border-radius: 20px;
    background-color: #555;
}

.service_wrap .service .service_con ul .time_limit .plus {
    content: '';
    position: absolute;
    left: 0;
    background: url(https://local.goodmoim.com/img/xr_city/web/icon_time.svg) no-repeat center;
    width: 18px;
    height: 24px;
    background-size: 18px;
    color: #222;
}

/* 서비스 선택 */
.service_choice {
    margin-top: 120px;
}

.service_type_wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px; /* 카드 사이 간격 */
}

.service_type_wrap .service_type {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.service_type_wrap .service_type .service_introduction {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    border: 1px solid #EAECF0;
    background-color: #f6f6f6;
    width: 100%;
    gap: 16px;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    padding: 24px;
}

.service_type_wrap .service_type  .service_type_title {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 226px;
}

.service_type_wrap .service_type  .service_type_title h1 {
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service_type_wrap .service_type  .service_type_title h1 small {
    font-size: 20px;
    font-weight: 500;
}

.service_type_wrap .service_type .service_introduction .text {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    width: 448px;
    line-height: 1.6;
}

.service_type_wrap .service_type .service_introduction .text h4 {
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 700;
}

.service_type_wrap .service_type .service_introduction .text b {
    font-weight: 600;
}

.service_type_wrap .service_type .service_introduction .text p {
    color: #555;
    font-size: 14px;
    margin-top: 10px;
    font-weight:  500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service_type_wrap .service_type .service_introduction .service-img {
    height: 100%;
    display: flex;
    align-items: center;
}

/* 스탠더드 구매 모달 */
/* overlay */
.modal {
  position: fixed; inset: 0; display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,.45); z-index: 9999;
}
.modal[aria-hidden="false"] { display: flex; }

/* dialog */
.modal-dialog {
  width: min(460px, 92vw); background: #fff; border-radius: 14px; padding: 24px 24px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2); position: relative; font-family: inherit;
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px; border-radius: 3px;
}
.modal-close:hover { background: #eee; }
#modalTitle { font-size: 18px; margin: 0 0 14px; }

/* rows */
.modal-row { display: grid; grid-template-columns: 40px 1fr; align-items: start; }
.modal-row .num { font-size: 28px; font-weight: 500; color: #1C6DFD; }
.modal-row .content label { display: block; font-size: 16px; font-weight: 500; }
#people {
  width: 120px; height: 40px; padding: 0 12px; border: 1px solid #ddd;
  border-radius: 8px; background: #fff;
}

/* lines */
.line { display: flex; align-items: center; justify-content: space-between; }
.line.sub span { color: #777; }
.modal-divider { border: 0; border-top: 1px dashed #dbdbdb; margin: 20px 0; }
.modal-strong-divider { border: 0; border-top: 2px solid #666; margin: 18px 0; }

.modal-row.total { grid-template-columns: 1fr auto; align-items: center; margin-bottom: 24px;}
.modal-row.total .label { font-weight: 700; font-size: 16px; }
.modal-row.total .amount span,
.modal-row.total .amount strong {
  color: #1C6DFD; font-size: 22px; font-weight: 800;
}

.modal-row select.person-num {
    min-width: 60px;
    border-radius: 5px;
    color: #333;
}

/* note + CTA */
.modal-note {
  background: #f2f3f5; border-radius: 8px; padding: 14px;
  color: #666; font-size: 13px; margin: 20px 0;
}
.modal-submit {
  width: 100%; height: 54px; border: 0; border-radius: 10px;
  background: #1C6DFD; color: #fff;
  font-size: 18px; font-weight: 700; cursor: pointer;
}

.modal-submit:hover {
    filter: brightness(1.1);
}

@media all and (max-width: 1030px) {
    .service_wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media all and (max-width: 768px) {
    .page_title {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .page_title .title {
        font-size: 28px;
        text-align: center;
    }

    .sub_title {
        font-size: 16px;
        text-align: center;
    }

    #people {
        width: 70px;
    }

    .service_wrap .vat {
        top: -20px;
        font-size: 12px;
    }

    /* 서비스 선택 */
    .service_type_wrap {
        gap: 12px;
    }
    .service_choice .service_type_wrap {
        display: block;
    }
    .service_choice .service_type_wrap .service_type {
        margin-bottom: 12px;
    }

    .service_type_wrap .service_type {
        gap: 10px;
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
    }

    .service_type_wrap .service_type .service_introduction {
        width: 100%;
        padding: 16px;
        gap: 20px;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .service_type_wrap .service_type .service_introduction .service-img {
        height: auto;
    }
    
    .service_type_wrap .service_type .service_type_title {
        gap: 16px;
    }

    .service_type_wrap .service_type .service_introduction .text {
        font-size: 14px;
        width: inherit;
        text-align: center;
    }

    .service_type_wrap .service_type .service_introduction .text h4 {
        font-size: 20px;
    }

    .service_type_title img {
        width: 40px;
    }

    .service_type_wrap .service_type .service_type_title h1 {
        font-size: 22px;
    }

    .service_type_wrap .service_type .service_introduction .text p {
        justify-content: center;
    }

    .btn_wrap a {
        background: none !important;
        width: 100%;
        height: 100%;
        border: none;
        box-shadow: none;
    }

    .hover_help::before {
        right: -16px;
        left: auto;
    }

    .service_wrap .service .service_con ul .help .hover_help {
        right: 0;
        left: auto;
        transform: none;
    }
}

@media all and (max-width: 480px) {
    .service_wrap {
        grid-template-columns: repeat(1, 1fr);
    }

    .modal-row {
        grid-template-columns: 32px 1fr;
    }

    .modal-row .content label {
        font-size: 15px;
    }

    .modal-row .num {
        font-size: 24px;
    }

    .modal-submit {
        font-size: 16px;
    }

    .service_type_wrap {
        grid-template-columns: repeat(1, 1fr);
    }
}