@charset "utf-8";

/* ===========================
   m_index.css — 모바일 메인 페이지 전용
   공통: general.css (변수·리셋) + layout_ver02.css (헤더·푸터)
   =========================== */


/* =====================================================
   Reservation Bar (Mobile)
   ===================================================== */
.reser-bar {
    width: 100%;
    background-color: transparent;
}
.reser-bar__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 12px 12px 12px;
    background-color: var(--gray-5);
    box-sizing: border-box;
}
.reser-bar__box {
    display: flex;
    align-items: center;
    height: 47px;
    padding: 0 16px;
    gap: 8px;
    background-color: var(--gray-0);
    border: 1px solid var(--gray-10);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.4s ease;
    width: 100%;
    box-sizing: border-box;
}
.reser-bar__box.updated {
    background-color: rgba(130, 100, 180, 0.06);
    border-color: #8264b4;
}
.reser-bar__box:active {
    border-color: var(--main);
}
.reser-bar__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--main);
}
.reser-bar__text {
    flex: 1;
    min-width: 0;
    font-weight: 400;
    font-size: var(--label-small);
    line-height: 150%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.reser-bar__text--placeholder {
    color: var(--gray-40);
}
.reser-bar__text--value {
    color: var(--gray-95);
}
.reser-bar__search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 47px;
    background-color: var(--main);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 400;
    font-size: var(--label-small);
    line-height: 150%;
    color: var(--gray-0);
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.reser-bar__search-btn:active {
    background-color: var(--main-hover);
}


/* =====================================================
   Event Banner Slider (Mobile)
   ===================================================== */
.event_slider {
    width: 100%;
    background-color: var(--gray-5);
    padding: 16px 0;
}
.event_slider__inner {
    position: relative;
    padding: 0 16px;
}
.event_slider__container {
    overflow: hidden;
    border-radius: var(--radius-xl);
}
.event_slider__slide {
    width: 100%;
    height: 180px;
    flex-shrink: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}
.event_slider__slide_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.event_slider__slide_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}
.event_slider__slide_content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding: 24px;
}
.event_slider__slide_title {
    font-weight: 700;
    font-size: var(--heading-medium);
    line-height: 133.4%;
    letter-spacing: -0.5px;
    color: var(--gray-0);
    white-space: pre-line;
    margin: 0;
}
.event_slider__slide_subtitle {
    margin: 6px 0 0;
    font-weight: 400;
    font-size: var(--body-small);
    line-height: 150%;
    color: var(--gray-0);
    opacity: 0.9;
    white-space: pre-line;
}
a.event_slider__slide {
    text-decoration: none;
    color: inherit;
}

/* 배너 없을 때 플레이스홀더 */
.event_slider__placeholder {
    width: 100%;
    height: 180px;
    background-color: var(--gray-10);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gray-40);
    box-sizing: border-box;
}
.event_slider__placeholder_icon {
    width: 44px;
    height: 44px;
}
.event_slider__placeholder_text {
    margin: 0;
    font-weight: 500;
    font-size: var(--body-medium);
    color: var(--gray-50);
}

/* Pagination */
.event_slider__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}
.event_slider__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--gray-20);
    opacity: 1;
    margin: 0 !important;
    transition: all 0.3s ease;
}
.event_slider__pagination .swiper-pagination-bullet-active {
    width: 21px;
    height: 8px;
    border-radius: 200px;
    background-color: var(--main);
}


/* =====================================================
   Region Selection (Mobile)
   ===================================================== */
.region_select {
    width: 100%;
    background-color: var(--gray-0);
    padding: 20px 0;
}
.region_select__inner {
    padding: 0 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.region_select__inner::-webkit-scrollbar {
    display: none;
}
.region_select__list {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}
.region_select__list::after {
    content: '';
    flex-shrink: 0;
    width: 16px;
}
.region_select__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}
.region_select__img_wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    flex-shrink: 0;
    margin: 0;
}
.region_select__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.region_select__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-10);
    border-radius: var(--radius-xl);
}
.region_select__name {
    font-weight: 500;
    font-size: 13px;
    line-height: 146.7%;
    color: var(--gray-95);
    text-align: center;
    white-space: nowrap;
}


/* =====================================================
   Popular Accommodations (Mobile)
   ===================================================== */
.popular_accom {
    width: 100%;
    background-color: var(--gray-0);
    padding: 28px 0 40px;
}
.popular_accom__inner {
    padding: 0 16px;
}
.popular_accom__title {
    font-weight: 700;
    font-size: var(--heading-small);
    line-height: 150%;
    color: var(
    --gray-95);
    margin: 0 0 16px 0;
}
.popular_accom__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.popular_accom__card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}
.popular_accom__img_wrap {
    position: relative;
    width: 140px;
    height: 120px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    margin: 0;
}
.popular_accom__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.popular_accom__badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 0;
    background-color: rgba(92, 32, 146, 0.8);
    font-weight: 700;
    font-size: var(--body-xsmall);
    line-height: 150%;
    color: var(--gray-0);
    text-align: center;
}
.popular_accom__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    padding: 4px 0;
    height: 130px;
    height: 120px;
}
.popular_accom__location {
    font-weight: 400;
    font-size: var(--label-xsmall);
    line-height: 150%;
    color: var(--gray-95);
}
.popular_accom__name {
    font-weight: 700;
    font-size: var(--body-small);
    line-height: 150%;
    color: var(--gray-95);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.popular_accom__price_wrap {
    display: flex;
    flex-direction: column;
}
.popular_accom__price_original {
    font-weight: 400;
    font-size: 13px;
    color: var(--gray-70);
    text-decoration: line-through;
}
.popular_accom__price_discount {
    font-weight: 600;
    font-size: 20px;
    color: var(--gray-95);
}
.popular_accom__price_discount_s {
    font-size: 15px;
}


/* =====================================================
   Popup (기존 유지)
   ===================================================== */
.popup_box {
    position: absolute;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    z-index: 3001;
    overflow: hidden;
}
.popup_box .title {
    padding: 12px 16px;
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-95);
    border-bottom: 1px solid var(--gray-10);
}
.popup_box .view img {
    width: 100%;
    height: auto;
    display: block;
}
.popup_box .bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid var(--gray-10);
}
.popup_box .chk {
    font-size: 12px;
    color: var(--gray-50);
}
.popup_box .close {
    cursor: pointer;
}
.popup_box .close_txt {
    font-size: 13px;
    color: var(--gray-50);
    cursor: pointer;
}
