.rv-head-sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0057b8;
    margin-bottom: 4px;
    text-transform: uppercase;
}

/* 단계 표시 */
.rv-steps {
    display: flex;
    align-items: center;
    margin: 28px 0 36px;
    flex-wrap: wrap;
    gap: 8px;
}
.rv-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border: 2px solid #dde3ef;
    border-radius: 10px;
    background: #f8faff;
    color: #bbb;
    min-width: 130px;
    transition: all 0.2s;
}
.rv-step.active {
    border-color: #0057b8;
    background: #e8f0fb;
    color: #0d2260;
    box-shadow: 0 2px 12px rgba(0,87,184,0.13);
}
.rv-step-ico { width: 44px; height: 44px; flex-shrink: 0; }
.rv-step-ico svg { width: 100%; height: 100%; }
.rv-step-text { display: flex; flex-direction: column; }
.rv-step-num { font-size: 11px; font-weight: 700; color: #bbb; }
.rv-step.active .rv-step-num { color: #0057b8; }
.rv-step-label { font-size: 13px; font-weight: 700; line-height: 1.4; }
.rv-step-arrow { color: #ccc; flex-shrink: 0; }
.rv-step-arrow svg { width: 20px; height: 20px; }

/* 패널 */
.rv-hide { display: none; }
.rv-panel-guide { font-size: 13px; color: #666; margin-bottom: 16px; }

/* 섹션바 */
.rv-section-bar {
    background: #0d2260;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    margin: 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 4px 4px 0 0;
}
.rv-section-bar-sub {
    background: #1a3a80;
    margin-top: 30px;
}

/* 공연정보 */
.rv-info-wrap {
    display: flex;
    border: 1px solid #dde3ef;
    border-top: none;
    border-radius: 0 0 4px 4px;
}
.rv-info-main { flex: 1; padding: 20px; }
.rv-show-title { font-size: 17px; font-weight: 800; color: #0d2260; margin-bottom: 16px; }
.rv-info-tbl { width: 100%; border-collapse: collapse; }
.rv-info-tbl th {
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #0057b8;
    padding: 8px 12px 8px 0;
    white-space: nowrap;
    width: 160px;
}
.rv-info-tbl td { font-size: 13px; color: #333; padding: 8px 0; }

.rv-select {
    height: 36px;
    padding: 0 12px;
    border: 1px solid #dde3ef;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    color: #333;
    background: #fff;
    min-width: 220px;
    outline: none;
    transition: border-color 0.2s;
}
.rv-select:focus { border-color: #0057b8; }
.rv-select-sm { min-width: 60px; }

.rv-ticket-r {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #0057b8;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
}
.rv-ticket-s {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #e53e3e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
}

.rv-info-notice {
    width: 300px;
    flex-shrink: 0;
    background: #f5f7fb;
    border-left: 1px solid #dde3ef;
    padding: 20px;
}
.rv-notice-title { font-size: 13px; font-weight: 800; color: #e53e3e; margin-bottom: 10px; }
.rv-notice-sub { font-size: 12px; font-weight: 700; color: #0d2260; margin: 8px 0 4px; }
.rv-notice-text { font-size: 12px; color: #666; line-height: 1.8; }

/* 좌석선택 버튼 */
.rv-btn-seat {
    height: 28px;
    padding: 0 14px;
    background: #f0a500;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}
.rv-btn-seat:hover { background: #d48f00; }

/* 좌석 테이블 */
.rv-seat-tbl-wrap {
    border: 1px solid #dde3ef;
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding-bottom: 14px;
}
.rv-seat-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.rv-seat-tbl thead tr { background: #0057b8; }
.rv-seat-tbl thead th { color: #fff; padding: 10px 14px; font-weight: 700; text-align: left; }
.rv-seat-tbl tbody td { padding: 12px 14px; border-bottom: 1px solid #f0f2f7; color: #333; }
.rv-seat-empty td { text-align: center; color: #aaa; padding: 50px 0 !important; }

.rv-del-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    color: #888;
    padding: 2px 6px;
    transition: all 0.15s;
}
.rv-del-btn:hover { border-color: #e53e3e; color: #e53e3e; }

.rv-total-price {
    text-align: right;
    font-size: 14px;
    color: #0057b8;
    font-weight: 800;
    padding: 12px 16px 0;
}

/* 할인정보 */
.rv-discount-wrap {
    border: 1px solid #dde3ef;
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding: 20px;
}
.rv-discount-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.rv-label { font-size: 13px; color: #333; white-space: nowrap; font-weight: 600; }
.rv-discount-info {
    font-size: 13px;
    color: #555;
    line-height: 2;
    margin-bottom: 14px;
    border-top: 1px dashed #dde3ef;
    padding-top: 14px;
}
.rv-discount-note p { font-size: 12px; color: #888; line-height: 1.9; }

/* 배송/결제 */
.rv-delivery-wrap {
    border: 1px solid #dde3ef;
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding: 20px;
    background: #fafbff;
}
.rv-delivery-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.rv-radio {
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.rv-radio input[type="radio"] { accent-color: #0057b8; }

/* 하단 버튼 */
.rv-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 36px 0 60px;
}
.rv-btn-cancel {
    height: 48px;
    padding: 0 36px;
    background: #f0f2f7;
    color: #555;
    border: 1px solid #dde3ef;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.rv-btn-cancel:hover { background: #e2e6ef; }
.rv-btn-next {
    height: 48px;
    padding: 0 40px;
    background: #0057b8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.rv-btn-next:hover { background: #0046a0; }

/* 예매완료 */
.rv-complete-box { text-align: center; padding: 60px 0 80px; }
.rv-complete-ico svg { width: 80px; height: 80px; }
.rv-complete-title { font-size: 24px; font-weight: 800; color: #0d2260; margin: 20px 0 10px; }
.rv-complete-sub { font-size: 14px; color: #888; margin-bottom: 30px; }
.rv-complete-btns { display: flex; gap: 12px; justify-content: center; }

/* ===== 좌석 모달 ===== */
.seat-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9000;
    align-items: center;
    justify-content: center;
}
.seat-modal-overlay.open { display: flex; }

.seat-modal {
    background: #fff;
    border-radius: 10px;
    width: 92vw;
    max-width: 860px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    overflow: hidden;
}

.seat-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #0d2260;
    color: #fff;
}
.seat-modal-head h3 { font-size: 16px; font-weight: 800; }
.seat-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.15s;
}
.seat-modal-close:hover { opacity: 1; }

.seat-modal-body { display: flex; flex: 1; overflow: hidden; }

.seat-modal-left {
    width: 200px;
    flex-shrink: 0;
    border-right: 1px solid #dde3ef;
    padding: 16px;
    overflow-y: auto;
    background: #f5f7fb;
}
.seat-info-title { font-size: 12px; font-weight: 800; color: #0057b8; margin: 0 0 6px; }
.seat-info-text {font-size: 12px;color: #555;line-height: 1.8;}
.seat-grade-block { margin-top: 16px; }
.seat-grade-tbl { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 6px; }
.seat-grade-tbl th { background: #e8f0fb; padding: 5px 6px; text-align: center; font-weight: 700; color: #0d2260; }
.seat-grade-tbl td { padding: 5px 6px; text-align: center; border-bottom: 1px solid #eef0f5; }

.seat-selected-block { margin-top: 16px; }
.seat-selected-list { min-height: 50px; margin: 6px 0; }
.seat-selected-empty { font-size: 11px; color: #bbb; }
.seat-selected-tag { font-size: 11px; color: #0057b8; font-weight: 700; line-height: 1.9; }
.seat-selected-tag span { color: #f0a500; }
.seat-selected-note { font-size: 10px; color: #999; line-height: 1.7; margin-top: 8px; }

.seat-modal-right {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.seat-stage-label { font-size: 12px; color: #888; margin-bottom: 6px; }
.seat-stage {
    width: 80%;
    max-width: 400px;
    height: 36px;
    background: linear-gradient(to bottom, #1a3a80, #0057b8);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    margin-bottom: 20px;
    letter-spacing: 4px;
}
.seat-floor {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}
.seat-floor-label {
    font-size: 12px;
    font-weight: 700;
    color: #0057b8;
    writing-mode: vertical-rl;
    padding-top: 4px;
    min-width: 16px;
}
.seat-section-wrap { display: flex; gap: 12px; flex-wrap: wrap; }
.seat-section { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.seat-col-label { font-size: 11px; color: #888; font-weight: 700; }
.seat-grid { display: grid; grid-template-columns: repeat(10, 14px); gap: 3px; }

.seat-btn {
    width: 14px;
    height: 14px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.15s, transform 0.1s;
}
.seat-btn:hover:not(:disabled) { opacity: 0.75; transform: scale(1.25); }
.seat-btn.r { background: #0057b8; }
.seat-btn.s { background: #e53e3e; }
.seat-btn.sold { background: #ccc; cursor: not-allowed; }
.seat-btn.chosen { background: #f0a500 !important; box-shadow: 0 0 0 2px #f0a500; }

.seat-legend {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    font-size: 12px;
    color: #555;
    align-items: center;
    flex-wrap: wrap;
}
.seat-legend span { display: flex; align-items: center; gap: 5px; }
.seat-dot, i.seat-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    font-style: normal;
}
.seat-dot.r, i.seat-dot.r { background: #0057b8; }
.seat-dot.s, i.seat-dot.s { background: #e53e3e; }
.seat-dot.sold, i.seat-dot.sold { background: #ccc; }
.seat-dot.chosen, i.seat-dot.chosen { background: #f0a500; }

.seat-modal-foot {
    padding: 14px 20px;
    border-top: 1px solid #dde3ef;
    display: flex;
    justify-content: center;
    gap: 12px;
    background: #f5f7fb;
}

/* 반응형 */
@media (max-width: 900px) {
    .rv-info-wrap { flex-direction: column; }
    .rv-info-notice { width: 100%; border-left: none; border-top: 1px solid #dde3ef; }
}
@media (max-width: 768px) {
    .rv-steps { gap: 6px; }
    .rv-step { min-width: 90px; padding: 10px 12px; }
    .rv-step-ico { width: 34px; height: 34px; }
    .rv-step-arrow { display: none; }
    .seat-modal-body { flex-direction: column; }
    .seat-modal-left { width: 100%; border-right: none; border-bottom: 1px solid #dde3ef; }
    .seat-grid { grid-template-columns: repeat(8, 14px); }
    .rv-btns { flex-direction: column; align-items: center; }
}
/* ===== 단계 표시 ===== */
.rv-steps {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 28px 0 36px;
    /* border: 2px solid #dde3ef; */
    border-radius: 8px;
    overflow: hidden;
}
.rv-step-arrow { display: none; }

.rv-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 12px;
    background: #f5f7fb;
    color: #bbb;
    flex: 1;
    border-right: 1px solid #dde3ef;
    transition: all 0.2s;
    min-width: 0;
}
.rv-step:last-child { border-right: none; }
.rv-step.active {
    background: #e8f0fb;
    color: #0d2260;
    border-bottom: 3px solid #0057b8;
}

.rv-step-ico { width: 40px; height: 40px; flex-shrink: 0; }
.rv-step-ico svg { width: 100%; height: 100%; }
.rv-step-text { display: flex; flex-direction: column; min-width: 0; }
.rv-step-num { font-size: 11px; font-weight: 700; color: #bbb; white-space: nowrap; }
.rv-step.active .rv-step-num { color: #0057b8; }
.rv-step-label { font-size: 13px; font-weight: 700; line-height: 1.4; word-break: keep-all; }

/* 태블릿: 아이콘 축소 */
@media (max-width: 900px) {
    .rv-step { gap: 8px; padding: 14px 8px; }
    .rv-step-ico { width: 32px; height: 32px; }
    .rv-step-label { font-size: 12px; }
}

/* 모바일: 아이콘 숨기고 텍스트만 */
@media (max-width: 600px) {
    .rv-steps { border-radius: 6px; }
    .rv-step { flex-direction: column; gap: 4px; padding: 12px 4px; }
    .rv-step-ico { display: none; }
    .rv-step-num { font-size: 10px; }
    .rv-step-label { font-size: 11px; text-align: center; }
}

/* ===== 좌석 테이블 ===== */
.rv-seat-tbl-wrap {
    border: 1px solid #dde3ef;
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding-bottom: 14px;
    overflow-x: auto;
}
.rv-seat-tbl {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 13px;
}
.rv-seat-tbl thead tr { background: #0057b8; }
.rv-seat-tbl thead th {
    color: #fff;
    padding: 10px 14px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}
.rv-seat-tbl tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f2f7;
    color: #333;
}
.rv-seat-empty td {
    text-align: center;
    color: #aaa;
    padding: 50px 0 !important;
    min-width: unset;
}
.rv-del-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    color: #888;
    padding: 2px 6px;
    transition: all 0.15s;
}
.rv-del-btn:hover { border-color: #e53e3e; color: #e53e3e; }
.rv-total-price {
    text-align: right;
    font-size: 14px;
    color: #0057b8;
    font-weight: 800;
    padding: 12px 16px 0;
}

/* ===== 공연정보 반응형 ===== */
@media (max-width: 860px) {
    .rv-info-wrap { flex-direction: column; }
    .rv-info-notice {
        width: 100%;
        border-left: none;
        border-top: 1px solid #dde3ef;
    }
}

/* ===== 전체 모바일 ===== */
@media (max-width: 600px) {
    .rv-select { min-width: 0; width: 100%; }
    .rv-info-tbl th { width: 90px; font-size: 12px; }
    .rv-info-tbl td { font-size: 12px; }
    .rv-discount-row { flex-wrap: wrap; gap: 6px; }
    .rv-btns { flex-direction: column; align-items: stretch; }
    .rv-btn-cancel,
    .rv-btn-next { width: 100%; justify-content: center; }
    .rv-complete-btns { flex-direction: column; align-items: center; }
    /* 모달 */
    .seat-modal-body { flex-direction: column; }
    .seat-modal-left { width: 100%; border-right: none; border-bottom: 1px solid #dde3ef; }
    .seat-grid { grid-template-columns: repeat(6, 14px); }
}
/* ===== STEP 3: 할인정보 및 좌석확인 ===== */
.rv-confirm-wrap {
    border: 1px solid #dde3ef;
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding: 20px;
    background: #fff;
}
.rv-confirm-tbl { width: 100%; border-collapse: collapse; margin-top: 12px; }
.rv-confirm-tbl th {
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #0057b8;
    padding: 8px 12px 8px 0;
    white-space: nowrap;
    width: 160px;
}
.rv-confirm-tbl td { font-size: 13px; color: #333; padding: 8px 0; }

.rv-delivery-confirm {
    background: #fff;
    border-radius: 0 0 4px 4px;
}
.rv-confirm-val {
    font-size: 13px;
    color: #333;
    flex: 1;
    font-weight: 600;
}
.rv-bank-notice { margin-top: 8px; }
.rv-bank-notice p { font-size: 12px; color: #666; line-height: 2; }

.rv-account {
    font-weight: 700;
    color: #0d2260;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.rv-account small {
    font-size: 12px;
    color: #888;
    font-weight: 400;
    margin-left: 6px;
}

.rv-inquiry-row { align-items: flex-start !important; }
.rv-textarea {
    flex: 1;
    height: 80px;
    border: 1px solid #dde3ef;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    color: #333;
    transition: border-color 0.2s;
    width: 100%;
}
.rv-textarea:focus { border-color: #0057b8; }

/* 무통장입금 결제버튼 */
.rv-pay-btn-wrap {
    text-align: center;
    margin: 36px 0 10px;
}
.rv-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    padding: 0 52px;
    background: #0057b8;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0,87,184,0.25);
}
.rv-pay-btn:hover {
    background: #0046a0;
    box-shadow: 0 6px 20px rgba(0,87,184,0.35);
}
.rv-pay-guide {
    margin-top: 10px;
    font-size: 13px;
    color: #888;
    font-weight: 600;
}

/* ===== STEP 4: 예매완료 ===== */
.rv-complete-box {
    text-align: center;
    padding: 70px 0 90px;
}
.rv-complete-ico { margin-bottom: 10px; }
.rv-complete-ico svg { width: 84px; height: 84px; }
.rv-complete-title {
    font-size: 26px;
    font-weight: 800;
    color: #0d2260;
    margin: 16px 0 10px;
}
.rv-complete-sub {
    font-size: 14px;
    color: #888;
    margin-bottom: 32px;
}
.rv-complete-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 50px;
}

/* ===== STEP 3/4 반응형 ===== */
@media (max-width: 600px) {
    .rv-confirm-tbl th { width: 90px; font-size: 12px; }
    .rv-confirm-tbl td { font-size: 12px; }
    .rv-pay-btn { width: 100%; font-size: 15px; padding: 0 20px; }
    .rv-inquiry-row { flex-direction: column; gap: 8px; }
    .rv-textarea { width: 100%; box-sizing: border-box; }
    .rv-complete-title { font-size: 20px; }
    .rv-complete-btns { flex-direction: column; align-items: center; }
    .rv-complete-btns .rv-btn-next,
    .rv-complete-btns .rv-btn-cancel { width: 200px; }
}



/* ============================================================
   reservation2.css
   기존 reservation.css 에 추가되는 스타일만 작성
   ============================================================ */

/* ── 2단계 스텝 간격 ── */
.rv-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ── 날짜 셀렉트 + 좌석선택 버튼 가로 배치 ── */
.rv-date-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.rv-inline-seat {
    flex-shrink: 0;
    padding: 6px 18px;
    font-size: 13px;
    white-space: nowrap;
}

/* ── 선택한 좌석 블록 (rv-info-tbl 밖 독립 div) ── */
.rv-chosen-block {
    margin-top: 6px;
    margin-bottom: 4px;
}
.rv-chosen-label {
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin: 0 0 8px 0;
    padding: 10px 0 0 0;
    border-top: 1px solid #f0f0f0;
}

/* ── 좌석 등급 태그 ── */
.rv-seat-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}
.rv-seat-tag-r {
    background: #fff0f0;
    color: #c0394f;
    border: 1px solid #f5c6ce;
}
.rv-seat-tag-s {
    background: #f0f5ff;
    color: #0057b8;
    border: 1px solid #b8cff5;
}

/* ── 좌석·매수별 할인 선택 테이블 ── */
.rv-seat-disc-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.rv-seat-disc-tbl thead th {
    background: #f4f6fb;
    color: #555;
    font-weight: 600;
    padding: 8px 12px;
    text-align: center;
    border-bottom: 2px solid #dde2ec;
    font-size: 13px;
    white-space: nowrap;
}
.rv-seat-disc-tbl tbody tr {
    border-bottom: 1px solid #f0f0f0;
}
.rv-seat-disc-tbl tbody tr:last-child {
    border-bottom: none;
}
.rv-sdt-seat {
    padding: 10px 12px;
    text-align: center;
    white-space: nowrap;
}
.rv-sdt-price {
    padding: 10px 12px;
    text-align: center;
    color: #444;
    white-space: nowrap;
}
.rv-sdt-disc {
    padding: 8px 12px;
}
.rv-sdt-disc .rv-select {
    width: 100%;
    min-width: 200px;
    font-size: 13px;
}

/* ── 할인 안내 문구 ── */
.rv-discount-notice {
    margin-top: 16px;
    padding: 14px 16px;
    background: #fffbf0;
    border: 1px solid #ffe4a0;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    line-height: 1.9;
}
.rv-discount-notice p { margin: 0; }
.rv-notice-warn {
    color: #c0394f !important;
    font-weight: 600;
    margin-top: 2px !important;
}

/* ── 최종 가격 합계 테이블 ── */
.rv-price-summary {
    margin-top: 20px;
    border-top: 2px solid #dde2ec;
    padding-top: 16px;
}
.rv-price-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.rv-price-tbl-head th {
    background: #f4f6fb;
    color: #555;
    font-weight: 600;
    padding: 8px 12px;
    text-align: center;
    border-bottom: 2px solid #dde2ec;
    font-size: 13px;
}
.rv-price-tbl tbody td {
    padding: 9px 12px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}
.rv-price-tbl tbody tr:last-child td { border-bottom: none; }
.rv-disc-col { color: #c0394f; font-size: 13px; }
.rv-disc-col small { display: block; font-size: 11px; color: #e06070; }
.rv-final-col { font-weight: 700; color: #0057b8; }
.rv-price-tbl tfoot .rv-price-total-row td {
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    background: #f4f6fb;
    border-top: 2px solid #dde2ec;
    color: #222;
    text-align: right;
}
.rv-price-total-val { color: #0057b8 !important; white-space: nowrap; }
.rv-price-total-val strong { font-size: 22px; color: #0057b8; }

/* ── 예매완료 내역 박스 ── */
.rv-complete-detail {
    margin: 28px auto 0;
    max-width: 580px;
    text-align: left;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.rv-complete-detail .rv-section-bar { border-radius: 0; margin-bottom: 0 !important; }
.rv-complete-detail .rv-info-tbl { width: 100%; margin: 0; border-top: none; }
.rv-complete-detail .rv-info-tbl th,
.rv-complete-detail .rv-info-tbl td {
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}
.rv-complete-detail .rv-info-tbl th {
    width: 120px;
    white-space: nowrap;
    color: #555;
    background: #fafbfc;
    font-weight: 600;
}
.rv-complete-detail .rv-info-tbl tr:last-child th,
.rv-complete-detail .rv-info-tbl tr:last-child td { border-bottom: none; }
.rv-account { font-weight: 700; color: #0057b8; }


/* ============================================================
   반응형 (600px 이하)
   ============================================================ */
@media (max-width: 600px) {

    .rv-steps { gap: 24px; }

    /* 날짜 셀렉트 + 좌석선택 버튼 세로 */
    .rv-date-row { flex-direction: column; align-items: stretch; gap: 6px; }
    .rv-date-row .rv-select { width: 100%; }
    .rv-inline-seat { width: 100%; text-align: center; }

    /* 선택한 좌석 블록: 독립 div 이므로 그냥 100% — CSS 추가 불필요 */

    /* 할인 선택 테이블: 정가 열 숨기고 좌석 40% / 할인선택 60% */
    .rv-seat-disc-tbl { table-layout: fixed; font-size: 13px; }
    .rv-col-price,
    .rv-sdt-price { display: none; }
    .rv-seat-disc-tbl thead th:nth-child(1) { width: 40%; }
    .rv-seat-disc-tbl thead th:nth-child(3) { width: 60%; }
    .rv-sdt-disc .rv-select { min-width: 0; width: 100%; font-size: 13px; }

    /* 가격 합계 테이블: 행마다 카드형 */
    .rv-price-tbl thead { display: none; }
    .rv-price-tbl tbody tr {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    .rv-price-tbl tbody tr:last-child { border-bottom: none; }
    .rv-price-tbl tbody td {
        display: block;
        padding: 2px 0;
        border: none;
        text-align: left;
    }
    /* 좌석명 */
    .rv-price-tbl tbody td:nth-child(1) {
        font-weight: 600;
        color: #222;
        font-size: 14px;
        margin-bottom: 3px;
    }
    /* 정가 + 할인: 한 줄 inline */
    .rv-price-tbl tbody td:nth-child(2),
    .rv-price-tbl tbody td:nth-child(3) {
        display: inline;
        font-size: 12px;
        color: #888;
    }
    .rv-price-tbl tbody td:nth-child(3) { color: #c0394f; padding-left: 6px; }
    /* 적용가: 오른쪽 */
    .rv-price-tbl tbody td:nth-child(4) {
        text-align: right;
        font-weight: 700;
        font-size: 15px;
        color: #0057b8;
        margin-top: 2px;
    }
    /* 합계 행 */
    .rv-price-tbl tfoot { display: block; }
    .rv-price-tbl tfoot .rv-price-total-row { display: block; }
    .rv-price-tbl tfoot .rv-price-total-row td {
        display: block;
        text-align: right;
        padding: 12px 0;
    }

    /* 예매완료 내역 */
    .rv-complete-detail { max-width: 100%; }
    .rv-complete-detail .rv-info-tbl th { width: 90px; font-size: 13px; }
    .rv-complete-detail .rv-info-tbl td { font-size: 13px; }
}