xmp,pre{
    max-width: 100%;
    white-space: pre-wrap;
    font-weight: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
}

textarea{
    font-weight: inherit !important;
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
}
.layered-popup {
    display:none;
    position: absolute;
    width:400px;
    z-index: 8;
    top:70px;
    font-size:20px;
    padding-left:5px;
    padding-right:5px;
}
.popup-wrap {
    position: absolute;
    width: 100%;
    text-align: center;
}
.popup-inner{
    position: relative;
    width: 1460px;
    display: inline-block;
}
.layered-popup img {
    width: 100%;
    border: 1px solid black;
    float: left;
    /*height: 340px;*/
}
.layered-popup .button_area{
    text-align: center;
}
.layered-popup .button_area .button{
    background-color: #B69F6D;
    color: white;
    display: inline-block;
    width: 50%;
    float: left;
    font-size: 13px;
    padding: 8px 12px;
    cursor: pointer;
}
.layered-popup .button_area .button:nth-child(1){
    border-right: 1px solid black;
}
.text-tiny{
    font-size: 0.7em !important;
}
.text-small{
    font-size: 0.85em !important;
}
.text-big{
    font-size: 1.4em !important;
}
.text-huge{
    font-size: 1.8em !important;
}
#main-content .sec-3 .map-marker{
    transform: none !important;
}
.search-dropdown select{
    border: none;
}
@media only screen and (max-width: 1440px){
    #main-content .sec-1 .ayo-box {
        right: 20px !important;
    }
}
@media only screen and (max-width: 1180px){
    #main-content .sec-1 .ayo-box {
        position: absolute;
        width: 290px !important;
        aspect-ratio: initial !important;
        top: 170px !important;
        left: 50% !important;
        transform: translateX(-50%);
        right: initial !important;
        background-color: #0a53be;
    }


    .ayo-box .message-box {
        min-height: 93px !important;
        line-height: 1.3 !important;
    }
    #main-content .sec-1 .yo-img {
        width: 150px !important;
        height: 150px !important;
        top: 0 !important;
        left: initial  !important;
        right: -50% !important;
    }
}

@media only screen and (max-width: 1024px){
    .layered-popup{
        left: unset !important;
        right: 50px !important;
        top: 80px !important;
    }
    .popup-wrap{
        width: 100%;
    }
    .popup-inner{
        width: 100%;
    }
    .pop-img-wrap{
        height: 200px;
    }
}

@media only screen and (max-width: 768px){
    .layered-popup{
        left:0px!important;
        top:66px!important;
        width: 100% !important;
        padding:0px!important;
    }
    .layered-popup img{
        width: 100%;
        /*height: 100vw;*/
    }


}

@media only screen and (max-width: 600px) {

    .ayo-box .message-box{
        padding: 0 50px;
        font-size: 18px !important;
    }

    #main-content .sec-1 .yo-img {
        width: 90px !important;
        height: 93px !important;
        right: -10% !important;
    }

}
#header .bottom .gnb > ul > li > a {
    font-size: 1.2rem;
}

.hotp-slide .swiper-slide .tbox .tag + .tag {
    margin-top: 16px;
}

.hotp-slide .swiper-slide .tbox .tag + .tag li {
    padding: 0;
}

.hotp-slide .swiper-slide .tbox .tag + .tag li img {
    width: 40px;
}

.place-list .item .cbox .bottom a span {
    color: #111;
}

#header .bottom .inner {
    margin: 0 auto;
    max-width: 1400px;
}

#header .top .inner {
    max-width: 1200px;
    padding-left: 0;
    padding-right: 0;
}

.snb-wrap {
    max-width: 1200px;
    margin: 0 auto 50px;
}

#main-content .sec-2 .inner {
    max-width: 1520px;
}

.quick-mn.inner {
    max-width: 1400px;
}

.accordion-content.active {
    padding-top: 0;
}

.review-filter-area {
    background: #fff;
    border: 1px solid #c9c9c9;
}

.review-input-buttons {
    display: flex;
    margin: 0;
    width: 100%;
    justify-content: space-between;
}

.review-list {
    background: #fff;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-radius: 0 0 10px 10px;
}

:root {
    --layoutwidth: 1200px;
}



/* ========================================
   AI 추천코스 모달 스타일
   ======================================== */

/* AI 추천코스 버튼 */
.ai-rcm-btn {
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    /*width: 60px;*/
    /*height: 60px;*/
    /*border: none;*/
    /*background: linear-gradient(135deg, #ff7300 0%, #ffaa24 100%);*/
    /*border-radius: 50%;*/
    /*cursor: pointer;*/
    /*box-shadow: 0 4px 15px rgba(255, 115, 0, 0.4);*/
    /*transition: all 0.3s ease;*/
    /*position: fixed;*/
    /*bottom: 100px;*/
    /*right: 30px;*/
    /*z-index: 999;*/
}

.ai-rcm-btn:hover {
    transform: scale(1.1);
    /*box-shadow: 0 6px 20px rgba(255, 115, 0, 0.5);*/
}

.ai-rcm-btn:active {
    transform: scale(0.95);
}

.ai-rcm-btn img {
    /*width: 35px;*/
    /*height: 35px;*/
    /*filter: brightness(0) invert(1);*/
}

/* 모달 컨테이너 */
.ai-rcm-modal-container {
    max-width: 500px;
    padding: 30px;
}

/* 모달 타이틀 */
.ai-rcm-modal-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ai-rcm-modal-title .title-icon {
    width: 32px;
    height: 32px;
}

/* 모달 콘텐츠 */
.ai-rcm-modal-content {
    position: relative;
}

/* 단계 전환 */
.ai-rcm-step {
    display: none;
}

.ai-rcm-step.active {
    display: block;
    animation: aiRcmFadeIn 0.3s ease;
}

@keyframes aiRcmFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 질문 단계 */
.ai-rcm-intro {
    text-align: center;
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
    font-family: "GmarketSansMedium";
}

.ai-rcm-intro strong {
    color: var(--orange);
    font-family: "GmarketSansBold";
}

.ai-rcm-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ai-rcm-form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-rcm-form-group label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #333;
    font-family: "GmarketSansMedium";
}

.ai-rcm-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai-rcm-option {
    flex: 1;
    min-width: calc(50% - 5px);
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    font-size: 0.875rem;
    font-family: "GmarketSansMedium";
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-rcm-option:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.ai-rcm-option.selected {
    border-color: var(--orange);
    background: linear-gradient(135deg, rgba(255, 115, 0, 0.1) 0%, rgba(255, 170, 36, 0.1) 100%);
    color: var(--orange);
    font-family: "GmarketSansBold";
}

/* 제출 버튼 */
.ai-rcm-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    margin-top: 30px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff7300 0%, #ffaa24 100%);
    color: #fff;
    font-size: 1rem;
    font-family: "GmarketSansBold";
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-rcm-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 115, 0, 0.4);
}

.ai-rcm-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ai-rcm-submit-btn svg {
    width: 20px;
    height: 20px;
}

/* 로딩 단계 */
.ai-rcm-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.ai-rcm-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f0f0f0;
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: aiRcmSpin 1s linear infinite;
}

@keyframes aiRcmSpin {
    to {
        transform: rotate(360deg);
    }
}

.ai-rcm-loading-text {
    margin-top: 24px;
    font-size: 1rem;
    color: #666;
    text-align: center;
    line-height: 1.7;
    font-family: "GmarketSansMedium";
}

/* 결과 단계 */
.ai-rcm-result {
    padding: 10px 0;
}

.ai-rcm-result-header {
    text-align: center;
    margin-bottom: 24px;
}

.ai-rcm-result-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #ff7300 0%, #ffaa24 100%);
    color: #fff;
    font-size: 0.75rem;
    font-family: "GmarketSansBold";
    border-radius: 20px;
    margin-bottom: 12px;
}

.ai-rcm-result-title {
    font-size: 1.375rem;
    font-family: "GmarketSansBold";
    color: #333;
    margin: 0 0 8px 0;
}

.ai-rcm-result-desc {
    font-size: 0.875rem;
    font-family: "GmarketSansMedium";
    color: #666;
    margin: 0;
}

/* 코스 리스트 */
.ai-rcm-course-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-rcm-course-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.ai-rcm-course-item:hover {
    background: #f0f0f0;
}

.ai-rcm-course-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff7300 0%, #ffaa24 100%);
    color: #fff;
    font-size: 0.875rem;
    font-family: "GmarketSansBold";
    border-radius: 50%;
    flex-shrink: 0;
}

.ai-rcm-course-info {
    flex: 1;
}

.ai-rcm-course-name {
    font-size: 1rem;
    font-family: "GmarketSansBold";
    color: #333;
    margin: 0 0 4px 0;
}

.ai-rcm-course-desc {
    font-size: 0.8125rem;
    font-family: "GmarketSansMedium";
    color: #888;
    margin: 0 0 8px 0;
}

.ai-rcm-course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ai-rcm-course-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: "GmarketSansMedium";
    color: #666;
}

.ai-rcm-course-tag.accessibility {
    border-color: var(--green);
    color: var(--green);
}

/* 결과 액션 버튼 */
.ai-rcm-result-actions {
    margin-top: 24px;
    text-align: center;
}

.ai-rcm-retry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--orange);
    border-radius: 10px;
    background: #fff;
    color: var(--orange);
    font-size: 0.9375rem;
    font-family: "GmarketSansMedium";
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-rcm-retry-btn:hover {
    background: rgba(255, 115, 0, 0.1);
}

.ai-rcm-retry-btn svg {
    width: 18px;
    height: 18px;
}

/* AI 추천코스 모달 반응형 */
@media (max-width: 768px) {
    .ai-rcm-btn {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 20px;
    }

    .ai-rcm-btn img {
        width: 28px;
        height: 28px;
    }

    .ai-rcm-modal-container {
        padding: 24px 20px;
        max-width: 90%;
    }

    .ai-rcm-modal-title {
        font-size: 1.375rem;
    }

    .ai-rcm-modal-title .title-icon {
        width: 28px;
        height: 28px;
    }

    .ai-rcm-option {
        min-width: calc(50% - 5px);
        padding: 10px 12px;
        font-size: 0.8125rem;
    }

    .ai-rcm-submit-btn {
        padding: 14px 20px;
        font-size: 0.9375rem;
    }

    .ai-rcm-course-item {
        padding: 12px;
    }

    .ai-rcm-course-num {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .ai-rcm-course-name {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .ai-rcm-option {
        min-width: 100%;
    }
}

.detail-page .sec-2 .nav {
    background: #fff;
}

.detail-page .sec-2 .conWrap .accordion-inner .info-tags .tag-item {
    border: 0;
}

.es-card {
    position: relative;
    display: block;
}

.es-card-image {
    padding-top: calc(500/400 * 100%);
    background-size: cover;
    background-position: center;
    display: block;
}

#main-content .sec-4 .sns-slide .swiper-slide.es-card-item {
    position: relative;
    width: auto;
    height: auto;
    display: block;
}

.es-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    margin: 16px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.es-caption {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.es-username {
    color: #fff;
}

.es-caption {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.sns-linkzone ul {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

#main-content .sec-4 .tbox {
    width: 390px;
}

#main-content .sec-4 .tbox h1 {
    font-family: "GmarketSansBold", sans-serif;
    font-size: 65px;
    line-height: 1em;
    letter-spacing: -0.05em;
}

#main-content .sec-4 .tbox h1.txt-2 {
    color: #518314;
    margin-top: 10px;
    margin-bottom: 50px;
}

#main-content .sec-4 .sns-slide {
    padding: 0;
}

#main-content .sec-4 .inner {
    max-width: 100%;
    padding-left: 13.54%;
    padding-right: 13.54%;
}

.sns-slider-group {
    flex: 1;
    gap: 0 18px;
    display: flex;
}

#main-content .sec-4 .sns-slide .badge.ytb i {
    background: url(../images/common/sns_youtube.svg);
    background-size: 100% auto;
}

.hotp-slide .swiper-slide::after {
    top: 0;
    display: none;
}

#header .top .link-list {
    gap: 0 20px;
}

#header .top .link-list li {
    display: flex;
    align-items: center;
}

.log-list {
    margin-left: 24px;
}

.bf-logo {
    padding: 4px 8px;
    border-radius: 10px;
    border: 1px solid var(--line);
    height: 50px;
    display: flex;
    align-items: center;
    margin-left: 12px;
    margin-right: auto;
    img {
        height: 30px;
    }
}

#main-content .sec-1 .ayo-box {
    position: absolute;
    width: 344px;
    aspect-ratio: 344 / 406;
    height: auto;
    top: 250px;
    right: 12%;
    z-index: 8;
}

.message-inner {
    position: relative;
    height: 100%;
}

.ayo-box .message-box {
    position: absolute;
    left: 0;
    top: 0;
    min-height: 115px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: 44px; /* 172% */
    letter-spacing: -1.254px;
    border-radius: 12px;
    background: linear-gradient(98deg, #7BC029 10.98%, #FE9C19 85.7%);
}

.ayo-box .yo-img{
    top: auto !important;
    bottom: 55px !important;
}

.tour-slide .tag {
    display: flex;
    gap: 0 10px;
}
.tour-slide .tag img {
    width: 35px;
}

.tour-slide  .place {
    display: flex;
    gap: 0 10px;
    margin-bottom: 10px;
}

.tour-slide .place li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--white);
    color: var(--black);
    font-size: 13px;
    font-family: "GmarketSansMedium", sans-serif;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.vs-area .cbox {
    padding-top: 50px
}

.panel-logo {
    display: flex;
    gap: 15px;
}

.panel-logo .logo {
    opacity: .3;
}

.panel-logo .logo.active {
    opacity: 1;
}

#header .bottom .logo a {
    color: #999999;
}

#header .bottom .logo a.active {
    color: #2c1365;
}

#header .bottom .gnb>ul.access-menu {
    gap: 30px;
}