@charset "utf-8";
/* 모바일 바비큐 예약(/bbq) — views/sell/reserve.php. 셀프 바비큐장. 사이트 초록 #3f8a2e / #2C7744(상단 띠) */
.mbq{padding: 14px 16px 96px; color: #222; letter-spacing: -0.3px; word-break: keep-all; background: #f4f6f2;}
.mbq h2, .mbq h3, .mbq h4, .mbq p, .mbq ul, .mbq dl, .mbq dd{margin: 0; padding: 0;}
.mbq ul{list-style: none;}
.mbq_card, .mbq_hero, .mbq_kit{margin-top: 12px; padding: 18px 16px; border-radius: 16px; background: #fff;}
.mbq > :first-child{margin-top: 0;}

/* 소개 */
.mbq_hero{padding: 0; overflow: hidden;}
.mbq_hero_txt{padding: 16px 16px 0;}
.mbq_badge{display: inline-block; padding: 4px 10px; border-radius: 999px; background: #fdf0e3; color: #b4561b; font-size: 12px; font-weight: 800;}
.mbq_title{margin-top: 8px !important; font-size: 21px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.3;}
.mbq_lead{margin-top: 6px !important; font-size: 15px; color: #555; line-height: 1.5;}
.mbq .mbq_facts{display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 14px 16px 16px;}
.mbq_facts > div{padding: 10px 8px; border-radius: 10px; background: #f5f7f3; text-align: center;}
.mbq_facts dt{font-size: 11px; font-weight: 700; color: #6b7a63;}
.mbq_facts dd{margin-top: 3px; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums;}
.mbq_facts dd small{display: block; margin-top: 1px; font-size: 11px; font-weight: 500; color: #888;}

/* 제공 / 준비 / 있어요 */
.mbq_kit_row{position: relative; padding: 10px 0 10px 16px;}
.mbq_kit_row + .mbq_kit_row{border-top: 1px solid #f0f2ee;}
.mbq_kit_row::before{content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 50%;}
.mbq_kit_row.is_give::before{background: #3f8a2e;}
.mbq_kit_row.is_bring::before{background: #d0702b;}
.mbq_kit_row.is_have::before{background: #2a6fb5;}
.mbq_kit_row h3{font-size: 15px; font-weight: 800;}
.mbq_kit_row.is_give h3{color: #2f6e22;}
.mbq_kit_row.is_bring h3{color: #a85117;}
.mbq_kit_row.is_have h3{color: #2a6fb5;}
.mbq_kit_row p{margin-top: 3px !important; font-size: 14px; line-height: 1.55; color: #444;}
.mbq_kit_note{margin-top: 8px !important; padding: 10px 12px; border-radius: 10px; background: #fff6e8; color: #8a4b12; font-size: 13px; font-weight: 700; line-height: 1.5;}

/* 달력 */
.mbq_cal_head{display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;}
.mbq_cal_head h3{font-size: 18px; font-weight: 800;}
.mbq_nav{display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e3e6df; color: #3f8a2e;}
.mbq_nav.is_off{color: #d4d8d0; border-color: #f0f2ee;}
.mbq_nav svg{width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;}
.mbq_cal{width: 100%; border-collapse: collapse; table-layout: fixed;}
.mbq_cal th{padding: 4px 0 8px; font-size: 12px; font-weight: 700; color: #999;}
.mbq_cal th.is_sun{color: #d6453b;}
.mbq_cal th.is_sat{color: #2a6fb5;}
.mbq_cal td{padding: 2px; text-align: center;}
.mbq_cal td a, .mbq_cal td span{display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 10px; font-size: 15px; font-weight: 600; color: #222;}
.mbq_cal .is_sun a{color: #d6453b;}
.mbq_cal .is_sat a{color: #2a6fb5;}
.mbq_cal td.is_past span{color: #cdd1c9; font-weight: 400;}
.mbq_cal td.is_today a{box-shadow: inset 0 0 0 2px #cfe0c8;}
.mbq_cal td.is_sel a, .mbq_cal td.is_sel span{background: #3f8a2e; color: #fff; font-weight: 800; box-shadow: none;}
.mbq_cal_note{margin-top: 8px !important; font-size: 12px; color: #888; text-align: center;}

/* 자리 · 시간 */
.mbq_pick_tit{font-size: 18px; font-weight: 800;}
.mbq_notice{margin-top: 10px !important; padding: 10px 12px; border-radius: 10px; background: #fff6e8; color: #8a4b12; font-size: 14px; line-height: 1.5;}
.mbq_empty{margin-top: 12px !important; padding: 32px 0; border-radius: 12px; background: #f7f8f6; text-align: center; font-size: 15px; line-height: 1.6; color: #666;}
.mbq_place{margin-top: 16px !important; font-size: 15px; font-weight: 800;}
.mbq_slots{display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px;}
.mbq_slot{position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 4px; border: 1.5px solid #dfe4da; border-radius: 12px; background: #fff; text-align: center;}
.mbq_slot input{position: absolute; opacity: 0; pointer-events: none;}
.mbq_slot b{font-size: 15px; font-weight: 800;}
.mbq_slot span{font-size: 12px; color: #666; font-variant-numeric: tabular-nums;}
.mbq_slot em{margin-top: 3px; font-style: normal; font-size: 12px; font-weight: 700; color: #3f8a2e;}
.mbq_slot.is_on{border-color: #3f8a2e; background: #f1f8ed; box-shadow: 0 0 0 2px rgba(63,138,46,.18);}
.mbq_slot:focus-within{outline: 2px solid #3f8a2e; outline-offset: 2px;}
.mbq_slot.is_off{background: #f6f6f4; border-color: #ececea;}
.mbq_slot.is_off b, .mbq_slot.is_off span, .mbq_slot.is_off em{color: #b3b3ae;}

/* 이용 안내 (펼치기) */
.mbq_more + .mbq_more{margin-top: 4px; border-top: 1px solid #f0f2ee;}
.mbq_more summary{display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-size: 16px; font-weight: 800; list-style: none; cursor: pointer;}
.mbq_more summary::-webkit-details-marker{display: none;}
.mbq_more summary::after{content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 2px solid #999; border-bottom: 2px solid #999; transform: rotate(45deg); transition: transform .2s;}
.mbq_more[open] summary::after{transform: rotate(-135deg);}
.mbq_amount{border-radius: 10px; background: #f5f7f3; overflow: hidden;}
.mbq_amount > div{display: flex; gap: 10px; padding: 10px 12px; font-size: 14px;}
.mbq_amount > div + div{border-top: 1px solid #fff;}
.mbq_amount dt{flex: none; width: 64px; font-weight: 800; color: #2f6e22;}
.mbq_amount dd{color: #333; line-height: 1.5;}
.mbq_list{padding: 8px 0 6px !important;}
.mbq_list li{position: relative; padding: 4px 0 4px 12px; font-size: 14px; line-height: 1.55; color: #444;}
.mbq_list li::before{content: ""; position: absolute; left: 0; top: 12px; width: 4px; height: 4px; border-radius: 50%; background: #3f8a2e;}
.mbq_list b{color: #222;}

/* 아래 고정 막대 */
.mbq_bar{position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #e6e9e3; background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.06);}
.mbq_bar_txt{flex: 1; min-width: 0; font-size: 14px; color: #888;}
.mbq_bar_txt b{display: block; font-size: 15px; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.mbq_bar_txt span{font-size: 13px; color: #666;}
.mbq_bar_btn{flex: none; width: 120px; height: 50px; border: 0; border-radius: 12px; background: #3f8a2e; color: #fff; font-size: 17px; font-weight: 800; font-family: inherit;}
.mbq_bar_btn:disabled{background: #c9d3c4;}

/* ===== 신청서(/bbq/apply) — views/sell/reserveWait.php ===== */
.mbq_picked{display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #eef5ea !important;}
.mbq_picked_date{font-size: 17px; font-weight: 800; color: #2f6e22;}
.mbq_picked_slot{margin-top: 2px !important; font-size: 14px; color: #444;}
.mbq_picked_change{flex: none; padding: 8px 12px; border-radius: 10px; background: #fff; color: #3f8a2e; font-size: 13px; font-weight: 800;}
.mbq_sec_tit{margin-bottom: 4px !important; font-size: 17px; font-weight: 800;}
.mbq_row{display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px;}
.mbq_row_lbl{font-size: 15px; font-weight: 700;}
.mbq_row_lbl small{display: block; margin-top: 1px; font-size: 12px; font-weight: 500; color: #888;}
.mbq_row_help{margin-top: 6px !important; font-size: 12px; line-height: 1.5; color: #888;}
.mbq_row_help:empty{display: none;}
.mbq_seg{display: inline-flex; padding: 3px; border-radius: 11px; background: #f1f3ef;}
.mbq_seg.is_full{display: flex;}
.mbq_seg.is_full label{flex: 1;}
.mbq_seg label{position: relative;}
.mbq_seg input{position: absolute; opacity: 0; pointer-events: none;}
.mbq_seg span{display: block; padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 700; color: #666; text-align: center;}
.mbq_seg input:checked + span{background: #3f8a2e; color: #fff;}
.mbq_seg input:focus-visible + span{outline: 2px solid #3f8a2e; outline-offset: 2px;}
.mbq_step{display: inline-flex; align-items: center; border: 1px solid #dfe4da; border-radius: 11px; overflow: hidden;}
.mbq_step button{width: 40px; height: 40px; border: 0; background: #fff; color: #3f8a2e; font-size: 20px; font-weight: 700; font-family: inherit;}
.mbq_step button:disabled{color: #ccd2c7;}
.mbq_step input{width: 44px; height: 40px; border: 0; border-left: 1px solid #eef0eb; border-right: 1px solid #eef0eb; text-align: center; font-size: 16px; font-weight: 800; font-family: inherit; color: #222; -moz-appearance: textfield;}
.mbq_step input::-webkit-outer-spin-button, .mbq_step input::-webkit-inner-spin-button{-webkit-appearance: none; margin: 0;}
.js_extra[hidden]{display: none;}
.mbq_extra_note{margin-top: 14px !important; padding: 10px 12px; border-radius: 10px; background: #f5f7f3; font-size: 13px; line-height: 1.5; color: #444;}
.mbq_extra_note b{color: #2f6e22;}

.mbq_field{margin-top: 14px;}
.mbq_field > label, .mbq_field_lbl{display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700;}
.mbq_field > label small{font-weight: 500; color: #999;}
.mbq_field input[type="text"], .mbq_field input[type="tel"], .mbq_field textarea{display: block; width: 100%; padding: 0 14px; border: 1px solid #d5dbd0; border-radius: 12px; background: #fafbf9; font-size: 16px; font-family: inherit; color: #222; box-sizing: border-box; outline: none;}
.mbq_field input[type="text"], .mbq_field input[type="tel"]{height: 50px;}
.mbq_field textarea{padding: 12px 14px; line-height: 1.55;}
.mbq_field input:focus, .mbq_field textarea:focus{border-color: #3f8a2e; background: #fff; box-shadow: 0 0 0 3px rgba(63,138,46,.12);}
.mbq_field.has_error input{border-color: #e8381a; background: #fff8f7;}
.mbq_err{margin-top: 5px !important; font-size: 13px; font-weight: 600; color: #e8381a;}
.mbq_err:empty{display: none;}
.mbq_more summary small{font-size: 13px; font-weight: 700; color: #c4361b;}
.mbq_consent{max-height: 220px; overflow-y: auto; padding: 12px; border-radius: 10px; background: #f7f8f6; font-size: 13px; line-height: 1.65; color: #444; white-space: pre-wrap; word-break: keep-all;}
.mbq_agree{display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px;}
.mbq_agree input{width: 20px; height: 20px; accent-color: #3f8a2e;}
.mbq_paynote p{font-size: 13px; line-height: 1.6; color: #555;}
.mbq_paynote b{color: #222;}
.mbq_bar_txt > span{display: block; font-size: 12px; color: #888;}
.mbq_bar_txt .mbq_bar_won{display: block; font-size: 20px; font-weight: 800; color: #c4361b; font-variant-numeric: tabular-nums; transition: opacity .15s;}
.mbq_bar_txt .mbq_bar_won.is_busy{opacity: .4;}

/* 환불 표 (/bbq 「입금과 환불」) */
.mbq_refund_tit{margin-top: 4px !important; font-size: 14px; font-weight: 800;}
.mbq_refund{margin: 6px 0 0 !important; border-radius: 10px; background: #f5f7f3; overflow: hidden;}
.mbq_refund > div{display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; font-size: 14px;}
.mbq_refund > div + div{border-top: 1px solid #fff;}
.mbq_refund dt{color: #555;}
.mbq_refund dd{text-align: right; color: #222;}
.mbq_refund dd b{color: #2f6e22;}
.mbq_refund dd small{color: #999; font-size: 12px;}
.mbq_refund .is_no dd{color: #c4361b; font-weight: 700;}
.mbq_refund_ex{margin: 8px 0 6px !important; font-size: 12px; color: #777;}

.mbq_lead b{color: #2f6e22; font-weight: 700;}

/* 오픈 준비 중 (모든 자리 비노출) — 안내는 그대로, 달력만 고를 수 없게 */
.mbq_badge.is_prep{margin-left: 4px; background: #e8f0fa; color: #2a6fb5;}
.mbq_cal.is_prep td span{color: #b9beb4; font-weight: 500;}
.mbq_cal_note.is_prep{padding: 9px 10px; border-radius: 10px; background: #e8f0fa; color: #2a6fb5; font-size: 13px; font-weight: 700;}
.mbq_prep{margin-top: 12px; padding: 24px 16px 20px; border-radius: 12px; background: #f5f8fc; text-align: center;}
.mbq_prep_tit{font-size: 17px; font-weight: 800; color: #1f4e80;}
.mbq_prep_desc{margin-top: 8px !important; font-size: 14px; line-height: 1.6; color: #555;}
.mbq_prep_btns{display: flex; gap: 8px; margin-top: 16px;}
.mbq_prep_btns a{flex: 1; display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 12px; font-size: 15px; font-weight: 800;}
.mbq_prep_kakao{background: #fee500; color: #191919;}
.mbq_prep_tel{border: 1px solid #cfd6ca; background: #fff; color: #333;}

/* 예약 제외 날짜(셀러 「특정날짜 제외」) — 휴무 */
.mbq_cal td.is_off span{flex-direction: column; gap: 0; color: #b9beb4; font-weight: 500; line-height: 1.1;}
.mbq_cal td.is_off small{font-size: 9px; font-weight: 700; color: #c4361b;}
