/* ===== Booking Page ===== */
body.booking-page { background: #f5f3f0; min-height: 100vh; }

.booking-header { position: sticky; top: 0; z-index: 100; background: rgba(13,13,13,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(201,169,110,0.2); }
.booking-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: #fff; letter-spacing: 0.08em; }
.booking-title { font-size: 0.82rem; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; }

/* Steps Bar */
.steps-bar { display: flex; align-items: center; justify-content: center; padding: 20px 24px; background: #fff; border-bottom: 1px solid #eee; gap: 0; overflow-x: auto; }
.step { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 70px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #ddd; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: #aaa; font-weight: 500; transition: all 0.3s; }
.step.active .step-num { background: #c9a96e; border-color: #c9a96e; color: #fff; }
.step.done .step-num { background: #333; border-color: #333; color: #fff; }
.step-label { font-size: 0.68rem; color: #aaa; white-space: nowrap; }
.step.active .step-label { color: #c9a96e; font-weight: 500; }
.step-line { flex: 1; height: 2px; background: #eee; min-width: 24px; max-width: 60px; }

/* Main */
.booking-main { max-width: 560px; margin: 0 auto; padding: 28px 16px 60px; }
.booking-step { display: none; }
.booking-step.active { display: block; }
.step-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: #1a1a1a; margin-bottom: 24px; }

/* Form Sections */
.form-section { margin-bottom: 24px; }
.form-label { display: block; font-size: 0.8rem; font-weight: 500; color: #444; margin-bottom: 10px; letter-spacing: 0.04em; }
.label-opt { font-weight: 300; color: #999; }
.form-input { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 10px; font-size: 0.88rem; font-family: 'Noto Sans JP', sans-serif; color: #333; background: #fff; outline: none; transition: border-color 0.25s; }
.form-input:focus { border-color: #c9a96e; }
.form-select { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 10px; font-size: 0.88rem; font-family: 'Noto Sans JP', sans-serif; color: #333; background: #fff; outline: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-textarea { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 10px; font-size: 0.85rem; font-family: 'Noto Sans JP', sans-serif; color: #333; resize: vertical; outline: none; }
.form-textarea:focus { border-color: #c9a96e; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.required { color: #c9a96e; }

/* Branch Select Cards */
.branch-cards { display: flex; flex-direction: column; gap: 10px; }
.branch-select-card { padding: 14px 16px; border: 2px solid #eee; border-radius: 12px; cursor: pointer; transition: all 0.25s; background: #fff; }
.branch-select-card.active { border-color: #c9a96e; background: #fdf9f3; }
.bsc-name { display: block; font-weight: 500; font-size: 0.9rem; color: #222; margin-bottom: 2px; }
.bsc-addr { display: block; font-size: 0.75rem; color: #888; }
.bsc-hours { display: block; font-size: 0.72rem; color: #aaa; margin-top: 2px; }

/* Calendar */
.calendar-wrap { background: #fff; border-radius: 14px; border: 1px solid #eee; overflow: hidden; }
.cal-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #1a1a1a; color: #fff; }
.cal-header span { font-size: 0.9rem; font-weight: 500; }
.cal-nav { background: none; border: none; color: #c9a96e; font-size: 1.4rem; cursor: pointer; padding: 0 8px; line-height: 1; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-day-header { text-align: center; padding: 8px 4px; font-size: 0.68rem; color: #aaa; font-weight: 500; }
.cal-day { text-align: center; padding: 10px 4px; font-size: 0.82rem; cursor: pointer; transition: background 0.2s; border-radius: 8px; margin: 2px; }
.cal-day:hover:not(.disabled):not(.empty) { background: #fdf9f3; }
.cal-day.selected { background: #c9a96e; color: #fff; border-radius: 8px; font-weight: 500; }
.cal-day.today { font-weight: 700; color: #c9a96e; }
.cal-day.disabled { color: #ddd; cursor: default; }
.cal-day.empty { cursor: default; }
.cal-day.closed { color: #ffaaaa; text-decoration: line-through; cursor: default; }

/* Time Slots */
.time-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time-slot { padding: 10px 4px; text-align: center; border: 1px solid #ddd; border-radius: 8px; font-size: 0.78rem; cursor: pointer; transition: all 0.2s; background: #fff; }
.time-slot:hover:not(.full) { border-color: #c9a96e; background: #fdf9f3; }
.time-slot.selected { background: #c9a96e; border-color: #c9a96e; color: #fff; font-weight: 500; }
.time-slot.full { background: #f5f5f5; color: #ccc; cursor: default; font-size: 0.7rem; }

/* Service Cards */
.service-select-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-card { border: 2px solid #eee; border-radius: 14px; padding: 18px; cursor: pointer; transition: all 0.25s; background: #fff; }
.svc-card.active { border-color: #c9a96e; background: #fdf9f3; }
.svc-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.svc-icon { font-size: 1.6rem; }
.svc-badge { background: #c9a96e; color: #fff; font-size: 0.62rem; padding: 2px 8px; border-radius: 50px; white-space: nowrap; }
.svc-card h4 { font-size: 0.9rem; font-weight: 500; color: #222; margin-bottom: 6px; }
.svc-card p { font-size: 0.75rem; color: #888; line-height: 1.6; margin-bottom: 10px; }
.svc-price { font-size: 0.95rem; font-weight: 500; color: #c9a96e; }

/* Options */
.option-list { display: flex; flex-direction: column; gap: 10px; }
.option-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: #444; cursor: pointer; padding: 10px 14px; border: 1px solid #eee; border-radius: 10px; background: #fff; transition: border-color 0.2s; }
.option-item:hover { border-color: #c9a96e; }
.option-item input { accent-color: #c9a96e; width: 16px; height: 16px; flex-shrink: 0; }
.option-item span { margin-left: auto; font-weight: 500; color: #c9a96e; font-size: 0.82rem; }

/* Price Summary */
.price-summary { padding: 20px 20px; margin-top: 20px; }
.price-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.75); padding: 6px 0; }
.price-row.total { border-top: 1px solid rgba(255,255,255,0.2); margin-top: 8px; padding-top: 12px; font-size: 1rem; color: #fff; font-weight: 500; }
.price-row.total span:last-child { color: #c9a96e; font-size: 1.1rem; }

/* Login Box */
.login-box { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.login-note { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-align: center; }
.form-divider { text-align: center; font-size: 0.78rem; color: #aaa; margin: 16px 0; position: relative; }
.form-divider::before, .form-divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: #eee; }
.form-divider::before { left: 0; }
.form-divider::after { right: 0; }

/* Confirm Card */
.confirm-card { padding: 24px; margin-bottom: 28px; }
.confirm-row { display: flex; justify-content: space-between; align-items: flex-start; font-size: 0.85rem; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); gap: 12px; }
.confirm-row:last-child { border-bottom: none; }
.confirm-row strong { color: #fff; text-align: right; }
.confirm-row.total { font-size: 1rem; }
.confirm-row.total strong { color: #c9a96e; font-size: 1.1rem; }

/* Payment */
.pay-title { font-size: 1rem; font-weight: 500; color: #222; margin-bottom: 14px; }
.pay-methods { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid #eee; border-radius: 12px; cursor: pointer; font-size: 0.88rem; color: #333; transition: border-color 0.2s; background: #fff; }
.pay-method.active, .pay-method:has(input:checked) { border-color: #c9a96e; background: #fdf9f3; }
.pay-method input { accent-color: #c9a96e; }
.card-form { padding: 20px; margin-bottom: 20px; }
.card-form .form-group { margin-bottom: 14px; }
.card-form .form-label { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin-bottom: 6px; display: block; }
.card-form .form-input { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.card-form .form-input::placeholder { color: rgba(255,255,255,0.3); }
.card-form .form-input:focus { border-color: #c9a96e; }

/* Step Actions */
.step-actions { display: flex; gap: 12px; margin-top: 28px; }
.step-actions .btn-ghost { color: #666; border-color: #ddd; }
.step-actions .btn-primary { flex: 1; }

/* Complete */
.complete-wrap { text-align: center; padding: 40px 0; }
.complete-icon { font-size: 4rem; margin-bottom: 20px; animation: bounce 0.6s ease; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.complete-wrap h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: #1a1a1a; margin-bottom: 12px; }
.complete-wrap p { font-size: 0.88rem; color: #666; margin-bottom: 24px; line-height: 1.8; }
.complete-card { padding: 20px; margin-bottom: 24px; text-align: left; }

@media (max-width: 480px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .service-select-cards { grid-template-columns: 1fr; }
  .time-slots { grid-template-columns: repeat(3, 1fr); }
}
