/* ── Booking widget ───────────────────────────────────────────────────────── */
.wacp-wrapper { margin: 20px 0; border: 1px solid #ddd; padding: 15px; max-width: 350px; }
.wacp-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.wacp-qty { display: flex; align-items: center; }
.wacp-qty button { width: 32px; height: 32px; border: 1px solid #ccc; background: #f5f5f5; cursor: pointer; font-size: 18px; }
.wacp-qty input  { width: 50px; text-align: center; border: 1px solid #ccc; height: 32px; }
.wacp-total { font-size: 18px; margin-top: 15px; }

/* ── Activity dropdown ────────────────────────────────────────────────────── */
.wacp-dropdown-wrap { position: relative; width: 100%; }
.wacp-dropdown-trigger { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border: 1px solid #dde3e8; border-radius: 8px; cursor: pointer; background: #fff; user-select: none; }
.wacp-trigger-arrow { transition: transform .2s; }
.wacp-arrow-open { transform: rotate(180deg); }
.wacp-dropdown-menu { position: fixed; z-index: 9999; background: #fff; border: 1px solid #dde3e8; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); overflow-y: auto; }
.wacp-option { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; cursor: pointer; transition: background .15s; }
.wacp-option:hover:not(.wacp-option--disabled) { background: #f5f9fc; }
.wacp-option--disabled { opacity: .55; cursor: not-allowed; }
.wacp-option--selected { background: #eaf4fb; }
.wacp-option-content { flex: 1; }
.wacp-option-name { font-weight: 600; font-size: 14px; display: block; }
.wacp-option-price { font-size: 13px; color: #0073aa; }
.wacp-multi-indicator { font-size: 18px; color: #0073aa; font-weight: 700; margin-left: 8px; }
.wacp-low-stock { font-size: 11px; color: #e67e22; display: block; }
.activity-unavailable-badge { font-size: 11px; background: #fde8e8; color: #c0392b; padding: 2px 8px; border-radius: 10px; }

/* ── Selected activity cards ──────────────────────────────────────────────── */
.wacp-detail-card { border: 1px solid #dde3e8; border-radius: 10px; padding: 14px; margin-top: 10px; background: #fff; }
.wacp-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.wacp-remove-activity { cursor: pointer; color: #999; font-size: 16px; }
.wacp-remove-activity:hover { color: #c0392b; }
.qty-wrap { display: flex; flex-direction: column; gap: 10px; }
.qty-row { display: flex; justify-content: space-between; align-items: center; }
.qty-label { display: flex; flex-direction: column; }
.qty-type { font-size: 14px; font-weight: 600; }
.qty-price { font-size: 13px; color: #0073aa; }
.qty-stock { font-size: 11px; color: #e67e22; }
.qty-controls { display: flex; align-items: center; gap: 6px; }
.qty-btn { width: 30px; height: 30px; border: 1px solid #dde3e8; border-radius: 6px; background: #f5f9fc; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: #e0f0fa; }
.adult-qty, .child-qty { width: 48px; text-align: center; border: 1px solid #dde3e8; border-radius: 6px; height: 30px; font-size: 14px; }

/* ── Timeslot picker ──────────────────────────────────────────────────────── */
.wacp-slot-wrap { margin: 10px 0 6px; }
.wacp-slot-loading, .wacp-slot-error { font-size: 13px; color: #666; padding: 8px 0; }
.wacp-slot-error { color: #c0392b; }
.wacp-slot-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.wacp-slot-option { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border: 1px solid #dde3e8; border-radius: 6px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; gap: 8px; }
.wacp-slot-option:hover:not(.wacp-slot--soldout) { border-color: #0073aa; background: #f0f7fb; }
.wacp-slot-option.wacp-slot--selected { border-color: #0073aa; background: #e8f4fb; font-weight: 600; }
.wacp-slot-option.wacp-slot--soldout { opacity: .55; cursor: not-allowed; background: #f9f9f9; }
.wacp-slot-time { font-size: 13px; color: #1a1a1a; flex: 1; }
.wacp-slot-price { font-size: 13px; color: #0073aa; white-space: nowrap; }
.wacp-slot-badge { font-size: 11px; padding: 2px 7px; border-radius: 10px; white-space: nowrap; }
.wacp-slot-badge.wacp-slot-soldout { background: #fde8e8; color: #c0392b; }
.wacp-slot-badge.wacp-slot-limited { background: #fff3cd; color: #856404; }

/* ── Loader overlay ───────────────────────────────────────────────────────── */
.wacp-overlay-loader { position: absolute; inset: 0; background: rgba(255,255,255,.8); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 100; border-radius: 10px; }
.wacp-bar-loader { display: flex; gap: 5px; }
.wacp-bar { width: 6px; height: 24px; background: #0073aa; border-radius: 3px; animation: wacp-bounce .8s ease-in-out infinite; }
.wacp-bar.b2 { animation-delay: .15s; }
.wacp-bar.b3 { animation-delay: .3s; }
@keyframes wacp-bounce { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(1.8); } }
.wacp-loader-text { margin-top: 8px; font-size: 13px; color: #555; }
