/* ═══ Hanamori Booking Widget ═════════════════════════════
   Warm, japanisch, klar strukturiert.
   Passt sich der Hanamori-Ästhetik an.
═══════════════════════════════════════════════════════════ */

.booking-section { padding: 60px 0 40px; }

/* ─── Stepper ──────────────────────────────────────────── */
.bw-steps { display: flex; gap: 4px; margin-bottom: 28px; }
.bw-step {
  flex: 1; padding: 12px 16px; text-align: center;
  font-size: 13px; color: #8a8170; border-bottom: 3px solid #e0d7c7;
  transition: .2s;
}
.bw-step span { display: inline-block; width: 22px; height: 22px; line-height: 22px; border-radius: 50%; background: #e0d7c7; color: #8a8170; font-size: 11px; font-weight: 600; margin-right: 6px; }
.bw-step.on { color: #211c16; border-color: var(--accent, #8a3a2e); font-weight: 500; }
.bw-step.on span { background: var(--accent, #8a3a2e); color: #fff; }
.bw-step.done { color: #3f4a28; border-color: #9bc06e; }
.bw-step.done span { background: #9bc06e; color: #fff; }

/* ─── Widget Container ─────────────────────────────────── */
.bw-widget { max-width: 720px; margin: 0 auto; }
.bw-panel { animation: bwFade .3s ease; }
@keyframes bwFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ─── Fields ───────────────────────────────────────────── */
.bw-field { display: block; margin-bottom: 14px; flex: 1; }
.bw-field span { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8a8170; margin-bottom: 5px; }
.bw-field input, .bw-field textarea, .bw-field select {
  width: 100%; padding: 11px 14px; border: 1px solid #d4cab5; border-radius: 8px;
  font: inherit; font-size: 14px; background: #fdfbf7; transition: .15s;
}
.bw-field input:focus, .bw-field textarea:focus { border-color: var(--accent, #8a3a2e); outline: none; box-shadow: 0 0 0 3px rgba(138,58,46,.08); }
.bw-date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.bw-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ─── Buttons ──────────────────────────────────────────── */
.bw-btn { padding: 12px 28px; border: none; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: .15s; }
.bw-btn-primary { background: var(--accent, #8a3a2e); color: #fff; }
.bw-btn-primary:hover { background: #7a322a; transform: translateY(-1px); }
.bw-btn-primary:disabled { opacity: .5; transform: none; cursor: wait; }
.bw-btn-ghost { background: transparent; border: 1px solid #d4cab5; color: #3a342c; }
.bw-btn-ghost:hover { border-color: #8a8170; }
.bw-btn-sm { padding: 8px 18px; font-size: 13px; }
.bw-btn-book { width: 100%; padding: 14px; font-size: 15px; margin-top: 14px; letter-spacing: .03em; }
.bw-nav { display: flex; gap: 10px; margin-top: 20px; }

/* ─── Room Cards ───────────────────────────────────────── */
.bw-rooms { display: flex; flex-direction: column; gap: 12px; }
.bw-room-card {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 24px; background: #fdfbf7; border: 1px solid #e0d7c7; border-radius: 10px;
  transition: .15s; cursor: default;
}
.bw-room-card:hover { border-color: var(--accent, #8a3a2e); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.bw-room-info h3 { font-family: "Shippori Mincho B1", serif; font-size: 17px; margin: 0 0 4px; }
.bw-room-desc { font-size: 13px; color: #8a8170; margin: 0 0 6px; }
.bw-room-guests { font-size: 12.5px; color: #3a342c; }
.bw-room-price { text-align: right; flex: none; }
.bw-room-amount { display: block; font-family: "Shippori Mincho B1", serif; font-size: 22px; font-weight: 600; color: #211c16; }
.bw-room-unit { display: block; font-size: 11px; color: #8a8170; margin-bottom: 8px; }
.bw-no-rooms { text-align: center; padding: 40px; color: #8a8170; font-size: 15px; }

/* ─── Guest Counter ────────────────────────────────────── */
.bw-guests { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.bw-guest-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; background: #fdfbf7; border: 1px solid #e0d7c7; border-radius: 8px;
}
.bw-guest-info b { display: block; font-size: 14px; }
.bw-guest-info small { font-size: 12px; color: #8a8170; }
.bw-counter { display: flex; align-items: center; gap: 0; }
.bw-cnt-btn {
  width: 36px; height: 36px; border: 1px solid #d4cab5; background: #fdfbf7;
  font-size: 18px; cursor: pointer; transition: .1s; color: #3a342c;
}
.bw-cnt-btn:first-child { border-radius: 8px 0 0 8px; }
.bw-cnt-btn:last-child { border-radius: 0 8px 8px 0; }
.bw-cnt-btn:hover { background: #f0e8d8; }
.bw-cnt-val {
  width: 44px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-top: 1px solid #d4cab5; border-bottom: 1px solid #d4cab5;
  font-size: 16px; font-weight: 600; background: #fff;
}

/* ─── Meal Plan Cards ──────────────────────────────────── */
.bw-plans { display: flex; flex-direction: column; gap: 8px; }
.bw-plan-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: #fdfbf7; border: 1px solid #e0d7c7; border-radius: 8px;
  cursor: pointer; transition: .15s;
}
.bw-plan-card:has(input:checked) { border-color: var(--accent, #8a3a2e); background: rgba(138,58,46,.04); }
.bw-plan-card input { flex: none; }
.bw-plan-info { flex: 1; }
.bw-plan-info b { display: block; font-size: 14px; }
.bw-plan-info small { display: block; font-size: 12px; color: #8a8170; margin-top: 2px; }
.bw-plan-price { font-size: 13px; font-weight: 500; color: var(--accent, #8a3a2e); margin-top: 4px; }

/* ─── Price Summary ────────────────────────────────────── */
.bw-summary { margin-bottom: 24px; padding: 20px; background: #fdfbf7; border: 1px solid #e0d7c7; border-radius: 10px; }
.bw-sum-header h3 { font-family: "Shippori Mincho B1", serif; font-size: 17px; margin: 0 0 4px; }
.bw-sum-header p { font-size: 13px; color: #8a8170; margin: 0 0 14px; }
.bw-sum-lines { border-top: 1px solid #e0d7c7; padding-top: 10px; }
.bw-sum-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13.5px; }
.bw-sum-tax { color: #8a8170; font-size: 12.5px; }
.bw-sum-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0 0; margin-top: 10px; border-top: 2px solid #211c16;
  font-size: 16px;
}
.bw-sum-total b { font-family: "Shippori Mincho B1", serif; font-size: 24px; }

/* ─── Confirmation ─────────────────────────────────────── */
.bw-confirmation { text-align: center; padding: 40px 20px; }
.bw-conf-icon { font-size: 56px; margin-bottom: 12px; }
.bw-confirmation h3 { font-family: "Shippori Mincho B1", serif; font-size: 22px; margin: 0 0 20px; }
.bw-conf-ref, .bw-conf-total {
  display: inline-flex; flex-direction: column; gap: 4px; padding: 14px 28px;
  background: #fdfbf7; border: 1px solid #e0d7c7; border-radius: 8px; margin: 6px;
}
.bw-conf-ref span, .bw-conf-total span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8a8170; }
.bw-conf-ref b, .bw-conf-total b { font-size: 18px; font-family: ui-monospace, monospace; }

/* ─── Misc ─────────────────────────────────────────────── */
.bw-subtitle { font-family: "Shippori Mincho B1", serif; font-size: 15px; margin: 0 0 12px; }
.bw-muted { color: #8a8170; text-align: center; padding: 20px; }
.bw-error { padding: 11px 16px; border-radius: 7px; margin-top: 12px; font-size: 13px; background: rgba(138,58,46,.1); border: 1px solid rgba(138,58,46,.25); color: #8a3a2e; }

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 640px) {
  .bw-steps { flex-wrap: wrap; }
  .bw-step { font-size: 11px; padding: 8px; }
  .bw-date-row, .bw-form-row { grid-template-columns: 1fr; }
  .bw-room-card { flex-direction: column; text-align: center; }
  .bw-room-price { text-align: center; }
  .bw-guest-row { flex-direction: column; gap: 10px; text-align: center; }
}

/* Guest select (no-JS fallback) */
.bw-guest-select { padding: 8px 12px; border: 1px solid #d4cab5; border-radius: 6px; font: inherit; font-size: 15px; min-width: 60px; text-align: center; background: #fff; }

/* Payment note (v2.6) */
.bw-payment-note { flex: 1; padding: 10px 14px; background: rgba(58,90,110,.08); border: 1px solid rgba(58,90,110,.2); border-radius: 8px; font-size: 13px; color: #2a4e64; }
.bw-payment-note b { font-size: 15px; }
