#sit_ov_from {
    padding-top: 30px;
    border: none;
}

body {
    overflow: visible !important;
}

#sct_location {
    display: none !important;
}

/* --- [기본 스타일 변수] --- */
:root {
    --point-color: #6200ea;
    --bg-gray: #f8f9fa;
    --text-dark: #111;
    --border-color: #ddd;
    --background-color: #f3e5f5;
}

/* 1. 레이아웃 래퍼 설정 (수정) */
#sit_ov_wrap {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 60px;
    position: relative;
    align-items: start;
}

/* 2. 좌측 이미지 영역 (Sticky 적용) */
#sit_pvi {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;

    /* 그리드 1fr 열이 큰 이미지 intrinsic 폭에 끌려가지 않도록 (premium/class 스킨과 동일) */
    min-width: 0;

    /* [핵심 3] Sticky 선언 */
    position: -webkit-sticky;
    position: sticky;

    /* 헤더 높이(약 100px)를 고려하여 여백을 줍니다. 
           헤더와 딱 붙는게 싫으시면 110~120px 정도로 조정하세요. */
    top: 110px;

    /* [핵심 4] 높이는 콘텐츠만큼만 차지해야 합니다. */
    height: fit-content;

    /* 그리드 내에서 스스로 상단 정렬 (이중 안전장치) */
    align-self: start;

    z-index: 10;
}

#sit_pvi_big {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

#sit_pvi_big a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    background: #fff;
}

#sit_pvi_big a.visible {
    opacity: 1;
    z-index: 2;
}

#sit_pvi_big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#sit_pvi_thumb {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

#sit_pvi_thumb li {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    outline: 2px solid transparent;
    cursor: pointer;
}

#sit_pvi_thumb li:hover,
#sit_pvi_thumb li.active {
    outline-color: var(--point-color);
    outline-width: 2px;
}

#sit_pvi_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* [핵심 5] 우측 영역 스타일 보강 */
#sit_ov {
    padding: 0 !important;
    min-height: auto !important;
    position: relative;
    min-width: 0;
    /* 우측 영역은 sticky가 아니므로 기본값 유지 */
}


.header_action_group {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 10px;
    z-index: 10;
}

/* [수정] 찜/공유 버튼 스타일 (둥근 네모) */
.btn_icon_action {
    width: 40px;
    /* 기존 36px -> 40px로 살짝 확대 (시안 비율 맞춤) */
    height: 40px;
    border: 1px solid #333;
    /* 테두리 색상 - 검정색 */
    border-radius: 10px;
    /* [핵심] 50% -> 10px로 변경하여 둥근 네모 만들기 */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    /* 아이콘 기본 색상 (검정색) */
    font-size: 18px;
    /* 아이콘 크기 */
    cursor: pointer;
    transition: all 0.2s;
}

/* 찜 활성화 상태 (하트 눌렀을 때) */
.btn_icon_action.active {
    border-color: #333;
    /* 테두리 색상 유지 */
    color: #643fce;
    /* 아이콘 색상 - 보라색으로 채워짐 */
    background: #fff;
}

.sns_area {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.vi_badge {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 15px;
    margin-right: 5px;
    background: #e8f5e9;
    color: #2e7d32;
    display: flex;
    align-items: center;
}

.price_area {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

.price_area .discount_rate {
    font-size: 24px;
    font-weight: 700;
    color: #F20000;
    margin-right: 14px;
}

.price_area .sit_tot_price {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}
.price_area .sit_tot_price span {
    font-size: 22px;
    font-weight: 400;
    color: #000;
}
.price_area .sit_cust_price {
    text-decoration: line-through;
    color: #bbb;
    margin-left: 12px;
    font-size: 16px;
}

.shipping-cost-area {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.shipping-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.shipping-colon {
    font-size: 14px;
    color: #333;
    padding: 0 6px;
}

.shipping-value {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.shipping-price {
    font-weight: 600;
    color: #333;
}

.shipping-sep {
    color: #ccc;
    font-weight: 400;
}

.shipping-desc {
    font-weight: 500;
    color: #555;
}

.shipping-value.free {
    color: #555;
}

.shipping-value.paid {
    color: #555;
}

/* --- [1. 라디오 버튼 리스트] --- */
.custom_radio_wrap {
    margin-bottom: 20px;
    border-radius: 8px;
}

.radio_box {
    position: relative;
    border-bottom: 1px solid #eee;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.custom_radio_wrap .radio_box:last-child {
    border-bottom: none;
}

.radio_box:hover {
    background-color: #f9f9f9;
}

.radio_box.active {
    background-color: transparent;
}

/* 라디오 원형 아이콘 */
.radio_visual {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    position: relative;
}

.radio_box.active .radio_visual {
    border-color: var(--point-color);
}

.radio_box.active .radio_visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--point-color);
    border-radius: 50%;
}

/* 텍스트 정보 (개수 | 가격 | 할인율) */
.radio_info {
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.r_count {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-right: 20px;
    min-width: 40px;
}

.r_price {
    font-size: 18px;
    font-weight: 800;
    color: #111;
    margin-right: 12px;
}

.r_discount {
    font-size: 13px;
    color: #666;
    font-weight: normal;
}

/* 원래 Select 숨김 */
.sit_option {
    display: none !important;
}

/* 추가 옵션 셀렉트 */
.custom_supply_wrap {
    margin-bottom: 20px;
}

.custom_supply_wrap select {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 15px;
    font-size: 14px;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 15px center;
    cursor: pointer;
}

.custom_supply_wrap select:focus {
    border-color: var(--point-color);
    outline: none;
}

/* --- [2. 선택된 옵션 박스 (시안 완벽 적용)] --- */
#sit_sel_option {
    width: 100%;
    margin-bottom: 30px;
}

#sit_opt_added {
    padding: 0;
    margin: 0;
}

.rebuilt_li {
    background: var(--bg-gray);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    list-style: none;
}

/* 상단: 이름 + X버튼 */
.opt_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.opt_name {
    font-weight: bold;
    font-size: 15px;
    color: #333;
    line-height: 1.4;
    width: 90%;
    word-break: break-all;
}

/* X버튼 */
.btn_opt_del {
    position: relative !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    opacity: 0.5 !important;
    padding: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    font-size: 0 !important;
}

.btn_opt_del::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") no-repeat center center;
}

.btn_opt_del:hover {
    opacity: 1;
}

/* 하단: 수량 + 총액 */
.opt_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* [핵심] 수량 조절 박스 (완벽한 일체형) */
/* 컨테이너 */
#sit_opt_added .qty_box {
    display: inline-flex !important;
    align-items: center !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    /* 전체 테두리 */
    border-radius: 4px !important;
    /* 둥근 모서리 */
    height: 34px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    gap: 0 !important;
    /* 간격 제거 */
}

/* 버튼 */
#sit_opt_added .qty_box button {
    width: 34px !important;
    height: 100% !important;
    min-width: 34px !important;
    border: none !important;
    /* 개별 테두리 제거 */
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    position: relative !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    font-size: 0 !important;
    box-shadow: none !important;
}

/* 아이콘 */
#sit_opt_added .qty_box button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'FontAwesome';
    font-size: 11px;
    color: #555;
    text-indent: 0;
    line-height: 1;
}

#sit_opt_added .qty_box button.qty_plus::after {
    content: '\f067';
}

#sit_opt_added .qty_box button.qty_minus::after {
    content: '\f068';
}

#sit_opt_added .qty_box button:hover {
    background: #f9f9f9 !important;
}

/* 입력창 (가운데) - 좌우 선만 존재 */
#sit_opt_added .qty_box input {
    width: 44px !important;
    height: 100% !important;
    min-width: 44px !important;
    border: none !important;
    border-left: 1px solid #eee !important;
    /* 칸막이 */
    border-right: 1px solid #eee !important;
    /* 칸막이 */
    border-radius: 0 !important;
    background: #fff !important;
    text-align: center !important;
    font-weight: bold !important;
    font-size: 14px !important;
    color: #333 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.row_total_price {
    font-size: 18px;
    font-weight: 800;
    color: #333;
}

/* 총 결제 금액 */
.total_price_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
}

    .total_price_wrap span {
        font-size: 22px;
        font-weight: 400;
        color: #000;
    }


.total_price_wrap strong {
    font-size: 30px;
    font-weight: 900;
    color: var(--text-dark);
}

/* 버튼 */
#sit_ov_btn {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

#sit_ov_btn button {
    flex: 1;
    height: 56px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.sit_btn_cart {
    background: #fff !important;
    border: 1px solid var(--point-color) !important;
    color: var(--point-color) !important;
}

.sit_btn_buy {
    background: var(--point-color) !important;
    border: 1px solid var(--point-color) !important;
    color: #fff !important;
}


/* --- [레이아웃 정렬 수정] --- */

/* 왼쪽 경로 스타일 */
.nav_path_left {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    /* 이미지와의 간격 */
    text-align: left;
    /* 왼쪽 정렬 */
}

.nav_path_left span {
    margin: 0 4px;
    color: #ccc;
}

/* 오른쪽 배지 스타일 */
.vi_category_wrap {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
    /* 제목과의 간격 */
    justify-content: flex-start;
    /* 왼쪽 정렬 */
}

/* (중요) 양쪽 높이 균형 맞추기 */
/* 왼쪽 경로와 오른쪽 배지가 같은 높이 선상에 있게 하려면 상단 여백이 없거나 같아야 합니다. */
#sit_pvi,
#sit_ov {
    padding-top: 0 !important;
}

.badge_green {
    background: #e8f5e9;
    color: #2e7d32;
}

/* 과학 등 */
.badge_red {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffe0b2;
}

/* 교육부 승인 등 */
.badge_purple {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* 에듀파인 호환 등 */

/* 장소 배지 */
.location-badge {
    background-color: #f3f4f6;
    color: #1f2937;
    border-radius: 4px;
    padding: 8px 12px;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
}

/* 2. 타이틀 및 공유 버튼 */
.title_area {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    margin-bottom: 15px;
}

#sit_title {
    font-size: 28px;
    font-weight: 800;
    color: #000;
    margin: 0;
    line-height: 1.4;
    padding-right: 46px;
    word-break: keep-all;
}

    .header_action_group {
        position: relative;
        display: flex;
        gap: 8px;
        z-index: 10;
    }
/* 3. 크리에이터 프로필 & 상세 버튼 */
.creator_row {
    display: flex;
    align-items: center;
}

.creator_row img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
}

.creator_img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
}

.creator_name {
    font-weight: 700;
    font-size: 18px;
    color: #000;
    margin-right: 6px;
}

.creator_tag {
    font-size: 18px;
    color: #666;
    padding-right:16px;
    border-radius: 4px;
}

.btn_creator_info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    text-decoration: none;
}

.btn_creator_info:hover {
    background: #f9f9f9;
    color: #333;
}

/* 4. 별점 및 리뷰 */
.star_score_area {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 15px;
}

.stars {
    color: #ffc107;
    font-size: 15px;
    letter-spacing: -1px;
}

.score_num {
    font-weight: 800;
    color: #111;
}

.score_max {
    color: #999;
    font-weight: normal;
}

.review_cnt {
    color: #777;
    font-size: 13px;
    padding: 0px;
}

   /* 5. 짧은 설명글 */
    .sit_desc {
        font-size: 18px;
        color: #555;
        line-height: 1.6;
        margin-bottom: 20px;
        word-break: keep-all;
        font-weight: 400;
    }




/* 6. 가격 영역 (기존 스타일 보강) */
.price_area {
    border-bottom: none;
    margin-bottom: 15px;
    padding-bottom: 0;
}

/* .price_area .sit_tot_price { font-size: 30px; } */

/* 7. 혜택 배너 (파란 박스) */
.benefit_box {
    background: #eef2ff;
    border-radius: 8px;
    padding: 14px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.benefit_badge {
    background: #4171F3;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    padding: 6px 10px;
    border-radius: 18px;
    white-space: nowrap;
}

.benefit_text {
    font-size: 16px;
    color: #000;
    font-weight: 400;
    line-height: 1.3;
}

/* [수정] 추천 콘텐츠 영역 (왼쪽 기둥 내부용) */
#sit_recommend {
    width: 100%;
    /* order 속성 삭제 (HTML 순서대로 배치됨) */
    display: flex;
    flex-direction: column;
}

.rec_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.rec_header h3 {
    font-size:20px;
    font-weight: 500;
    color: #000;
    margin: 0;
}

/* 리스트 스타일 (2x2 그리드) */
.rec_list {
    display: flex;
    gap: 13px;
    /* 사이 간격 */
}

.rec_list li {
    /* [핵심] 한 줄에 2개씩 배치 (50% - 간격 절반) */
    width: calc(25% - 8px);
    display: flex;
    flex-direction: column;
}

.rec_img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 7px;
    background: #f8f8f8;
    border: 1px solid #eee;
}

.rec_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.rec_img:hover img {
    transform: scale(1.05);
}

.rec_info .rtitle {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display:block;
}


.rec_info .rdesc {
    font-size: 13px;
    color: #000;
    margin-bottom: 6px;
    /* line-height: 1.3; */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    /* height: 1.3em; */
}

.rec_info .rprice {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 500;
}

.rec_info .rper {
    color: var(--point-color);
}


/* --- [추가] 체험 정보 테이블 --- */
.info-table {
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    width: 100px;
    font-weight: 700;
    color: #333;
    font-size: 14px;
    flex-shrink: 0;
}

.info-value {
    flex: 1;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* --- [추가] 예약 시스템 --- */
.reservation-section {
    margin-bottom: 30px;
}

.reservation-section h3 {
    font-size: 16px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
}

/* 날짜 선택 */
.reservation-item {
    margin-bottom: 20px;
}

.reservation-item label {
    display: block;
    font-weight: 700;
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
}

.reservation-item .reservation-step-guide {
    margin: 0 0 10px;
    font-size: 13px;
    color: #888;
    line-height: 1.45;
}

.reservation-item.reservation-step-locked {
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
}

.reservation-item.reservation-step-locked .date-input {
    cursor: not-allowed;
    background: #f5f5f5;
}

.reservation-item .experience-time-slot-guide {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 500;
    color: #222;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

.date-input-wrapper {
    position: relative;
}

.date-input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    background: #fff;
}

.date-input:focus {
    border-color: var(--point-color);
    outline: none;
}

/* 달력 모달 */
.calendar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.calendar-modal.active {
    display: flex;
}

.calendar-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.calendar-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 24px;
    color: #999;
}

.calendar-modal-close:hover {
    color: #333;
}

/* 달력 섹션 */
.calendar-section {
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.calendar-nav {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.calendar-nav:hover {
    border-color: var(--point-color);
    color: var(--point-color);
}

.calendar-nav.disabled {
    background: #f5f5f5;
    color: #ccc;
    border-color: #e0e0e0;
}

.calendar-nav.disabled:hover {
    border-color: #e0e0e0;
    color: #ccc;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day {
    position: relative;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex-direction: column;
}

.calendar-day .day-number {
    color: inherit;
    font-weight: 600;
}

.calendar-day.header {
    background: transparent;
    border: none;
    font-size: 14px;
    color: #999;
    cursor: default;
    font-weight: 700;
}

.calendar-day.header.sunday {
    color: #e74c3c;
}

.calendar-day.header.saturday {
    color: #3498db;
}

.calendar-day.sunday .day-number {
    color: #e74c3c;
}

.calendar-day.saturday .day-number {
    color: #3498db;
}

.calendar-day.available {
    border: none;
    background: #f9fafb;
}

.calendar-day.available:hover {
    background: #e3f2fd;
}

.calendar-day.disabled {
    background: transparent;
    border: none;
    color: #ccc;
}

.calendar-day.disabled.sunday .day-number {
    color: rgba(231, 76, 60, 0.3);
}

.calendar-day.disabled.saturday .day-number {
    color: rgba(52, 152, 219, 0.3);
}

.calendar-day.available {
    border-color: var(--point-color);
    color: #333;
}

.calendar-day.available:hover {
    background: #f0f0f0;
    border-color: var(--point-color);
}

.calendar-day.available.selected {
    background: var(--point-color);
    color: #fff;
    border-color: var(--point-color);
}

.available-badge {
    font-size: 12px;
    background: transparent;
    color: var(--point-color);
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.1;
}

.calendar-day.available.selected .available-badge {
    background: transparent;
    color: #fff;
}

.closed-badge {
    font-size: 12px;
    background: transparent;
    color: #ccc;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 600;
}

.holiday-badge {
    font-size: 12px;
    background: transparent;
    color: #9ca3af;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 600;
}

.calendar-day.holiday.disabled .day-number {
    color: #9ca3af;
}

/* 시간대 선택 — 체험 검색(experience/index) time-badge-grid와 동일 */
.time-slots,
#time-slots-container {
    display: block;
}

.time-slots-placeholder {
    margin: 0;
    padding: 14px 12px;
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
    border-radius: 8px;
}

#time-slots-container .time-badge-grid {
    --time-badge-start: var(--point-color, #7a04ff);
    --time-badge-end: #ea580c;
    --time-badge-start-soft: #f5f0ff;
    --time-badge-start-border: #d4b8ff;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

#time-slots-container .time-badge-cell {
    position: relative;
    min-width: 0;
}

#time-slots-container .time-badge-cell .time-badge.time-slot {
    width: 100%;
    box-sizing: border-box;
}

#time-slots-container .time-badge.time-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-sizing: border-box;
    min-height: 44px;
    padding: 8px 4px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    color: #222;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease, border-width 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

#time-slots-container .time-badge.time-slot:hover:not(.disabled):not(.selected) {
    border-color: #222;
    background: #f7f7f7;
}

/* 라스트오더 슬롯(운영 마감까지 이어지는 마지막 칸) — 시간 라벨·테두리만 구분 */
#time-slots-container .time-badge.time-slot.last-order-slot:not(.disabled):not(.range-start):not(.range-end):not(.range-single):not(.in-range) {
    border-color: #7dd3fc;
    background: #f0f9ff;
    color: #0369a1;
}

#time-slots-container .time-badge.time-slot.last-order-slot:not(.disabled):not(.range-start):not(.range-end):not(.range-single):not(.in-range):hover {
    border-color: #38bdf8;
    background: #e0f2fe;
    color: #075985;
}

#time-slots-container .time-badge.time-slot.last-order-slot .time-badge-label {
    color: inherit;
}

#time-slots-container .time-badge-cell--last-order .time-slot-last-order-help {
    position: absolute;
    top: 3px;
    right: 3px;
    z-index: 2;
    line-height: 0;
}

#time-slots-container .time-slot-last-order-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 1px solid #7dd3fc;
    border-radius: 50%;
    background: #fff;
    color: #0369a1;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: help;
}

#time-slots-container .time-slot-last-order-help-btn:hover,
#time-slots-container .time-slot-last-order-help-btn:focus-visible {
    border-color: #38bdf8;
    background: #e0f2fe;
    color: #075985;
    outline: none;
}

#time-slots-container .time-slot-last-order-help-tooltip {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 40;
    width: max(200px, 14em);
    max-width: min(260px, calc(100vw - 24px));
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    color: #374151;
    letter-spacing: -0.01em;
    text-align: left;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

#time-slots-container .time-slot-last-order-help:hover .time-slot-last-order-help-tooltip,
#time-slots-container .time-slot-last-order-help:focus-within .time-slot-last-order-help-tooltip {
    opacity: 1;
    visibility: visible;
}

#time-slots-container .time-badge.time-slot.range-start {
    border-color: var(--time-badge-start);
    background: var(--time-badge-start);
    color: #fff;
}

#time-slots-container .time-badge.time-slot.range-end {
    border-color: var(--time-badge-end);
    background: var(--time-badge-end);
    color: #fff;
}

/* 같은 시간대 1칸만 선택: 배경 보라, 테두리 주황 6px (border-box — 격자 칸 크기 유지) */
#time-slots-container .time-badge.time-slot.range-single.selected,
#time-slots-container .time-badge.time-slot.range-single {
    border: 6px solid var(--time-badge-end);
    background: var(--time-badge-start);
    color: #fff;
    outline: none;
}

#time-slots-container .time-badge.time-slot.in-range {
    border-color: #d1d5db;
    background: #f3f4f6;
    color: #4b5563;
    font-weight: 600;
}

#time-slots-container .time-badge.time-slot.range-start .booked-info,
#time-slots-container .time-badge.time-slot.range-end .booked-info,
#time-slots-container .time-badge.time-slot.range-single .booked-info {
    color: rgba(255, 255, 255, 0.85);
}

#time-slots-container .time-badge.time-slot.range-pick-disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.4;
}

#time-slots-container .time-badge.time-slot.disabled {
    cursor: not-allowed;
    pointer-events: none;
    border-color: var(--time-badge-start-border);
    background: var(--time-badge-start-soft);
    color: var(--time-badge-start);
    opacity: 0.55;
}

#time-slots-container .time-badge.time-slot.time-blocked.disabled {
    border-color: #e5e7eb;
    background: #f3f4f6;
    color: #9ca3af;
    opacity: 1;
}

#time-slots-container .time-badge.time-slot.time-blocked .booked-info {
    color: #9ca3af;
    font-weight: 600;
}

#time-slots-container .time-badge-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

#time-slots-container .time-badge.time-slot .booked-info {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #9ca3af;
    line-height: 1.2;
}

/* 예약 시간 범위 요약 (체험 검색 time-range-fields와 동일) */
.experience-reservation-time-range.time-range-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding: 14px 0 0;
    border: none;
    border-top: 1px solid #ebebeb;
    border-radius: 0;
}

.experience-reservation-time-range.time-range-fields * {
    cursor: default;
}

.experience-reservation-time-range .time-range-summary-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.experience-reservation-time-range .time-range-field {
    --time-range-accent: var(--point-color, #7a04ff);
    --time-range-accent-soft: #f5f0ff;
    --time-range-accent-border: #d4b8ff;
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 4px 0;
    background: none;
    border: none;
    box-shadow: none;
}

.experience-reservation-time-range .time-range-field--start {
    --time-range-accent: var(--point-color, #7a04ff);
    --time-range-accent-soft: #f5f0ff;
    --time-range-accent-border: #d4b8ff;
}

.experience-reservation-time-range .time-range-field--end {
    --time-range-accent: #ea580c;
    --time-range-accent-soft: #fff7ed;
    --time-range-accent-border: #fdba74;
}

.experience-reservation-time-range .time-range-key {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 76px;
    flex-shrink: 0;
}

.experience-reservation-time-range .time-range-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.experience-reservation-time-range .time-range-dot--start {
    background: var(--point-color, #7a04ff);
}

.experience-reservation-time-range .time-range-dot--end {
    background: #ea580c;
}

.experience-reservation-time-range .time-range-key-text {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--time-range-accent);
}

.experience-reservation-time-range .time-range-input {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    padding: 0;
    border: none;
    background: transparent;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
    text-align: right;
    outline: none;
    cursor: default;
}

.experience-reservation-time-range .time-range-input::placeholder {
    color: #c4c4c4;
    font-weight: 500;
    font-size: 13px;
}

.experience-reservation-time-range .time-range-field--start .time-range-input:not(:placeholder-shown) {
    color: var(--point-color, #7a04ff);
}

.experience-reservation-time-range .time-range-field--end .time-range-input:not(:placeholder-shown) {
    color: #ea580c;
}

.experience-reservation-time-range .time-range-guide {
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: #222;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

/* [주석] 이전 분산된 반응형 쿼리들은 파일 끝의 통합 반응형 섹션으로 이동함 */
/* sit_ov 우측 영역 반응형 */
#sit_ov {
    padding: 0 !important;
}

/* 라디오 박스 태블릿 */
.custom_radio_wrap {
    margin-bottom: 18px;
}

.radio_box {
    padding: 14px 16px;
}

.radio_visual {
    width: 18px;
    height: 18px;
    margin-right: 12px;
}

.radio_info {
    flex-direction: column;
    gap: 4px;
}

.r_count {
    font-size: 15px;
    margin-right: 0;
}

.r_price {
    font-size: 16px;
    margin-right: 0;
}

.r_discount {
    font-size: 12px;
}

/* 옵션 선택 박스 태블릿 */
.custom_supply_wrap select {
    height: 45px;
    font-size: 13px;
    padding: 0 12px;
}

/* 선택된 옵션 태블릿 */
.rebuilt_li {
    padding: 16px;
    gap: 12px;
}

.opt_name {
    font-size: 14px;
}

#sit_opt_added .qty_box {
    height: 32px !important;
}

#sit_opt_added .qty_box button {
    width: 32px !important;
}

#sit_opt_added .qty_box input {
    width: 40px !important;
    font-size: 13px !important;
}

.row_total_price {
    font-size: 16px;
}

/* 총 가격 태블릿 */
.total_price_wrap {
    margin-top: 25px;
    padding-top: 15px;
}
/* 
.total_price_wrap span {
    font-size: 15px;
} */

.total_price_wrap strong {
    font-size: 28px;
}

/* 버튼 영역 태블릿 */
#sit_ov_btn {
    margin-top: 25px;
    gap: 8px;
}

#sit_ov_btn button {
    height: 50px;
    font-size: 16px;
}

/* [수정] 추천 콘텐츠 네비게이션 (rec_nav) - 29563b.png 스타일 */
.rec_nav {
    display: flex;
    align-items: center;
    border: 1px solid #dcdcdc;
    /* 전체 회색 테두리 */
    border-radius: 4px;
    /* 모서리 둥글게 */
    background: #fff;
    overflow: hidden;
    /* 내부 버튼이 둥근 모서리를 넘지 않게 */
}

.rec_nav button {
    width: 35px;
    height: 30px;
    /* 버튼 크기 */
    border: none;
    /* 버튼 자체 테두리 제거 */
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    /* 화살표 색상 */
    padding: 0;
    margin: 0;
    transition: background 0.2s, color 0.2s;
}

/* FontAwesome 아이콘 크기 미세 조정 */
.rec_nav button i {
    font-size: 14px;
}

/* [핵심] 첫 번째 버튼 우측에 구분선 추가 */
.rec_nav button:first-child {
    border-right: 1px solid #dcdcdc;
}

/* 마우스 올렸을 때 효과 */
.rec_nav button:hover {
    background: #f5f5f5;
    color: #333;
}










/* 인원 선택 */
.people-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.people-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.people-btn:hover {
    border-color: var(--point-color);
    color: var(--point-color);
}

.people-input {
    width: 60px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    padding: 0;
    box-sizing: border-box;
}

.people-input:focus {
    border-color: var(--point-color);
    outline: none;
}

.review_item.empty {
    font-size: 16px;
}

/* item.form.responsive.css로 반응형 스타일 분리 */

/* === Demographic Pricing Styles === */
.demographic-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.demographic-inputs>div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demographic-inputs label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.demographic-inputs>div>div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.demographic-price {
    font-size: 12px;
    color: #999;
    min-width: 50px;
    text-align: right;
}

.demographic-price.highlighted {
    color: #6200ea;
    font-weight: 500;
}

.total-people-display {
    text-align: center;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 15px;
}

.total-people-display span {
    font-size: 14px;
}

.total-people-display strong {
    color: #6200ea;
    font-weight: 600;
}



/* === 체험공간 옵션 선택 스타일 === */
.experience-option-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.experience-option-label {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.experience-option-label:hover {
    border-color: #6200ea;
    background: #f5f5f5;
}

.experience-option-label input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.experience-option-label input[type="radio"]:checked+.option_text {
    color: #6200ea;
    font-weight: 600;
}

.experience-option-label input[type="radio"]:checked {
    accent-color: #6200ea;
}

.experience-option-label .option_text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.experience-option-label .option_price {
    font-size: 12px;
    color: #6200ea;
    font-weight: 500;
    margin-left: auto;
}

.experience-option-label.selected {
    border-color: #6200ea;
    background: #f3e5f5;
}

/* ============ 인구통계별 인원 선택기 스타일 ============ */
.demographic-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demographic-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.demographic-row:hover {
    border-color: #6200ea;
    background: #f5f5f5;
}

.demographic-label {
    min-width: 60px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.demographic-control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.demographic-control .qty-minus,
.demographic-control .qty-plus {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.demographic-control .qty-minus:hover,
.demographic-control .qty-plus:hover {
    border-color: #6200ea;
    color: #6200ea;
    background: #f5f5f5;
}

.demographic-control .qty-minus:active,
.demographic-control .qty-plus:active {
    background: #f0f0f0;
}

.demographic-qty {
    width: 45px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.demographic-qty:focus {
    outline: none;
    border-color: #6200ea;
    box-shadow: 0 0 0 2px rgba(98, 0, 234, 0.1);
}

.demographic-price {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.demographic-price .qty-display {
    font-weight: 600;
    color: #6200ea;
}

.demographic-apply-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

.demographic-apply-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.demographic-apply-status {
    margin: 0;
    font-size: 13px;
    color: #888;
    flex: 1;
}

.demographic-apply-status.is-applied {
    color: #6200ea;
    font-weight: 600;
}

.demographic-apply-btn {
    min-width: 88px;
    height: 40px;
    padding: 0 20px;
    border: none;
    border-radius: 6px;
    background: #6200ea;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.demographic-apply-btn:hover:not(:disabled) {
    background: #5000c0;
}

.demographic-apply-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.demographic-apply-btn.is-applied {
    background: #e8eaf6;
    color: #6200ea;
    border: 1px solid #ce93d8;
}

.demographic-change-btn {
    min-width: 72px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.demographic-change-btn:hover {
    border-color: #6200ea;
    color: #6200ea;
}

.demographic-change-btn[hidden] {
    display: none;
}

/* 인원 확인 rwSwal */
.swal2-popup.sit-swal-people-popup .swal2-html-container {
    margin: 0;
    padding: 0 0.25em;
    text-align: center;
}

.sit-swal-people-text {
    margin: 0;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

.sit-swal-people-text strong {
    color: #6200ea;
    font-weight: 700;
}

.sit-swal-people-lead {
    margin: 0 0 12px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.sit-swal-people-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 12px 14px;
    background: #f8f7fc;
    border: 1px solid #ebe5ff;
    border-radius: 10px;
    text-align: left;
}

.sit-swal-people-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: #333;
}

.sit-swal-people-item + .sit-swal-people-item {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e5e0f5;
}

.sit-swal-people-label {
    font-weight: 600;
}

.sit-swal-people-qty {
    font-weight: 700;
    color: #6200ea;
}

.sit-swal-people-total {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.sit-swal-people-total strong {
    font-size: 16px;
    color: #6200ea;
}

/* 인원 범위 경고 메시지 */
.demographic-warning {
    font-size: 14px;
    margin-top: 8px;
}

.demographic-warning.min-warning {
    color: #f57c00;
}

.demographic-warning.max-warning {
    color: #d32f2f;
}
