/* ==========================================================================
   Booking Kike House – Main Stylesheet
   Responsive: Mobile-first, CSS Grid + Flexbox
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bkh-primary:    #2563eb;
  --bkh-primary-dk: #1d4ed8;
  --bkh-secondary:  #0ea5e9;
  --bkh-success:    #16a34a;
  --bkh-danger:     #dc2626;
  --bkh-warning:    #d97706;
  --bkh-bg:         #f8fafc;
  --bkh-surface:    #ffffff;
  --bkh-surface-alt:#f1f5f9;
  --bkh-accent-soft:#e8efff;
  --bkh-overlay:    rgba(15,23,42,.72);
  --bkh-border:     #e2e8f0;
  --bkh-text:       #1e293b;
  --bkh-text-muted: #64748b;
  --bkh-radius:     0.5rem;
  --bkh-radius-lg:  1rem;
  --bkh-shadow:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --bkh-shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --bkh-sidebar-w:  260px;
  --bkh-topbar-h:   60px;
  --bkh-font:       -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --bkh-toggle-from: #f43f5e;
  --bkh-toggle-mid:  #ec4899;
  --bkh-toggle-to:   #a855f7;
}

/* ---------- Reset / Base ---------- */
.bkh-fullpage *,
.bkh-fullpage *::before,
.bkh-fullpage *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.bkh-fullpage {
  font-family: var(--bkh-font);
  color: var(--bkh-text);
  background: var(--bkh-bg);
  min-height: 100vh;
}

#bkh-app {
  min-height: 100vh;
}

/* ============================================================
   AUTH PAGES (Login / Register)
   ============================================================ */
.bkh-auth-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.bkh-auth-card {
  background: var(--bkh-surface);
  border-radius: var(--bkh-radius-lg);
  box-shadow: var(--bkh-shadow-md);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 440px;
}

.bkh-auth-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.bkh-logo-icon {
  font-size: 2rem;
  line-height: 1;
}

.bkh-site-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bkh-primary);
  margin: 0;
}

.bkh-auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--bkh-text);
}

/* ---------- Alerts ---------- */
.bkh-alert {
  padding: .75rem 1rem;
  border-radius: var(--bkh-radius);
  margin-bottom: 1rem;
  font-size: .9rem;
  font-weight: 500;
}

.bkh-alert-error {
  background: #fef2f2;
  color: var(--bkh-danger);
  border: 1px solid #fecaca;
}

.bkh-alert-success {
  background: #f0fdf4;
  color: var(--bkh-success);
  border: 1px solid #bbf7d0;
}

/* ---------- Form ---------- */
.bkh-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.bkh-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1.25rem;
}

.bkh-field label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--bkh-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bkh-field input[type="text"],
.bkh-field input[type="email"],
.bkh-field input[type="password"],
.bkh-field input[type="number"],
.bkh-field textarea,
.bkh-field select {
  padding: .625rem .875rem;
  border: 1.5px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  font-size: .95rem;
  font-family: var(--bkh-font);
  color: var(--bkh-text);
  background: var(--bkh-surface);
  transition: border-color .15s;
  width: 100%;
}

.bkh-field input:focus,
.bkh-field textarea:focus,
.bkh-field select:focus {
  outline: none;
  border-color: var(--bkh-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.bkh-field textarea {
  resize: vertical;
  min-height: 100px;
}

.bkh-field small {
  font-size: .78rem;
  color: var(--bkh-text-muted);
}

.bkh-required {
  color: var(--bkh-danger);
}

/* Password toggle */
.bkh-password-wrap {
  position: relative;
}

.bkh-password-wrap input {
  padding-right: 3rem;
}

.bkh-toggle-pw {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bkh-text-muted);
  padding: 0;
  display: flex;
  align-items: center;
}

.bkh-toggle-pw .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
  line-height: 20px;
}

/* Checkbox */
.bkh-checkbox-label {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
  font-size: .9rem;
  cursor: pointer;
  font-weight: 400 !important;
}

.bkh-field-inline {
  margin-bottom: .5rem;
}

.bkh-field .bkh-checkbox-label {
  justify-content: flex-start;
}

.bkh-forgot-link {
  font-weight: 400;
  font-size: .8rem;
  color: var(--bkh-primary);
  text-decoration: none;
}

.bkh-forgot-link:hover {
  text-decoration: underline;
}

.bkh-auth-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: .875rem;
  color: var(--bkh-text-muted);
}

.bkh-auth-footer a {
  color: var(--bkh-primary);
  font-weight: 600;
  text-decoration: none;
}

.bkh-auth-footer a:hover {
  text-decoration: underline;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.bkh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .625rem 1.25rem;
  border-radius: var(--bkh-radius);
  font-size: .9rem;
  font-weight: 600;
  font-family: var(--bkh-font);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
  white-space: nowrap;
}

.bkh-btn-primary {
  background: var(--bkh-primary);
  color: #fff;
  border-color: var(--bkh-primary);
}

.bkh-btn-primary:hover {
  background: var(--bkh-primary-dk);
  border-color: var(--bkh-primary-dk);
}

.bkh-btn-secondary {
  background: var(--bkh-secondary);
  color: #fff;
  border-color: var(--bkh-secondary);
}

.bkh-btn-outline {
  background: transparent;
  color: var(--bkh-primary);
  border-color: var(--bkh-primary);
}

.bkh-btn-outline:hover {
  background: var(--bkh-primary);
  color: #fff;
}

.bkh-btn-danger {
  background: var(--bkh-danger);
  color: #fff;
  border-color: var(--bkh-danger);
}

.bkh-btn-danger:hover {
  background: #b91c1c;
}

.bkh-btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.bkh-btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
}

.bkh-btn-chat {
  background: #0ea5e9;
  color: #fff;
  border-color: #0ea5e9;
}

.bkh-btn-chat:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #fff;
}

.bkh-btn-block {
  width: 100%;
}

.bkh-btn-sm {
  padding: .35rem .75rem;
  font-size: .8rem;
}

.bkh-btn-install {
  background: var(--bkh-primary);
  color: #fff;
  border-color: var(--bkh-primary);
}

.bkh-btn-install:hover {
  background: var(--bkh-primary-dk);
  border-color: var(--bkh-primary-dk);
}

/* ============================================================
   DASHBOARD LAYOUT
   ============================================================ */
.bkh-dashboard {
  display: flex;
  min-height: 100vh;
}

/* ----- Sidebar ----- */
.bkh-sidebar {
  width: var(--bkh-sidebar-w);
  background: var(--bkh-surface);
  border-right: 1px solid var(--bkh-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 200;
  transition: transform .25s ease;
  overflow-y: auto;
}

.bkh-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--bkh-border);
}

.bkh-logo-img {
  width: 80px;
  height: auto;
  display: block;
}

.bkh-sidebar-welcome {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a6fb5;
}

.bkh-sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bkh-primary);
}

.bkh-nav {
  padding: 1rem 0;
  flex: 1;
}

.bkh-nav-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.25rem;
  color: var(--bkh-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: .9rem;
  transition: background .15s, color .15s;
  border-radius: 0;
}

.bkh-nav-item:hover,
.bkh-nav-item--active {
  background: #eff6ff;
  color: var(--bkh-primary);
}

.bkh-nav-icon {
  font-size: 1.1rem;
}

.bkh-sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--bkh-border);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.bkh-user-info {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.bkh-avatar {
  border-radius: 50%;
  width: 40px !important;
  height: 40px !important;
}

.bkh-user-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bkh-user-name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--bkh-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bkh-user-email {
  font-size: .75rem;
  color: var(--bkh-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ----- Main content ----- */
.bkh-main-content {
  flex: 1;
  margin-left: var(--bkh-sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bkh-bg);
}

/* Top bar */
.bkh-topbar {
  height: var(--bkh-topbar-h);
  background: var(--bkh-surface);
  border-bottom: 1px solid var(--bkh-border);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--bkh-shadow);
}

.bkh-topbar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bkh-text);
}

/* Sidebar toggle (mobile) */
.bkh-sidebar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}

.bkh-sidebar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bkh-text);
  border-radius: 2px;
}

/* Content body */
.bkh-content-body {
  padding: 1.5rem;
  flex: 1;
}

/* ============================================================
   CARDS
   ============================================================ */
.bkh-card {
  background: var(--bkh-surface);
  border-radius: var(--bkh-radius);
  border: 1px solid var(--bkh-border);
  padding: 1.5rem;
  box-shadow: var(--bkh-shadow);
  margin-bottom: 1.5rem;
}

.bkh-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--bkh-text);
}

/* ============================================================
   GRID HELPERS
   ============================================================ */
.bkh-grid {
  display: grid;
  gap: 1rem;
}

.bkh-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ============================================================
   CASAS LIST
   ============================================================ */
.bkh-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--bkh-border);
}

.bkh-list-header-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bkh-text);
  margin: 0;
}

.bkh-casas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.bkh-casa-card {
  background: var(--bkh-surface);
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius-lg);
  overflow: hidden;
  box-shadow: var(--bkh-shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}

.bkh-casa-card:hover {
  box-shadow: var(--bkh-shadow-md);
  transform: translateY(-3px);
}

.bkh-casa-thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
}

.bkh-casa-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.bkh-casa-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.bkh-casa-card:hover .bkh-casa-img {
  transform: scale(1.05);
}

.bkh-casa-price-badge {
  position: absolute;
  bottom: .75rem;
  right: .75rem;
  background: var(--bkh-overlay);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  padding: .3rem .8rem;
  border-radius: 9999px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: -.01em;
  pointer-events: none;
}

.bkh-casa-body {
  padding: 1rem 1.25rem;
  flex: 1;
}

.bkh-casa-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--bkh-text);
  line-height: 1.3;
}

.bkh-casa-meta {
  font-size: .82rem;
  color: var(--bkh-text-muted);
  margin-bottom: .3rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.bkh-casa-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .65rem;
}

.bkh-casa-stat {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--bkh-text-muted);
  background: var(--bkh-surface-alt);
  padding: .2rem .65rem;
  border-radius: 9999px;
  border: 1px solid var(--bkh-border);
}

.bkh-casa-actions {
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .375rem;
  border-top: 1px solid var(--bkh-border);
  background: var(--bkh-bg);
  flex-wrap: nowrap;
  overflow-x: auto;
}

.bkh-casa-actions .bkh-btn-sm {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Empty state */
.bkh-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--bkh-text-muted);
}

.bkh-empty-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
}

/* Form actions */
.bkh-form-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

/* ============================================================
   RESERVAS TABLE
   ============================================================ */
.bkh-table-responsive {
  overflow-x: auto;
  border-radius: var(--bkh-radius);
  border: 1px solid var(--bkh-border);
  background: var(--bkh-surface);
}

.bkh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.bkh-table th,
.bkh-table td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--bkh-border);
  white-space: nowrap;
}

.bkh-table thead th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--bkh-text-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.bkh-table tbody tr:last-child td {
  border-bottom: none;
}

.bkh-table tbody tr:hover {
  background: #f8fafc;
}

/* Badges */
.bkh-badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 600;
}

.bkh-badge--completado {
  background: #dcfce7;
  color: #15803d;
}

.bkh-badge--pendiente {
  background: #fef9c3;
  color: #a16207;
}

.bkh-badge--cancelado {
  background: #fee2e2;
  color: #b91c1c;
}

.bkh-badge--new {
  background: #dbeafe;
  color: #1d4ed8;
}

/* ============================================================
   CHAT INTERNO
   ============================================================ */
.bkh-chat-inbox {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: var(--bkh-radius);
  background: var(--bkh-surface);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.bkh-chat-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bkh-chat-row {
  border: 1px solid var(--bkh-border);
  background: #fff;
  border-radius: var(--bkh-radius);
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.bkh-chat-row:hover {
  border-color: #0ea5e9;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
}

.bkh-chat-row-main {
  flex: 1;
  min-width: 220px;
}

.bkh-chat-row-main strong {
  color: var(--bkh-text);
  font-size: 1.05rem;
}

.bkh-chat-preview {
  margin: .5rem 0 0;
  color: var(--bkh-text-muted);
  font-size: .9rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 400px;
}

.bkh-chat-row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
  min-width: 200px;
}

.bkh-chat-time {
  font-size: .8rem;
  color: var(--bkh-text-muted);
}

.bkh-chat-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
  align-items: center;
}

.bkh-chat-assigned {
  display: inline-flex;
  align-items: center;
  margin-left: .5rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0369a1;
  font-size: .75rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(3, 105, 161, 0.1);
}

.bkh-chat-box {
  max-width: 800px;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

.bkh-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.bkh-chat-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bkh-text);
}

.bkh-chat-header-actions {
  display: flex;
  gap: .75rem;
  align-items: center;
}

.bkh-chat-subtitle {
  margin: .35rem 0 0;
  font-size: .9rem;
  color: var(--bkh-text-muted);
  font-weight: 500;
}

.bkh-chat-close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  padding: .25rem;
  transition: all 0.2s ease;
}

.bkh-chat-close:hover {
  color: var(--bkh-text);
  transform: scale(1.1);
}

.bkh-btn-icon-danger {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: .35rem .6rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  color: #64748b;
}

.bkh-btn-icon-danger:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: scale(1.05);
}

.bkh-chat-messages {
  padding: 1.75rem;
  min-height: 400px;
  max-height: 500px;
  overflow-y: auto;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.bkh-chat-messages::-webkit-scrollbar {
  width: 8px;
}

.bkh-chat-messages::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 4px;
}

.bkh-chat-messages::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}

.bkh-chat-messages::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

.bkh-chat-msg {
  max-width: 70%;
  padding: .85rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  animation: slideIn 0.2s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bkh-chat-msg-text {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
  font-size: .95rem;
}

.bkh-chat-msg--mine {
  align-self: flex-end;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  border-color: #0284c7;
  color: #fff;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.bkh-chat-msg-meta {
  margin-top: .4rem;
  font-size: .75rem;
  opacity: .75;
  text-align: right;
  font-weight: 500;
}

.bkh-chat-empty {
  text-align: center;
  color: var(--bkh-text-muted);
  font-size: .95rem;
  padding: 2rem 0;
  font-style: italic;
}

.bkh-chat-form {
  padding: 1.25rem 1.75rem 1.75rem;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.bkh-chat-form textarea {
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  transition: all 0.2s ease;
  font-size: .95rem;
}

.bkh-chat-form textarea:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.bkh-chat-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  margin-top: .85rem;
}

.bkh-chat-actions .bkh-btn {
  padding: .6rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.2);
  transition: all 0.2s ease;
}

.bkh-chat-actions .bkh-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.bkh-chat-error {
  color: var(--bkh-danger);
  font-size: .85rem;
  margin-top: .5rem;
  min-height: 1.2em;
  font-weight: 500;
}

/* ============================================================
   BOOKING CALENDAR (Single Casa page)
   ============================================================ */
.bkh-booking-widget {
  background: var(--bkh-surface);
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--bkh-shadow-md);
  max-width: 460px;
}

.bkh-booking-widget h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.bkh-date-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 1rem;
}

.bkh-booking-summary {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0;
  margin-bottom: 1rem;
  font-size: .875rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.bkh-booking-summary table {
  width: 100%;
  border-collapse: collapse;
}

.bkh-booking-summary td {
  padding: .6rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.bkh-booking-summary tr:last-child td {
  border-bottom: none;
}

.bkh-booking-summary td:first-child {
  color: #64748b;
}

.bkh-booking-summary td:last-child {
  text-align: right;
  font-weight: 600;
  color: #1e293b;
}

.bkh-booking-total {
  background: linear-gradient(135deg, var(--bkh-primary) 0%, #d4304c 100%);
}

.bkh-booking-total td {
  border-bottom: none !important;
  padding: .8rem 1rem !important;
}

.bkh-booking-total td:first-child {
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
}

.bkh-booking-total td:last-child {
  color: #fff !important;
  font-size: 1.15rem;
  font-weight: 800;
}

#bkh-paypal-button-container {
  min-height: 45px;
}

/* ── Booking calendar season legend ── */
.bkh-cal-season-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .75rem;
  margin-top: .75rem;
  padding-top: .65rem;
  border-top: 1px solid var(--bkh-border);
}

.bkh-cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 20px;
}

.bkh-cal-legend-item--alta {
  background: #fef08a;
  color: #854d0e;
  border: 1px solid #fde047;
}

.bkh-cal-legend-item--baja {
  background: #bfdbfe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.bkh-cal-legend-item--blocked {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  /* Dashboard: hide sidebar by default */
  .bkh-sidebar {
    transform: translateX(-100%);
  }

  .bkh-sidebar.bkh-sidebar--open {
    transform: translateX(0);
    box-shadow: var(--bkh-shadow-md);
  }

  .bkh-main-content {
    margin-left: 0;
  }

  .bkh-sidebar-toggle {
    display: flex;
  }

  /* Auth cards */
  .bkh-auth-card {
    padding: 1.75rem 1.25rem;
  }

  /* Table horizontal scroll hint */
  .bkh-table-responsive {
    -webkit-overflow-scrolling: touch;
  }

  /* Content body */
  .bkh-content-body {
    padding: 1rem;
  }
}

/* Sidebar overlay on mobile */
.bkh-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 150;
}

.bkh-sidebar-overlay.bkh-sidebar-overlay--visible {
  display: block;
}

/* ============================================================
   DASHBOARD – AMENITIES ACCORDION  (redesigned)
   ============================================================ */

/* Outer field label */
.bkh-field > label:first-child {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--bkh-text-muted);
}

/* Stack of accordion groups with a small gap between each */
.bkh-comodidades-group {
  margin-bottom: .5rem;
  border-radius: 4px;
  border: 1px solid var(--bkh-border);
  background: var(--bkh-surface);
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}

.bkh-comodidades-group:focus-within,
.bkh-comodidades-group:hover {
  border-color: var(--bkh-primary);
}

/* ---- Accordion trigger (category header) ---- */
.bkh-accordion-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  padding: .75rem 1rem;
  background: var(--bkh-surface-alt);
  border: none;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
  color: var(--bkh-text);
  text-align: left;
  transition: background .15s, color .15s, border-left-color .15s;
  gap: .5rem;
  letter-spacing: .01em;
  border-left: 3px solid transparent;
}

.bkh-accordion-trigger:hover {
  background: #eef2ff;
  color: var(--bkh-primary);
  border-left-color: var(--bkh-primary);
}

.bkh-accordion--open .bkh-accordion-trigger {
  background: #eef2ff;
  color: var(--bkh-primary);
  border-left: 3px solid var(--bkh-primary);
}

/* Label – grows to fill available space */
.bkh-accordion-label {
  flex: 1;
}

/* Pill badge: count of selected items (shown when group has checked items) */
.bkh-accordion-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
  background: rgba(37, 99, 235, .12);
  font-size: .7rem;
  font-weight: 700;
  color: var(--bkh-primary);
  flex-shrink: 0;
}

.bkh-accordion--open .bkh-accordion-badge {
  background: var(--bkh-primary);
  color: #fff;
}

/* Chevron arrow */
.bkh-accordion-arrow {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
  flex-shrink: 0;
  margin-bottom: 2px;
  opacity: .7;
}

.bkh-accordion--open .bkh-accordion-arrow {
  transform: rotate(-135deg);
  margin-bottom: -2px;
  opacity: 1;
}

/* ---- Accordion body (collapsible content) ---- */
.bkh-accordion-body {
  display: none;
  padding: 1rem;
  background: var(--bkh-surface);
  border-top: 1px solid var(--bkh-border);
  border-left: 3px solid var(--bkh-primary);
}

.bkh-accordion--open .bkh-accordion-body {
  display: block;
}

/* ---- Item grid ---- */
.bkh-comodidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: .6rem;
  margin-top: .25rem;
}

/* Each amenity card */
.bkh-comodidad-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .75rem .5rem;
  border: 2px solid var(--bkh-border);
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  color: var(--bkh-text-muted);
  background: var(--bkh-surface);
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s, transform .1s;
  user-select: none;
  -webkit-user-select: none;
  min-height: 72px;
}

.bkh-comodidad-label:hover {
  border-color: var(--bkh-primary);
  color: var(--bkh-primary);
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
  transform: translateY(-1px);
}

.bkh-comodidad-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.bkh-comodidad-label:has(input:checked) {
  background: var(--bkh-primary);
  border-color: var(--bkh-primary);
  color: #fff;
  box-shadow: 0 3px 8px rgba(37,99,235,.3);
  transform: translateY(-1px);
}

/* Icon area – larger and centered */
.bkh-comodidad-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

/* On very small screens collapse to a 2-column grid */
@media (max-width: 480px) {
  .bkh-comodidades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   DASHBOARD – GALLERY PREVIEW
   ============================================================ */
.bkh-gallery-preview {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .75rem;
}

.bkh-gallery-thumb {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--bkh-radius);
  overflow: hidden;
  border: 1.5px solid var(--bkh-border);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

.bkh-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--bkh-radius);
  display: block;
  transition: transform .25s ease;
}

.bkh-gallery-thumb:hover img {
  transform: scale(1.06);
}

.bkh-gallery-remove,
.bkh-gallery-thumb .bkh-gallery-remove {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  background: #dc2626 !important;
  background-color: #dc2626 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-size: 0 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.45) !important;
  opacity: 1 !important;
  transition: background .18s ease, transform .18s ease !important;
  z-index: 3 !important;
  pointer-events: auto !important;
  text-decoration: none !important;
  outline: none !important;
}

.bkh-gallery-remove:hover,
.bkh-gallery-thumb .bkh-gallery-remove:hover {
  background: #b91c1c !important;
  background-color: #b91c1c !important;
  transform: scale(1.15) !important;
}

.bkh-gallery-remove svg,
.bkh-gallery-thumb .bkh-gallery-remove svg {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
  stroke: #fff !important;
  fill: none !important;
}

.bkh-url-upload-field {
  margin-top: .75rem;
}

/* ============================================================
   SINGLE CASA VACACIONAL PAGE
   ============================================================ */
.bkh-single-casa {
  font-family: var(--bkh-font);
  color: var(--bkh-text);
  background: var(--bkh-bg);
}

/* Header */
.bkh-single-header {
  background: var(--bkh-surface);
  border-bottom: 1px solid var(--bkh-border);
  padding: 0.75rem 0;
}

.bkh-single-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.bkh-single-header-left {
  flex: 1 1 auto;
  min-width: 0;
}

.bkh-header-owner {
  flex-shrink: 0;
  align-self: center;
  margin: 0 0 0 auto;
}

.bkh-single-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bkh-text);
  margin-bottom: .25rem;
}

.bkh-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.bkh-single-meta-item {
  font-size: .95rem;
  color: var(--bkh-text-muted);
}

.bkh-single-precio {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bkh-primary);
}

.bkh-single-precio small {
  font-weight: 400;
  font-size: .8rem;
  color: var(--bkh-text-muted);
}

/* Gallery Grid */
.bkh-single-gallery {
  max-width: 1400px;
  margin: 1.5rem auto;
  padding: 0 1.5rem;
}

.bkh-gallery-grid {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: .5rem;
  border-radius: var(--bkh-radius-lg);
  overflow: hidden;
}

.bkh-gallery-cell {
  overflow: hidden;
  background: #e2e8f0;
}

.bkh-gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.bkh-gallery-cell:hover img {
  transform: scale(1.03);
}

/* Main image spans 2 rows */
.bkh-gallery-cell--main {
  grid-column: 1;
  grid-row: 1 / 3;
  max-height: 460px;
  position: relative;
}

/* Remaining cells share the right two columns */
.bkh-gallery-cell:not(.bkh-gallery-cell--main) {
  height: 220px;
}

/* Body: 2-column layout */
.bkh-single-body {
  max-width: 1400px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 2rem;
  align-items: start;
}

/* Sections */
.bkh-single-section {
  margin-bottom: 2rem;
}

.bkh-single-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bkh-text);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--bkh-border);
}

.bkh-single-description {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--bkh-text);
}

/* Amenities */
/* Amenities – Airbnb style */
.bkh-amenities-preview {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .1rem 1rem;
  margin: 0 0 1.5rem;
}

.bkh-amenity-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--bkh-border);
  font-size: .95rem;
  font-weight: 400;
  color: var(--bkh-text);
  line-height: 1.4;
  min-width: 0;
}

.bkh-amenity-item:hover {
  color: var(--bkh-text);
}

.bkh-amenity-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
  width: 1.75rem;
  text-align: center;
}

.bkh-amenity-name {
  overflow-wrap: break-word;
  word-break: break-word;
}

.bkh-amenities-show-all {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .5rem;
  padding: .75rem 1.4rem;
  background: var(--bkh-surface-alt, #f1f5f9);
  border: 1px solid var(--bkh-border);
  border-radius: 8px;
  color: var(--bkh-text);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
  min-height: 44px;
}

.bkh-amenities-show-all:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

/* Amenities Modal */
.bkh-amenities-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 640px) {
  .bkh-amenities-modal {
    align-items: center;
  }
}

.bkh-amenities-modal-overlay {
  position: absolute;
  inset: 0;
  background: var(--bkh-overlay, rgba(15,23,42,.6));
}

.bkh-amenities-modal-panel {
  position: relative;
  background: var(--bkh-surface, #fff);
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

@media (min-width: 640px) {
  .bkh-amenities-modal-panel {
    border-radius: 16px;
    max-height: 85vh;
  }
}

.bkh-amenities-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--bkh-border);
  flex-shrink: 0;
}

.bkh-amenities-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--bkh-text);
}

.bkh-amenities-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 0;
  background: transparent;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--bkh-text);
  transition: background .2s;
  flex-shrink: 0;
}

.bkh-amenities-modal-close:hover {
  background: var(--bkh-surface-alt, #f1f5f9);
}

.bkh-amenities-modal-body {
  overflow-y: auto;
  padding: 1.5rem;
  flex: 1 1 auto;
}

.bkh-amenity-modal-group {
  margin-bottom: 2rem;
}

.bkh-amenity-modal-group:last-child {
  margin-bottom: 0;
}

.bkh-amenity-modal-group-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--bkh-text);
}

.bkh-amenities-modal-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.bkh-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .bkh-amenities-preview,
  .bkh-amenities-modal-list {
    grid-template-columns: 1fr;
  }
}}

/* Map */
.bkh-single-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--bkh-radius);
}

/* Video */
.bkh-single-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--bkh-radius);
}

.bkh-single-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Booking widget sticky */
.bkh-booking-widget--sticky {
  position: static;
}

.bkh-widget-precio {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bkh-primary);
  margin-bottom: 1rem;
}

.bkh-widget-precio small {
  font-size: .8rem;
  font-weight: 400;
  color: var(--bkh-text-muted);
}

/* ============================================================
   SINGLE PAGE – RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .bkh-single-body {
    grid-template-columns: 1fr;
  }

  .bkh-single-right {
    order: -1;
  }

  .bkh-booking-widget--sticky {
    position: static;
  }
}

@media (max-width: 640px) {
  .bkh-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bkh-gallery-cell--main {
    grid-column: 1 / 3;
    grid-row: 1;
    max-height: 260px;
  }

  .bkh-gallery-cell:not(.bkh-gallery-cell--main) {
    height: 140px;
  }

  .bkh-single-title {
    font-size: 1.4rem;
  }

  .bkh-single-header-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .bkh-single-header-left {
    flex: 1 1 0;
    min-width: 0;
  }

  .bkh-header-owner {
    flex-shrink: 0;
    align-self: center;
  }

  .bkh-header-owner .bkh-owner-avatar-img {
    width: 52px !important;
    height: 52px !important;
  }

  .bkh-header-owner .bkh-owner-label {
    font-size: .72rem;
  }

  .bkh-header-owner .bkh-owner-name {
    font-size: .95rem;
  }

  .bkh-header-owner .bkh-owner-since {
    font-size: .72rem;
  }

  .bkh-owner-profile-mobile {
    display: none;
  }

}

/* ============================================================
   OWNER PROFILE
   ============================================================ */
.bkh-owner-section {
  border-bottom: 1px solid var(--bkh-border);
  padding-bottom: 1.5rem;
}

.bkh-owner-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}


.bkh-owner-profile-mobile {
  display: none;
  padding: 1rem 1.5rem 0;
  justify-content: flex-start;
}

.bkh-owner-avatar {
  flex-shrink: 0;
}

.bkh-owner-avatar-img {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bkh-border);
}

.bkh-owner-info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.bkh-owner-label {
  font-size: .9rem;
  color: var(--bkh-text-muted);
  margin: 0;
}

.bkh-owner-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bkh-text);
  margin: 0;
}

.bkh-owner-since {
  font-size: .9rem;
  color: var(--bkh-text-muted);
  margin: 0;
}

/* ============================================================
   HOUSE RULES
   ============================================================ */
.bkh-rules-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem 1.5rem;
}

.bkh-rule-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: var(--bkh-text);
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.bkh-rule-icon {
  color: var(--bkh-success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1rem;
}

@media (max-width: 600px) {
  .bkh-rules-list {
    grid-template-columns: 1fr;
  }
}

.bkh-rules-show-more {
  margin-top: 1rem;
  background: transparent;
  border: 1.5px solid var(--bkh-primary, #D4AF37);
  color: var(--bkh-primary, #D4AF37);
  font-size: .88rem;
  font-weight: 600;
  padding: .55rem 1.25rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.bkh-rules-show-more:hover {
  background: var(--bkh-primary, #D4AF37);
  color: #1A1A2E;
}

/* Rules modal (reuses the amenities modal styles) */
.bkh-rules-modal .bkh-rules-list {
  grid-template-columns: 1fr;
}

/* ============================================================
   DATE RANGE PICKER (Flatpickr overrides)
   ============================================================ */
.bkh-date-range-wrap {
  margin-bottom: 1rem;
}

.bkh-date-range-label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--bkh-text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .4rem;
}

.bkh-date-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  overflow: hidden;
}

.bkh-date-field {
  display: flex;
  flex-direction: column;
  padding: .6rem .85rem;
}

.bkh-date-field:first-child {
  border-right: 1px solid var(--bkh-border);
}

.bkh-date-field-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--bkh-text);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .2rem;
}

.bkh-date-input {
  border: none !important;
  padding: 0 !important;
  font-size: .92rem;
  color: var(--bkh-text);
  background: transparent;
  font-family: var(--bkh-font);
  cursor: pointer;
}

.bkh-date-input:focus {
  outline: none;
  box-shadow: none !important;
}

.bkh-date-error {
  color: var(--bkh-danger);
  font-size: .82rem;
  margin-top: .4rem;
}

/* Flatpickr calendar tweaks */
.flatpickr-day.disabled,
.flatpickr-day.disabled:hover {
  background: #dc2626 !important;
  color: #fff !important;
  text-decoration: none;
  cursor: not-allowed;
  border-radius: 4px;
  opacity: 1;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--bkh-primary) !important;
  border-color: var(--bkh-primary) !important;
}

.flatpickr-day.inRange {
  background: #dbeafe !important;
  box-shadow: -5px 0 0 #dbeafe, 5px 0 0 #dbeafe !important;
}

/* ============================================================
   GUEST SELECTOR
   ============================================================ */
.bkh-guest-selector {
  margin-bottom: 1rem;
  border: 1.5px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  overflow: hidden;
}

.bkh-guest-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--bkh-text);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .6rem .85rem .2rem;
}

.bkh-guest-row {
  display: flex;
  flex-direction: column;
}

.bkh-guest-type {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem .85rem;
  border-top: 1px solid var(--bkh-border);
}

.bkh-guest-type:first-child {
  border-top: none;
}

.bkh-guest-type-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.bkh-guest-type-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bkh-guest-type-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--bkh-text);
}

.bkh-guest-type-desc {
  font-size: .75rem;
  color: var(--bkh-text-muted);
}

.bkh-guest-counter {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

.bkh-counter-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--bkh-border);
  background: var(--bkh-surface);
  color: var(--bkh-text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, color .15s;
}

.bkh-counter-btn:hover {
  border-color: var(--bkh-primary);
  color: var(--bkh-primary);
}

.bkh-counter-val {
  min-width: 20px;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: var(--bkh-text);
}

.bkh-guest-capacity {
  font-size: .78rem;
  color: #cc0000;
  padding: .4rem .85rem .6rem;
  margin: 0;
  border-top: 1px solid var(--bkh-border);
}

/* ============================================================
   BOOKING FORM (guest info + payment)
   ============================================================ */
.bkh-btn-reservar {
  margin-bottom: .75rem;
}

.bkh-booking-form-wrap {
  margin-top: .5rem;
}

.bkh-booking-form-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bkh-text);
  margin-bottom: .85rem;
}

.bkh-booking-form {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1rem;
}

.bkh-payment-section {
  border-top: 1px solid var(--bkh-border);
  padding-top: 1rem;
  margin-top: .5rem;
  margin-bottom: 1rem;
}

.bkh-payment-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--bkh-text);
  margin-bottom: .4rem;
}

.bkh-payment-desc {
  font-size: .82rem;
  color: var(--bkh-text-muted);
  margin-bottom: .75rem;
}

.bkh-search-bar-wrap {
  margin-bottom: 1.25rem;
}

.bkh-input {
  padding: .55rem .85rem;
  border: 1.5px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  font-size: .9rem;
  font-family: var(--bkh-font);
  color: var(--bkh-text);
  background: var(--bkh-surface);
  transition: border-color .15s;
  width: 100%;
}

.bkh-input:focus {
  outline: none;
  border-color: var(--bkh-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

textarea.bkh-input {
  resize: vertical;
  min-height: 72px;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.bkh-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.bkh-lightbox-open {
  overflow: hidden;
}

/* Top bar: counter on the left, close button on the right */
.bkh-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1rem;
  flex-shrink: 0;
  background: rgba(0,0,0,.35);
}

/* Stage: prev button, image, next button */
.bkh-lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 0;
  padding: .5rem;
}

.bkh-lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 0;
}

.bkh-lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
  display: block;
}

.bkh-lightbox-counter {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  margin: 0;
  font-weight: 500;
}

.bkh-lightbox-close,
.bkh-lightbox-prev,
.bkh-lightbox-next {
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.bkh-lightbox-close:hover,
.bkh-lightbox-prev:hover,
.bkh-lightbox-next:hover {
  background: rgba(255,255,255,.25);
}

.bkh-lightbox-close {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
}

.bkh-lightbox-prev,
.bkh-lightbox-next {
  width: 50px;
  height: 50px;
  font-size: 1.6rem;
}

/* Gallery cells are clickable */
.bkh-gallery-cell a.bkh-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  position: relative;
}

/* "More images" overlay on the last visible cell */
.bkh-gallery-cell--more a.bkh-lightbox-trigger::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: background .3s ease;
}

.bkh-gallery-cell--more:hover a.bkh-lightbox-trigger::after {
  background: rgba(0, 0, 0, 0.55);
}

.bkh-gallery-more-badge {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  pointer-events: none;
}

@media (max-width: 640px) {
  .bkh-lightbox-stage {
    gap: .15rem;
    padding: .25rem;
  }

  .bkh-lightbox-prev,
  .bkh-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}

/* ============================================================
   EDIT PROFILE
   ============================================================ */
.bkh-profile-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bkh-surface-alt);
  border-radius: var(--bkh-radius);
  border: 1px solid var(--bkh-border);
}

.bkh-profile-avatar {
  width: 96px !important;
  height: 96px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bkh-border);
  flex-shrink: 0;
}

.bkh-profile-avatar-info {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.bkh-profile-readonly {
  background: var(--bkh-surface-alt);
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  padding: .75rem 1rem;
}

.bkh-profile-readonly label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--bkh-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  display: block;
  margin-bottom: .25rem;
}

.bkh-profile-username {
  font-size: 1rem;
  font-weight: 600;
  color: var(--bkh-text);
  margin: 0;
}

/* ============================================================
   SEASONAL PRICING (TEMPORADAS)
   ============================================================ */
.bkh-temporadas-desc {
  font-size: .9rem;
  color: var(--bkh-text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* Alta / Baja info boxes */
.bkh-temporadas-tipo-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .bkh-temporadas-tipo-info { grid-template-columns: 1fr; }
}

.bkh-tipo-info-box {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem 1rem;
  border-radius: var(--bkh-radius);
  border: 1px solid transparent;
}

.bkh-tipo-info-box--alta {
  background: #fffbeb;
  border-color: #fde68a;
}

.bkh-tipo-info-box--baja {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.bkh-tipo-info-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.bkh-tipo-info-box strong {
  display: block;
  font-size: .9rem;
  margin-bottom: .2rem;
  color: var(--bkh-text);
}

.bkh-tipo-info-box p {
  font-size: .8rem;
  color: var(--bkh-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Color field */
.bkh-color-field-wrap {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.bkh-temp-color-input {
  width: 52px;
  height: 40px;
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  padding: 2px 3px;
  cursor: pointer;
  background: none;
  flex-shrink: 0;
}

.bkh-color-field-hint {
  font-size: .78rem;
  color: var(--bkh-text-muted);
}

/* Tipo button group (season type selector) */
.bkh-field--tipo {
  margin-bottom: 1rem;
}

.bkh-tipo-btn-group {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.bkh-tipo-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: var(--bkh-radius);
  border: 2px solid var(--bkh-border);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 500;
  transition: border-color .15s, background .15s;
  user-select: none;
}

.bkh-tipo-btn input[type="radio"] {
  display: none;
}

.bkh-tipo-btn--alta {
  background: #fffbeb;
  border-color: #fde68a;
  color: #854d0e;
}

.bkh-tipo-btn--alta.bkh-tipo-btn--active,
.bkh-tipo-btn--alta:has(input:checked) {
  background: #fef08a;
  border-color: #ca8a04;
}

.bkh-tipo-btn--baja {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.bkh-tipo-btn--baja.bkh-tipo-btn--active,
.bkh-tipo-btn--baja:has(input:checked) {
  background: #bfdbfe;
  border-color: #3b82f6;
}

/* Tipo select (add-form dropdown) */
.bkh-tipo-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  max-width: 320px;
  padding: .5rem 2.5rem .5rem 1rem;
  border-radius: var(--bkh-radius);
  border: 2px solid var(--bkh-border);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  transition: border-color .15s, background-color .15s, color .15s;
  color: #6b7280;
}

.bkh-tipo-select:focus {
  outline: none;
  border-color: var(--bkh-primary, #e91e8c);
  box-shadow: 0 0 0 3px rgba(233,30,140,.1);
}

.bkh-tipo-select[data-tipo="alta"] {
  background-color: #fef08a;
  border-color: #ca8a04;
  color: #854d0e;
}

.bkh-tipo-select[data-tipo="baja"] {
  background-color: #bfdbfe;
  border-color: #3b82f6;
  color: #1e40af;
}

.bkh-tipo-select:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* Tipo badge (in season list) */
.bkh-tipo-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .6rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
}

.bkh-tipo-badge--alta {
  background: #fef08a;
  color: #854d0e;
  border: 1px solid #fde047;
}

.bkh-tipo-badge--baja {
  background: #bfdbfe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.bkh-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Season calendar */
.bkh-season-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  min-height: 80px;
}

.bkh-temporadas-empty-cal {
  font-size: .88rem;
  color: var(--bkh-text-muted);
  margin-bottom: .75rem;
}

.bkh-season-month {
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  overflow: hidden;
}

.bkh-season-month-header {
  background: var(--bkh-primary);
  color: #fff;
  text-align: center;
  padding: .5rem;
  font-size: .85rem;
  font-weight: 700;
  text-transform: capitalize;
}

.bkh-season-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: .5rem;
  background: var(--bkh-surface);
}

.bkh-season-day-label {
  font-size: .65rem;
  font-weight: 700;
  text-align: center;
  color: var(--bkh-text-muted);
  text-transform: uppercase;
  padding: .2rem 0;
}

.bkh-season-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  border-radius: 3px;
  position: relative;
  cursor: default;
}

.bkh-season-day--empty {
  background: transparent;
}

.bkh-season-day--normal {
  color: var(--bkh-text);
}

.bkh-season-day--season {
  cursor: pointer;
  transition: transform .1s ease, box-shadow .1s ease;
}

.bkh-season-day--season:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  z-index: 2;
}

.bkh-season-day--season:hover .bkh-season-tooltip {
  display: block;
}

.bkh-season-tooltip {
  display: none;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bkh-text);
  color: #fff;
  font-size: .65rem;
  padding: .25rem .5rem;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

/* Season list */
.bkh-temporadas-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.bkh-temporada-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .875rem 1rem;
  background: var(--bkh-surface-alt);
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  flex-wrap: wrap;
  transition: box-shadow .25s ease, transform .15s ease;
}

.bkh-temporada-item--highlighted {
  box-shadow: 0 0 0 3px currentColor, 0 4px 16px rgba(0,0,0,.12);
  transform: translateY(-1px);
}

/* Color dot */
.bkh-temporada-color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(0,0,0,.08);
}

.bkh-temporada-info {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1;
}

.bkh-temporada-nombre {
  font-weight: 700;
  font-size: .95rem;
  color: var(--bkh-text);
}

.bkh-temporada-dates,
.bkh-temporada-price {
  font-size: .82rem;
  color: var(--bkh-text-muted);
}

.bkh-temporada-price {
  color: var(--bkh-success);
  font-weight: 600;
}

/* Tipo badge */
.bkh-temporada-header-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

/* Discount label */
.bkh-temporada-discount {
  font-size: .82rem;
  color: #1d4ed8;
  font-weight: 600;
}

/* Temporada action buttons row */
.bkh-temporada-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Inline edit form */
.bkh-temporada-edit-wrap {
  background: var(--bkh-surface-alt);
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  padding: 1rem;
  margin-top: -.25rem;
}

/* Casa selector dropdown in Temporadas */
.bkh-casa-dropdown {
  max-width: 360px;
}

/* Locked form state when no casa is selected */
.bkh-temporada-form-locked {
  opacity: .45;
  pointer-events: none;
  user-select: none;
}

.bkh-temporada-select-hint {
  font-size: .9rem;
  color: var(--bkh-text-muted, #6b7280);
  margin-bottom: 1rem;
  padding: .5rem .75rem;
  background: var(--bkh-bg, #f9fafb);
  border-radius: var(--bkh-radius);
  border: 1px dashed var(--bkh-border);
}

.bkh-temporada-casa-label {
  font-size: .9em;
  font-weight: 400;
  color: var(--bkh-text-muted, #6b7280);
}

/* Season legend */
.bkh-season-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .75rem;
}

.bkh-season-legend-item {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .1s ease, box-shadow .1s ease;
}

.bkh-season-legend-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.bkh-checkout-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-family: var(--bkh-font);
  color: var(--bkh-text);
}

.bkh-checkout-back {
  margin-bottom: 1rem;
}

.bkh-checkout-back-link {
  color: var(--bkh-primary);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
}

.bkh-checkout-back-link:hover {
  text-decoration: underline;
}

.bkh-checkout-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--bkh-text);
}

.bkh-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 800px) {
  .bkh-checkout-layout {
    grid-template-columns: 1fr;
  }
  .bkh-checkout-right {
    order: -1;
  }
}

.bkh-checkout-card {
  background: var(--bkh-surface);
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--bkh-shadow);
}

.bkh-checkout-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--bkh-text);
}

.bkh-checkout-pay-desc {
  font-size: .9rem;
  color: var(--bkh-text-muted);
  margin-bottom: 1rem;
}

.bkh-checkout-error-msg {
  color: var(--bkh-danger);
  font-size: .875rem;
  margin-top: .5rem;
}

.bkh-btn-pay {
  font-size: 1.05rem;
  padding: .875rem 1.5rem;
}

.bkh-pay-now-actions {
  margin-top: 1.25rem;
}

.bkh-pay-now-actions .bkh-btn-pay {
  width: 100%;
  justify-content: center;
}

/* Summary card */
.bkh-checkout-summary-card {
  position: sticky;
  top: 1.5rem;
}

.bkh-checkout-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--bkh-radius);
  margin-bottom: 1rem;
}

.bkh-checkout-casa-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}

.bkh-checkout-casa-dir {
  font-size: .85rem;
  color: var(--bkh-text-muted);
  margin-bottom: .5rem;
}

.bkh-checkout-divider {
  border: none;
  border-top: 1px solid var(--bkh-border);
  margin: 1rem 0;
}

.bkh-checkout-price-breakdown {
  background: var(--bkh-bg);
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  padding: .75rem 1rem;
  margin-bottom: .5rem;
}

.bkh-checkout-breakdown-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--bkh-text);
  margin: 0 0 .5rem;
}

.bkh-checkout-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .4rem 0;
  font-size: .9rem;
  color: var(--bkh-text);
}

.bkh-checkout-price-breakdown .bkh-checkout-detail-row {
  border-bottom: 1px dashed var(--bkh-border);
}

.bkh-checkout-price-breakdown .bkh-checkout-detail-row:last-child {
  border-bottom: none;
}

.bkh-checkout-detail-row span {
  color: var(--bkh-text-muted);
}

.bkh-checkout-price-breakdown .bkh-checkout-detail-row span:last-child {
  font-weight: 600;
  color: var(--bkh-text);
}

.bkh-checkout-season-row span.bkh-checkout-season-extra {
  color: var(--bkh-warning);
  font-weight: 600;
}

.bkh-checkout-season-row small {
  display: block;
  font-size: .78rem;
  color: var(--bkh-text-muted);
  margin-top: .1rem;
}

.bkh-checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1rem;
  font-size: 1.1rem;
  color: var(--bkh-text);
  font-weight: 700;
  background: var(--bkh-bg);
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
}

.bkh-checkout-total-row strong {
  color: var(--bkh-primary);
  font-size: 1.25rem;
}

.bkh-checkout-error {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--bkh-danger);
}

/* ── Seasonal extra row in booking widget ── */
.bkh-season-extra-row td {
  color: #92400e;
  background: #fffbeb;
  font-size: .82rem;
}

/* ── Per-night breakdown rows in booking widget ── */
.bkh-daily-row td {
  font-size: .82rem;
  padding-top: .45rem;
  padding-bottom: .45rem;
}
.bkh-daily-row--regular td {
  color: #374151;
  background: #f9fafb;
}
.bkh-daily-row--alta td {
  color: #92400e;
  background: #fffbeb;
}
.bkh-daily-row--baja td {
  color: #1e40af;
  background: #eff6ff;
}
.bkh-daily-row--discount td {
  color: #e53e3e;
  background: #fff5f5;
  font-weight: 600;
}

/* ── Fee row in booking widget ── */
.bkh-fee-row td {
  color: #1d4ed8;
  background: #eff6ff;
  font-size: .85rem;
  font-weight: 600;
}

/* ── Fee notice / Pay-today notice ── */
.bkh-booking-fee-notice,
.bkh-pay-today-notice {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #86efac;
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .85rem;
  color: #15803d;
  margin-top: .75rem;
  line-height: 1.6;
  box-shadow: 0 1px 4px rgba(22,163,74,.12);
}

/* ── Fee row in checkout summary ── */
.bkh-checkout-fee-row {
  color: var(--bkh-primary);
  font-weight: 600;
}

/* ── Pay-today row in checkout summary ── */
.bkh-checkout-pay-today-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 1rem;
  font-size: .9rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--bkh-radius);
  margin-top: .5rem;
}

.bkh-checkout-fee-highlight {
  color: #16a34a;
  font-size: 1.05rem;
}

/* ── Remaining balance row in checkout summary ── */
.bkh-checkout-remaining-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 1rem;
  font-size: .9rem;
  background: #fef9f0;
  border: 1px solid #fcd34d;
  border-radius: var(--bkh-radius);
  margin-top: .35rem;
}

.bkh-checkout-remaining-highlight {
  color: #b45309;
  font-size: 1.05rem;
}

/* ── Terms & Conditions checkbox ── */
.bkh-terms-field {
  margin-top: .75rem;
  margin-bottom: .75rem;
}

.bkh-terms-label {
  display: flex;
  align-items: center;
  gap: .2rem;
  font-size: .9rem;
  line-height: 1.5;
  cursor: pointer;
}

.bkh-terms-checkbox {
  flex-shrink: 0;
  accent-color: var(--bkh-primary);
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.bkh-terms-label a {
  color: var(--bkh-primary);
  text-decoration: underline;
}

/* ── Popup fee row ── */
.bkh-popup-fee-row td {
  color: var(--bkh-primary);
  font-weight: 700;
}

.bkh-popup-pay-notice {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--bkh-radius);
  padding: .65rem .9rem;
  font-size: .82rem;
  color: #166534;
  margin: .75rem 0;
}

/* ============================================================
   PAYMENT CONFIRMATION POPUP
   ============================================================ */
.bkh-pay-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.bkh-overlay-open {
  overflow: hidden;
}

.bkh-pay-popup {
  background: var(--bkh-surface);
  border-radius: var(--bkh-radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  animation: bkh-popup-in .3s ease;
}

@keyframes bkh-popup-in {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.bkh-pay-popup-header {
  background: linear-gradient(135deg, #16a34a, #0ea5e9);
  padding: 2rem;
  text-align: center;
  color: #fff;
}

.bkh-pay-popup-icon {
  font-size: 3rem;
  margin-bottom: .75rem;
}

.bkh-pay-popup-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.bkh-pay-popup-header p {
  margin: .5rem 0 0;
  opacity: .9;
  font-size: .95rem;
}

.bkh-pay-popup-body {
  padding: 1.75rem;
}

.bkh-popup-detail {
  text-align: center;
  margin-bottom: 1rem;
}

.bkh-popup-id {
  display: inline-block;
  background: var(--bkh-surface-alt);
  border: 1px solid var(--bkh-border);
  border-radius: 999px;
  padding: .25rem .875rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--bkh-text);
}

.bkh-popup-table,
.bkh-popup-breakdown {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  margin-bottom: 1rem;
}

.bkh-popup-table th,
.bkh-popup-table td,
.bkh-popup-breakdown th,
.bkh-popup-breakdown td {
  padding: .5rem .75rem;
  border-bottom: 1px solid var(--bkh-border);
}

.bkh-popup-table th {
  text-align: left;
  color: var(--bkh-text-muted);
  font-weight: 500;
  width: 40%;
}

.bkh-popup-breakdown th {
  text-align: left;
  font-weight: 700;
  color: var(--bkh-text);
}

.bkh-popup-breakdown td:last-child {
  text-align: right;
}

.bkh-popup-total td {
  font-weight: 700;
  color: var(--bkh-primary);
  font-size: 1rem;
}

.bkh-popup-season-row td {
  color: var(--bkh-warning);
}

.bkh-popup-email-note {
  font-size: .82rem;
  color: var(--bkh-text-muted);
  text-align: center;
  margin-top: .5rem;
}

.bkh-pay-popup-footer {
  padding: 1rem 1.75rem 1.75rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.bkh-popup-wa-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .25rem;
}

.bkh-popup-wa-group-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--bkh-text-muted);
  margin-bottom: .15rem;
  text-align: center;
}

.bkh-btn-wa-group {
  justify-content: center;
  font-size: .85rem;
  padding: .45rem .9rem;
}

/* ============================================================
   RESERVA MODALS (Edit / Delete)
   ============================================================ */
.bkh-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.7);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.bkh-modal-overlay.bkh-chat-modal {
  display: none;
}

.bkh-modal-overlay.bkh-chat-modal.bkh-chat-modal--open {
  display: flex;
}

.bkh-modal-box {
  background: var(--bkh-surface);
  border-radius: var(--bkh-radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  padding: 2rem;
  width: 100%;
  max-width: 440px;
  animation: bkh-popup-in .25s ease;
}

.bkh-modal-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.bkh-modal-error {
  color: var(--bkh-danger);
  font-size: .875rem;
  margin-top: .5rem;
}

.bkh-modal-actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.bkh-reserva-actions {
  white-space: nowrap;
}

.bkh-reserva-actions .bkh-btn {
  margin-right: .25rem;
  margin-bottom: .25rem;
}

/* ── Action-button forced overrides (anti-Elementor) ── */
.bkh-table td .bkh-btn.bkh-btn-sm,
.bkh-reserva-actions .bkh-btn.bkh-btn-sm {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .3rem !important;
  padding: .3rem .65rem !important;
  font-size: .75rem !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  line-height: 1.4 !important;
  border-radius: 6px !important;
  border-width: 1.5px !important;
  border-style: solid !important;
  cursor: pointer !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transition: background-color .15s, border-color .15s, color .15s !important;
}

.bkh-table td .bkh-btn.bkh-btn-sm.bkh-btn-outline,
.bkh-reserva-actions .bkh-btn.bkh-btn-sm.bkh-btn-outline {
  background: transparent !important;
  color: var(--bkh-primary, #be185d) !important;
  border-color: var(--bkh-primary, #be185d) !important;
}

.bkh-table td .bkh-btn.bkh-btn-sm.bkh-btn-outline:hover,
.bkh-reserva-actions .bkh-btn.bkh-btn-sm.bkh-btn-outline:hover {
  background: var(--bkh-primary, #be185d) !important;
  color: #fff !important;
}

.bkh-table td .bkh-btn.bkh-btn-sm.bkh-btn-danger,
.bkh-reserva-actions .bkh-btn.bkh-btn-sm.bkh-btn-danger {
  background: var(--bkh-danger, #dc2626) !important;
  color: #fff !important;
  border-color: var(--bkh-danger, #dc2626) !important;
}

.bkh-table td .bkh-btn.bkh-btn-sm.bkh-btn-danger:hover,
.bkh-reserva-actions .bkh-btn.bkh-btn-sm.bkh-btn-danger:hover {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
}

/* "Pedir Review" star button – amber accent */
.bkh-table td .bkh-btn.bkh-btn-sm.bkh-btn-send-review,
.bkh-reserva-actions .bkh-btn.bkh-btn-sm.bkh-btn-send-review {
  color: #b45309 !important;
  border-color: #d97706 !important;
  background: transparent !important;
}

.bkh-table td .bkh-btn.bkh-btn-sm.bkh-btn-send-review:hover,
.bkh-reserva-actions .bkh-btn.bkh-btn-sm.bkh-btn-send-review:hover {
  background: #d97706 !important;
  border-color: #d97706 !important;
  color: #fff !important;
}

/* Detalles modal */
#bkh-detalles-modal .bkh-modal-box {
  max-width: 520px;
}

.bkh-detalles-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.bkh-detalles-table th,
.bkh-detalles-table td {
  padding: .5rem .75rem;
  border-bottom: 1px solid var(--bkh-border, #e2e8f0);
  text-align: left;
  vertical-align: top;
}

.bkh-detalles-table th {
  width: 40%;
  font-weight: 600;
  color: var(--bkh-text-muted, #64748b);
}

.bkh-detalles-table tr:last-child th,
.bkh-detalles-table tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   INTL-TEL-INPUT – Checkout phone field
   ============================================================ */
.bkh-iti-wrap {
  width: 100%;
}

.bkh-iti-wrap .iti {
  width: 100%;
}

.bkh-iti-wrap--split .iti {
  display: flex;
  align-items: stretch;
  gap: .6rem;
}

.bkh-iti-wrap .iti__tel-input {
  flex: 1;
  width: 100%;
  min-height: 42px;
  padding: .55rem .85rem;
  border: 1.5px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  font-size: .9rem;
  font-family: var(--bkh-font);
  color: var(--bkh-text);
  background: var(--bkh-surface);
  transition: border-color .15s;
}

.bkh-iti-wrap .iti__tel-input:focus {
  outline: none;
  border-color: var(--bkh-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.bkh-iti-wrap--split .iti__country-container,
.bkh-iti-wrap--split .iti__flag-container {
  position: static;
  inset: auto;
  height: auto;
}

.bkh-iti-wrap .iti__flag-container {
  z-index: 1;
  height: 100%;
}

.bkh-iti-wrap:not(.bkh-iti-wrap--split) .iti__selected-country-primary,
.bkh-iti-wrap:not(.bkh-iti-wrap--split) .iti__selected-flag,
.bkh-iti-wrap button.iti__selected-country,
.bkh-iti-wrap .iti__selected-country {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
}

.bkh-iti-wrap--split .iti__selected-country-primary,
.bkh-iti-wrap--split .iti__selected-flag {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 42px;
  min-width: 112px;
  padding: 0 .75rem;
  background: var(--bkh-surface-alt);
  border: 1.5px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.bkh-iti-wrap--split .iti--show-selected-dial-code .iti__tel-input,
.bkh-iti-wrap--split .iti--separate-dial-code .iti__tel-input {
  padding-left: .85rem;
}

.bkh-iti-wrap--split .iti--separate-dial-code .iti__selected-country-primary,
.bkh-iti-wrap--split .iti--separate-dial-code .iti__selected-flag {
  padding-right: .75rem;
}

.bkh-iti-wrap--split .iti--separate-dial-code .iti__selected-dial-code {
  margin-left: 6px;
  font-weight: 600;
  color: var(--bkh-text-muted);
}

.bkh-iti-wrap--split .iti__arrow {
  margin-left: 4px;
}

@media (max-width: 520px) {
  .bkh-iti-wrap--split .iti {
    gap: .45rem;
  }

  .bkh-iti-wrap--split .iti__selected-country-primary,
  .bkh-iti-wrap--split .iti__selected-flag {
    min-width: 100px;
    padding: 0 .6rem;
  }
}

.bkh-iti-wrap .iti__tel-input.bkh-input--error {
  border-color: var(--bkh-danger);
}

/* ============================================================
   OWNER RESERVATION CALENDAR (dashboard)
   ============================================================ */
.bkh-res-calendar-section {
  margin-top: 2rem;
}

.bkh-res-calendar-section .bkh-card-title {
  margin-bottom: 1rem;
}

.bkh-cal-controls {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.bkh-cal-casa-select {
  flex: 1;
  min-width: 180px;
  max-width: 320px;
}

.bkh-cal-nav {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.bkh-cal-month-label {
  font-size: .95rem;
  font-weight: 600;
  min-width: 140px;
  text-align: center;
  color: var(--bkh-text);
}

.bkh-cal-legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: .8rem;
  color: var(--bkh-text-muted);
  align-items: center;
}

.bkh-cal-legend-item {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.bkh-cal-legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

.bkh-cal-legend-dot--booked   { background: #3b82f6; }
.bkh-cal-legend-dot--blocked  { background: #f59e0b; }
.bkh-cal-legend-dot--today    { background: #e2e8f0; border: 2px solid #94a3b8; }

.bkh-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  overflow: hidden;
}

.bkh-cal-head {
  background: var(--bkh-surface-alt);
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--bkh-text-muted);
  padding: .5rem .25rem;
}

.bkh-cal-day {
  background: var(--bkh-surface);
  min-height: 48px;
  padding: .3rem .35rem;
  font-size: .8rem;
  cursor: default;
  position: relative;
  transition: background .12s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bkh-cal-day--other-month {
  background: var(--bkh-bg);
  color: var(--bkh-text-muted);
}

.bkh-cal-day--today {
  background: var(--bkh-surface-alt);
  font-weight: 700;
}

.bkh-cal-day--today .bkh-cal-day-num {
  background: var(--bkh-primary);
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
}

.bkh-cal-day--booked {
  background: #eff6ff;
  border-left: 3px solid #3b82f6;
}

.bkh-cal-day--blocked {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
}

.bkh-cal-day--booked.bkh-cal-day--blocked {
  background: #eff6ff;
  border-left: 3px solid #8b5cf6;
}

.bkh-cal-day--clickable {
  cursor: pointer;
}

.bkh-cal-day--clickable:hover {
  background: #f0fdf4;
}

.bkh-cal-day--past {
  opacity: .55;
  cursor: not-allowed;
}

.bkh-cal-day-num {
  font-size: .82rem;
  font-weight: 600;
  color: var(--bkh-text);
  line-height: 1.3;
}

.bkh-cal-event-dot {
  font-size: .62rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-top: 2px;
  padding: 1px 3px;
  border-radius: 3px;
  line-height: 1.3;
}

.bkh-cal-event-dot--booked {
  background: #3b82f6;
  color: #fff;
}

.bkh-cal-event-dot--blocked {
  background: #f59e0b;
  color: #fff;
}

.bkh-cal-block-motivo {
  display: block;
  font-size: .7rem;
  color: var(--bkh-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-top: .15rem;
  font-style: italic;
}

.bkh-cal-loading {
  text-align: center;
  padding: 2rem;
  color: var(--bkh-text-muted);
  font-size: .9rem;
}

.bkh-cal-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  color: var(--bkh-text-muted);
}

.bkh-cal-hint {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .82rem;
  font-weight: 500;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: .65rem .9rem;
  margin-top: 1rem;
  line-height: 1.5;
}

.bkh-cal-hint::before {
  content: "💡";
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .05em;
}

.bkh-cal-block-status {
  display: none;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  font-weight: 500;
  border-radius: 8px;
  padding: .6rem .9rem;
  margin-top: .6rem;
  line-height: 1.4;
  animation: bkhFadeIn .25s ease;
}

.bkh-cal-block-status--blocked {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-left: 4px solid #f59e0b;
  color: #92400e;
}

.bkh-cal-block-status--unblocked {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-left: 4px solid #22c55e;
  color: #166534;
}

@keyframes bkhFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .bkh-cal-day {
    min-height: 36px;
    padding: .2rem;
  }

  .bkh-cal-event-dot {
    display: none;
  }
}

/* ==========================================================================
   Map – Pin Picker (Dashboard) & Display (Single Listing)
   ========================================================================== */

/* Shared map container base */
.bkh-map-picker,
.bkh-single-map-leaflet {
  width: 100%;
  border-radius: var(--bkh-radius);
  border: 1px solid var(--bkh-border);
  overflow: hidden;
  isolation: isolate;
  position: relative;
  z-index: 0;
}

/* Dashboard pin-picker height */
.bkh-map-picker {
  height: 340px;
  cursor: crosshair;
}

/* Single listing map height */
.bkh-single-map-leaflet {
  height: 380px;
}

/* Hint text below the picker */
.bkh-field-hint {
  font-size: .85rem;
  color: var(--bkh-text-muted);
  margin-bottom: .5rem;
}

/* Live coordinate readout */
.bkh-map-coords {
  font-size: .8rem;
  color: var(--bkh-text-muted);
  margin-top: .4rem;
}

/* Privacy notice on single listing */
.bkh-map-notice {
  font-size: .875rem;
  color: var(--bkh-text-muted);
  margin-bottom: .75rem;
}

@media (max-width: 640px) {
  .bkh-map-picker        { height: 260px; }
  .bkh-single-map-leaflet { height: 280px; }
}

/* ============================================================
   VACATION MODE
   ============================================================ */

/* Badge in the casa card */
.bkh-badge--vacaciones {
  background: #fff7ed;
  color: #c2410c;
  display: block;
  margin: .25rem 0 .5rem;
}

/* Toggle button – default (inactive) state */
.bkh-btn-vacation {
  background: transparent;
  color: var(--bkh-warning);
  border-color: var(--bkh-warning);
}

.bkh-btn-vacation:hover {
  background: var(--bkh-warning);
  color: #fff;
}

/* Toggle button – active (vacation mode ON) state */
.bkh-btn-vacation--active {
  background: var(--bkh-warning);
  color: #fff;
  border-color: var(--bkh-warning);
}

.bkh-btn-vacation--active:hover {
  background: #b45309;
  border-color: #b45309;
}

/* Vacation notice inside booking widget */
.bkh-vacation-notice {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--bkh-radius);
}

.bkh-vacation-notice-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: .75rem;
}

.bkh-vacation-notice p {
  color: #c2410c;
  font-weight: 600;
  margin-bottom: .25rem;
}

.bkh-vacation-notice-sub {
  font-weight: 400 !important;
  font-size: .875rem;
  color: var(--bkh-text-muted) !important;
}

/* ============================================================
   TUTORIALS TAB
   ============================================================ */
.bkh-tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.bkh-tutorial-card {
  background: var(--bkh-surface);
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--bkh-shadow);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.bkh-tutorial-card-icon {
  font-size: 2rem;
}

.bkh-tutorial-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bkh-text);
}

.bkh-tutorial-card-body {
  font-size: .875rem;
  color: var(--bkh-text-muted);
  line-height: 1.6;
  flex: 1;
}

.bkh-tutorials-intro {
  font-size: .95rem;
  color: var(--bkh-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.bkh-tutorials-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bkh-text);
  margin: 1.25rem 0 .75rem;
}

.bkh-tutorials-divider {
  border: none;
  border-top: 1px solid var(--bkh-border);
  margin: 1.75rem 0;
}

/* Video tutorial cards – single column on small screens, two on wider */
.bkh-tutorials-grid--video {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .bkh-tutorials-grid--video {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  }
}

.bkh-tutorial-card--video {
  padding: 0;
  overflow: hidden;
}

.bkh-tutorial-card--video .bkh-tutorial-card-title,
.bkh-tutorial-card--video .bkh-tutorial-card-body {
  padding: 0 1.25rem;
}

.bkh-tutorial-card--video .bkh-tutorial-card-title {
  padding-top: 1rem;
}

.bkh-tutorial-card--video .bkh-tutorial-card-body {
  padding-bottom: 1.25rem;
}

/* Responsive 16:9 YouTube iframe wrapper */
.bkh-tutorial-card-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}

.bkh-tutorial-card-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   DISPONIBILIDAD MODULE
   ============================================================ */

.bkh-disponibilidad-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1rem;
}

.bkh-disp-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  padding: .75rem 1rem;
  transition: border-color .2s;
}

.bkh-disp-row--bloqueada {
  border-color: #fca5a5;
  background: #fff5f5;
}

.bkh-disp-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bkh-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bkh-disp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bkh-disp-placeholder {
  font-size: 1.75rem;
}

.bkh-disp-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.bkh-disp-name {
  font-weight: 600;
  font-size: .95rem;
  color: var(--bkh-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bkh-disp-location {
  font-size: .8rem;
  color: var(--bkh-text-light);
}

.bkh-disp-status {
  font-size: .78rem;
  font-weight: 600;
  padding: .15rem .5rem;
  border-radius: 999px;
  display: inline-block;
  width: fit-content;
}

.bkh-disp-status--on {
  background: #dcfce7;
  color: #15803d;
}

.bkh-disp-status--off {
  background: #fee2e2;
  color: #b91c1c;
}

.bkh-disp-action {
  flex-shrink: 0;
}

/* Bloqueo toggle button */
.bkh-btn-bloqueo {
  background: transparent;
  color: var(--bkh-danger);
  border-color: var(--bkh-danger);
}

.bkh-btn-bloqueo:hover {
  background: var(--bkh-danger);
  color: #fff;
}

.bkh-btn-bloqueo--active {
  background: #15803d;
  color: #fff;
  border-color: #15803d;
}

.bkh-btn-bloqueo--active:hover {
  background: #166534;
  border-color: #166534;
}

/* Badge in mis-casas card */
.bkh-badge--bloqueada {
  background: #fee2e2;
  color: #b91c1c;
  display: block;
  margin: .25rem 0 .5rem;
}

.bkh-badge--pending {
  background: #fef9c3;
  color: #854d0e;
  display: block;
  margin: .25rem 0 .5rem;
}

@media (max-width: 480px) {
  .bkh-disp-row {
    flex-wrap: wrap;
  }
  .bkh-disp-action {
    width: 100%;
  }
  .bkh-disp-action .bkh-btn {
    width: 100%;
  }
}

/* ============================================================
   CONTACTANOS FORM
   ============================================================ */
.bkh-contact-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.bkh-contact-hero {
  text-align: center;
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: var(--bkh-radius-lg);
  margin-bottom: 1rem;
}

.bkh-contact-hero-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: .3rem;
}

.bkh-contact-hero-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bkh-text);
  margin-bottom: .5rem;
}

.bkh-contact-hero-desc {
  font-size: .9rem;
  color: var(--bkh-text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.bkh-contact-card {
  max-width: none;
}

/* Phone read-only field */
.bkh-contact-phone-wrap {
  position: relative;
}

.bkh-contact-phone-icon {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
}

.bkh-contact-phone-input {
  padding: .625rem .875rem .625rem 2.25rem !important;
  border: 1.5px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  font-size: .95rem;
  font-family: var(--bkh-font);
  color: var(--bkh-text-muted);
  background: var(--bkh-surface-alt);
  width: 100%;
  cursor: default;
}

/* Upload zone */
.bkh-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 1.5rem 1rem;
  border: 2px dashed var(--bkh-border);
  border-radius: var(--bkh-radius);
  background: var(--bkh-surface-alt);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  text-align: center;
}

.bkh-upload-zone:hover {
  border-color: var(--bkh-primary);
  background: var(--bkh-accent-soft);
}

.bkh-upload-zone--has-file {
  border-color: var(--bkh-success);
  background: #f0fdf4;
}

.bkh-upload-icon {
  font-size: 1.75rem;
}

.bkh-upload-text {
  font-size: .9rem;
  font-weight: 600;
  color: var(--bkh-text);
  overflow-wrap: break-word;
  word-break: break-word;
}

.bkh-upload-hint {
  font-size: .78rem;
  color: var(--bkh-text-muted);
}

/* Message counter */
#bkh-msg-counter-wrap {
  text-align: right;
  font-size: .78rem;
  color: var(--bkh-text-muted);
}

/* Submit button */
.bkh-contact-submit {
  min-width: 180px;
  justify-content: center;
}

/* ========================================================
   Todas las Propiedades tab
   ======================================================== */

.bkh-badge--count {
  background: var(--bkh-primary);
  color: #fff;
  font-size: .8rem;
  padding: 2px 10px;
  border-radius: 20px;
  align-self: center;
}

/* Notification count badge on sidebar nav items */
.bkh-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  background: #e53e3e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1;
  vertical-align: middle;
}

/* "Tipo" badge in Mis Promotores table */
.bkh-tipo-badge--promotor {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #e8e3dc;
  color: #5a4a3a;
}

.bkh-tipo-badge--agente {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #1a1a2e;
  color: #fff;
}


.bkh-todas-props-search-wrap {
  margin-bottom: 1rem;
}

.bkh-todas-props-search {
  max-width: 420px;
}

.bkh-todas-props-table-wrap {
  overflow-x: auto;
  border-radius: var(--bkh-radius);
  box-shadow: var(--bkh-shadow);
}

.bkh-todas-props-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bkh-surface);
  font-size: .88rem;
}

.bkh-todas-props-table th,
.bkh-todas-props-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--bkh-border);
}

.bkh-todas-props-table th {
  background: var(--bkh-bg);
  font-weight: 600;
  color: var(--bkh-text-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

.bkh-todas-props-table tbody tr:hover {
  background: var(--bkh-bg);
}

.bkh-todas-props-table .bkh-prop-titulo strong {
  color: var(--bkh-text);
}

/* Owner info section in the casa form */
.bkh-owner-info-section {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 2px dashed var(--bkh-border);
  border-radius: var(--bkh-radius);
  background: var(--bkh-bg);
}

.bkh-owner-info-section h4 {
  margin: 0 0 .35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bkh-text);
}

/* ==========================================================================
   OFERTAS DE TEMPORADA – Shortcode [bkh_ofertas_temporada]
   Santorini-blue aesthetic to match the reference design
   ========================================================================== */

/* ── Wrapper ── */
.bkh-ofertas-wrap {
  font-family: var(--bkh-font);
  color: var(--bkh-text);
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

/* ── Header ── */
.bkh-ofertas-header {
  text-align: center;
  margin-bottom: 2.25rem;
  padding: 2rem 1rem 1.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 60%, #f0f9ff 100%);
  border-radius: var(--bkh-radius-lg);
  border: 1px solid #bfdbfe;
}

.bkh-ofertas-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--bkh-primary);
  margin: 0 0 .5rem;
  letter-spacing: -.02em;
}

.bkh-ofertas-subheadline {
  font-size: 1.05rem;
  color: var(--bkh-text-muted);
  margin: 0;
}

/* ── Controls bar (search + filters) ── */
.bkh-ofertas-controls {
  display: flex;
  flex-wrap: nowrap;
  gap: .75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.bkh-ofertas-search-wrap {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  background: var(--bkh-surface);
  padding: 0 .9rem 0 .85rem;
  transition: border-color .15s, box-shadow .15s;
}

.bkh-ofertas-search-wrap:focus-within {
  border-color: var(--bkh-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.bkh-ofertas-search-icon {
  font-size: 1rem;
  pointer-events: none;
  line-height: 1;
  flex-shrink: 0;
  margin-right: .45rem;
}

.bkh-ofertas-search {
  width: 100%;
  padding: .65rem 0;
  border: none;
  outline: none;
  font-size: .95rem;
  font-family: var(--bkh-font);
  color: var(--bkh-text);
  background: transparent;
}

.bkh-ofertas-search:focus {
  outline: none;
}

.bkh-ofertas-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: .6rem;
  align-items: center;
}

.bkh-ofertas-select {
  padding: .62rem .9rem;
  border: 1.5px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  font-size: .9rem;
  font-family: var(--bkh-font);
  color: var(--bkh-text);
  background: var(--bkh-surface);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}

.bkh-ofertas-select:focus {
  outline: none;
  border-color: var(--bkh-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.bkh-ofertas-clear-btn {
  padding: .6rem 1rem;
  border: 1.5px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  background: var(--bkh-surface);
  color: var(--bkh-text-muted);
  font-size: .85rem;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}

.bkh-ofertas-clear-btn:hover {
  background: var(--bkh-bg);
  color: var(--bkh-danger);
  border-color: var(--bkh-danger);
}

/* ── Count bar ── */
.bkh-ofertas-count-bar {
  margin-bottom: 1.25rem;
}

.bkh-ofertas-count {
  font-size: .875rem;
  color: var(--bkh-text-muted);
  font-weight: 500;
}

/* ── Info banner ── */
.bkh-ofertas-info-banner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--bkh-primary);
  border-radius: var(--bkh-radius-lg);
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 8px rgba(37,99,235,.08);
}

.bkh-ofertas-info-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.bkh-ofertas-info-text {
  flex: 1;
}

.bkh-ofertas-info-text strong {
  display: block;
  font-size: .95rem;
  color: var(--bkh-text);
  margin-bottom: .25rem;
}

.bkh-ofertas-info-text p {
  font-size: .875rem;
  color: var(--bkh-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ── Table wrapper (horizontal scroll on small screens) ── */
.bkh-ofertas-table-wrap {
  overflow-x: auto;
  border-radius: var(--bkh-radius-lg);
  box-shadow: 0 4px 24px rgba(37,99,235,.1), var(--bkh-shadow);
  border: 1px solid var(--bkh-border);
  margin-bottom: 1.5rem;
}

/* ── Offers table ── */
.bkh-ofertas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  background: var(--bkh-surface);
  /* min-width ensures all 5 columns remain readable before horizontal scroll kicks in */
  min-width: 540px;
}

.bkh-ofertas-table thead {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
  color: #fff;
}

.bkh-ofertas-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  border: none;
}

.bkh-ofertas-table tbody tr.bkh-oferta-row {
  border-bottom: 1px solid var(--bkh-border);
  transition: background .15s, transform .1s;
}

.bkh-ofertas-table tbody tr.bkh-oferta-row:last-child {
  border-bottom: none;
}

.bkh-ofertas-table tbody tr.bkh-oferta-row:nth-child(even) {
  background: #f8faff;
}

.bkh-ofertas-table tbody tr.bkh-oferta-row:hover {
  background: #eff6ff;
  box-shadow: inset 3px 0 0 var(--bkh-primary);
}

.bkh-ofertas-table td {
  padding: 1rem 1.25rem;
  vertical-align: middle;
  color: var(--bkh-text);
}

/* ── Table cell styles ── */
.bkh-oferta-row-name {
  font-weight: 600;
}

.bkh-oferta-row-link {
  color: var(--bkh-primary);
  text-decoration: none;
  font-weight: 700;
  transition: color .15s;
}

.bkh-oferta-row-link:hover {
  color: var(--bkh-primary-dk);
  text-decoration: underline;
}

.bkh-oferta-row-location {
  color: var(--bkh-text-muted);
  font-size: .875rem;
}

.bkh-oferta-days-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #bfdbfe, #93c5fd);
  color: #1e40af;
  border-radius: 999px;
  padding: .28rem .85rem;
  font-size: .78rem;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(37,99,235,.15);
}

.bkh-oferta-price-cell {
  display: inline-flex;
  align-items: baseline;
  gap: .25rem;
}

.bkh-oferta-price-cell .bkh-oferta-price-amount {
  font-size: 1.1rem;
  font-weight: 800;
  color: #16a34a;
}

.bkh-oferta-price-cell .bkh-oferta-price-unit {
  font-size: .78rem;
  color: var(--bkh-text-muted);
}

.bkh-oferta-row-cal .bkh-oferta-details-btn {
  padding: .5rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border-radius: var(--bkh-radius);
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(37,99,235,.25);
  transition: transform .1s, box-shadow .15s;
}

.bkh-oferta-row-cal .bkh-oferta-details-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
}

/* ── Cards grid (kept for backward compat) ── */
.bkh-ofertas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ── Individual card ── */
.bkh-oferta-card {
  background: var(--bkh-surface);
  border-radius: var(--bkh-radius-lg);
  box-shadow: var(--bkh-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  border: 1px solid var(--bkh-border);
}

.bkh-oferta-card:hover {
  box-shadow: var(--bkh-shadow-md), 0 8px 24px rgba(37,99,235,.1);
  transform: translateY(-3px);
}

/* ── Card image ── */
.bkh-oferta-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bkh-bg);
}

.bkh-oferta-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.bkh-oferta-card:hover .bkh-oferta-card-img {
  transform: scale(1.04);
}

.bkh-oferta-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--bkh-primary);
}

/* ── Season badges overlaid on image ── */
.bkh-oferta-badges {
  position: absolute;
  top: .65rem;
  left: .65rem;
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}

.bkh-oferta-badge {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(4px);
}

.bkh-oferta-badge--alta {
  background: rgba(254, 240, 138, .92);
  color: #854d0e;
  border: 1px solid #fde047;
}

.bkh-oferta-badge--baja {
  background: rgba(191, 219, 254, .92);
  color: #1e40af;
  border: 1px solid #93c5fd;
}

/* ── Card body ── */
.bkh-oferta-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .45rem;
}

.bkh-oferta-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--bkh-primary);
  margin: 0;
  line-height: 1.35;
}

.bkh-oferta-price {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin: .1rem 0;
}

.bkh-oferta-price-from {
  font-size: .8rem;
  color: var(--bkh-text-muted);
}

.bkh-oferta-price-amount {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bkh-text);
}

.bkh-oferta-price-unit {
  font-size: .8rem;
  color: var(--bkh-text-muted);
}

.bkh-oferta-card-desc {
  font-size: .875rem;
  color: var(--bkh-text-muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.bkh-oferta-card-footer {
  margin-top: .75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.bkh-oferta-location {
  font-size: .8rem;
  color: var(--bkh-text-muted);
}

.bkh-oferta-details-btn {
  width: 100%;
  justify-content: center;
  padding: .65rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--bkh-radius);
  cursor: pointer;
  transition: background .15s, transform .1s;
}

.bkh-oferta-details-btn:active {
  transform: scale(.98);
}

/* ── Empty / no-results states ── */
.bkh-ofertas-empty-state,
.bkh-ofertas-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--bkh-text-muted);
}

.bkh-ofertas-empty-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: .75rem;
  line-height: 1;
}

.bkh-ofertas-empty-state p,
.bkh-ofertas-no-results p {
  font-size: 1rem;
  margin: 0;
}

/* ── Modal overlay ── */
.bkh-oferta-modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--bkh-overlay);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
}

.bkh-oferta-modal-overlay.bkh-oferta-modal-overlay--open {
  opacity: 1;
  visibility: visible;
}

/* ── Modal dialog ── */
.bkh-oferta-modal {
  background: var(--bkh-surface);
  border-radius: var(--bkh-radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(16px) scale(.98);
  transition: transform .22s ease, opacity .22s ease;
  opacity: 0;
  outline: none;
}

.bkh-oferta-modal-overlay--open .bkh-oferta-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ── Modal header ── */
.bkh-oferta-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem 0;
}

.bkh-oferta-modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bkh-primary);
  margin: 0;
  line-height: 1.3;
}

.bkh-oferta-modal-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--bkh-text-muted);
  cursor: pointer;
  padding: .25rem;
  line-height: 1;
  border-radius: var(--bkh-radius);
  flex-shrink: 0;
  transition: color .15s, background .15s;
}

.bkh-oferta-modal-close:hover {
  color: var(--bkh-danger);
  background: #fef2f2;
}

/* ── Modal body ── */
.bkh-oferta-modal-body {
  padding: 1.25rem 1.5rem 1.75rem;
}

.bkh-oferta-modal-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--bkh-radius);
  margin-bottom: 1.1rem;
  display: block;
}

.bkh-oferta-modal-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: var(--bkh-radius);
  margin-bottom: 1.1rem;
}

.bkh-oferta-modal-desc {
  font-size: .925rem;
  color: var(--bkh-text-muted);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.bkh-oferta-modal-location {
  font-size: .875rem;
  color: var(--bkh-text-muted);
  margin-bottom: 1.25rem;
}

/* ── Season table in modal ── */
.bkh-oferta-modal-seasons-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bkh-text);
  margin: 0 0 .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.bkh-oferta-modal-seasons {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.5rem;
}

.bkh-oferta-season-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.1rem;
  border-radius: var(--bkh-radius);
  border: 1px solid var(--bkh-border);
  background: var(--bkh-bg);
  flex-wrap: wrap;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: box-shadow .15s;
}

.bkh-oferta-season-row:hover {
  box-shadow: 0 2px 10px rgba(37,99,235,.12);
}

.bkh-oferta-season-row--alta {
  background: #fffbeb;
  border-color: #fde047;
}

.bkh-oferta-season-row--baja {
  background: #eff6ff;
  border-color: #93c5fd;
}

.bkh-oferta-season-tipo {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .8rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.bkh-oferta-season-tipo--alta {
  background: #fef08a;
  color: #854d0e;
}

.bkh-oferta-season-tipo--baja {
  background: linear-gradient(135deg, #bfdbfe, #93c5fd);
  color: #1e40af;
}

.bkh-oferta-season-dates {
  font-size: .9rem;
  color: var(--bkh-text);
  font-weight: 600;
  flex: 1;
  white-space: nowrap;
}

.bkh-oferta-season-price {
  font-size: .95rem;
  font-weight: 800;
  color: #16a34a;
  white-space: nowrap;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: .2rem .65rem;
}

/* ── Modal CTA ── */
.bkh-oferta-modal-cta {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.bkh-oferta-modal-cta .bkh-btn {
  flex: 1 1 auto;
  text-align: center;
  justify-content: center;
  padding: .7rem 1.25rem;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .bkh-ofertas-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .bkh-ofertas-search-wrap {
    flex: 0 0 auto;
    width: 100%;
  }

  .bkh-ofertas-filters {
    flex-direction: column;
  }

  .bkh-ofertas-select {
    width: 100%;
  }

  .bkh-ofertas-info-banner {
    flex-direction: column;
    gap: .6rem;
  }

  .bkh-oferta-modal-header {
    padding: 1.1rem 1.1rem 0;
  }

  .bkh-oferta-modal-body {
    padding: 1rem 1.1rem 1.4rem;
  }
}

/* ---- RT Logo ---- */
.bkh-logo-img {
  display: block;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* ---- Agent Rules list ---- */
.bkh-rules-list {
  margin: 1.25rem 0 0;
  padding-left: 1.5rem;
}

.bkh-rules-item {
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.bkh-rules-item-title {
  display: block;
  font-size: 1rem;
  color: var(--bkh-primary);
  margin-bottom: .25rem;
}

.bkh-rules-item-body {
  margin: 0;
  color: var(--bkh-text-muted);
  font-size: .95rem;
}

/* ---- Max Huéspedes badge (single property header) ---- */
.bkh-single-max-huespedes {
  display: inline-block;
  flex-basis: 100%;
  color: var(--bkh-danger);
  font-weight: 700;
  font-size: .95rem;
  margin-top: -.25rem;
}

/* ================================================================
   Listings Shortcode [bkh_listings]
   ================================================================ */
.bkh-listings-wrap {
  font-family: var(--bkh-font);
  color: var(--bkh-text);
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.bkh-listings-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem 1rem 1.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 60%, #f0f9ff 100%);
  border-radius: var(--bkh-radius-lg);
  border: 1px solid #bfdbfe;
}

.bkh-listings-headline {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--bkh-primary);
  margin: 0;
  letter-spacing: -.02em;
}

.bkh-listings-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.bkh-listings-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: .6rem;
  align-items: center;
}

.bkh-listings-count-bar {
  font-size: .875rem;
  color: var(--bkh-text-muted);
}

/* Grid */
.bkh-listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Card */
.bkh-listing-card {
  background: var(--bkh-surface);
  border-radius: var(--bkh-radius-lg);
  box-shadow: var(--bkh-shadow);
  border: 1px solid var(--bkh-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}

.bkh-listing-card:hover {
  box-shadow: var(--bkh-shadow-md), 0 8px 24px rgba(37,99,235,.1);
  transform: translateY(-3px);
}

/* Card image */
.bkh-listing-card-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bkh-bg);
  text-decoration: none;
}

.bkh-listing-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.bkh-listing-card:hover .bkh-listing-card-img {
  transform: scale(1.04);
}

.bkh-listing-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--bkh-primary);
}

.bkh-listing-card-badge {
  position: absolute;
  top: .65rem;
  left: .65rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.bkh-listing-card-badge--vacation {
  background: rgba(254, 240, 138, .92);
  color: #854d0e;
  border: 1px solid #fde047;
}

.bkh-listing-card-badge--discount {
  background: #2563eb;
  color: #fff;
  border: 1px solid #1d4ed8;
  top: .65rem;
  bottom: auto;
  left: auto;
  right: .65rem;
}

/* Card body */
.bkh-listing-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .4rem;
}

.bkh-listing-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}

.bkh-listing-card-title a {
  color: var(--bkh-primary);
  text-decoration: none;
}

.bkh-listing-card-title a:hover {
  text-decoration: underline;
}

.bkh-listing-card-location {
  font-size: .82rem;
  color: var(--bkh-text-muted);
  margin: 0;
}

.bkh-listing-card-excerpt {
  font-size: .875rem;
  color: var(--bkh-text-muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

/* Price */
.bkh-listing-card-price {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin-top: .3rem;
}

.bkh-listing-price-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bkh-text);
}

.bkh-listing-price-unit {
  font-size: .8rem;
  color: var(--bkh-text-muted);
}

/* Max huéspedes (red, below price) */
.bkh-listing-max-huespedes {
  font-size: .85rem;
  font-weight: 700;
  color: var(--bkh-danger);
  margin: 0;
}

/* CTA button */
.bkh-listing-card-btn {
  display: inline-block;
  margin-top: .75rem;
  padding: .6rem 1rem;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border-radius: var(--bkh-radius);
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: transform .1s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(37,99,235,.25);
}

.bkh-listing-card-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
  color: #fff;
  text-decoration: none;
}

/* Empty / no-results */
.bkh-listings-empty,
.bkh-listings-no-results {
  text-align: center;
  padding: 3rem 1rem;
}

.bkh-listings-empty-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: .75rem;
}

/* Responsive */
@media (max-width: 600px) {
  .bkh-listings-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .bkh-listings-filters {
    flex-direction: column;
  }

  .bkh-listings-filters .bkh-ofertas-select {
    width: 100%;
  }

  .bkh-listing-card-body {
    gap: .15rem;
  }

  .bkh-listing-card-price {
    margin-top: 0;
  }
}

/* ============================================================
   PROPIEDAD DE LA SEMANA
   ============================================================ */
/* ── Propiedad de la Semana – hero full-width section ── */
.bkh-psemana-wrap {
  position: relative;
  width: 100%;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d2340;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: var(--bkh-font);
  margin: 0;
  padding: 6rem 1.5rem;
  box-sizing: border-box;
}

/* Dark overlay */
.bkh-psemana-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 55, 0.65);
  pointer-events: none;
}

/* Inner content */
.bkh-psemana-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

/* "PROPIEDAD DE LA SEMANA" label */
.bkh-psemana-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #d4a520;
  margin: 0;
}

/* Property title */
.bkh-psemana-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}

/* Description */
.bkh-psemana-excerpt {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin: 0;
  max-width: 580px;
}

/* Price */
.bkh-psemana-price {
  font-size: 2rem;
  font-weight: 800;
  color: #d4a520;
  margin: 0;
  line-height: 1;
}

/* CTA button */
.bkh-psemana-btn {
  display: inline-block;
  padding: .9rem 2.4rem;
  background: #c9971a;
  color: #1a0e00;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: .35rem;
  text-decoration: none;
  transition: background .2s, transform .15s;
  margin-top: .4rem;
}

.bkh-psemana-btn:hover {
  background: #b8860f;
  transform: translateY(-2px);
  color: #1a0e00;
}

/* Empty state */
.bkh-psemana-empty {
  padding: 2rem;
  text-align: center;
  color: var(--bkh-text-muted);
}

/* Responsive */
@media (max-width: 760px) {
  .bkh-psemana-wrap {
    min-height: 420px;
    padding: 4rem 1.25rem;
  }

  .bkh-psemana-title {
    font-size: 2rem;
  }

  .bkh-psemana-price {
    font-size: 1.6rem;
  }

  .bkh-psemana-btn {
    padding: .8rem 1.75rem;
  }
}

/* ============================================================
   PROMO BADGE – single listing main image
   ============================================================ */
.bkh-promo-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  border: 1px solid #1d4ed8;
  backdrop-filter: blur(4px);
  pointer-events: none;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

/* ============================================================
   CONTACT AGENT FORM
   ============================================================ */
.bkh-contact-widget {
  margin-top: 1.25rem;
  background: linear-gradient(135deg, #1A1A2E 0%, #16213E 60%, #0F3460 100%);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: var(--bkh-radius-lg);
  padding: 1.75rem 1.5rem;
  color: #fff;
}

.bkh-contact-widget h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #D4AF37;
  margin-bottom: .5rem;
  letter-spacing: .5px;
}

.bkh-contact-widget-desc {
  margin: 0 0 1.25rem;
  font-size: .88rem;
  line-height: 1.6;
  color: rgba(255,255,255,.75);
}

.bkh-contact-agent-wrapper {
  display: flex;
  justify-content: flex-end;
}

.bkh-contact-agent-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #D4AF37;
  color: #1A1A2E;
  font-weight: 700;
  font-size: .9rem;
  padding: .7rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: .5px;
  transition: opacity .2s, transform .15s;
}

.bkh-contact-agent-btn--right {
  display: flex;
  margin-left: auto;
}

.bkh-contact-agent-btn:hover {
  opacity: .9;
  transform: translateY(-1px);
  color: #1A1A2E;
}

/* Desktop: show sidebar version, hide mobile version */
.bkh-contact-widget--mobile {
  display: none;
}

@media (max-width: 1100px) {
  /* Mobile: hide sidebar version, show mobile version */
  .bkh-contact-widget--sidebar {
    display: none;
  }

  .bkh-contact-widget--mobile {
    display: block;
  }
}

/* ============================================================
   INTL-TEL-INPUT – phone flag selector overrides
   ============================================================ */
.iti {
  width: 100%;
}

.iti__tel-input {
  width: 100%;
}

/* ============================================================
   LISTINGS – "Ver más" load-more button
   ============================================================ */
.bkh-listings-load-more {
  display: flex;
  justify-content: center;
  margin: 2rem 0 1rem;
}

.bkh-listings-load-more .bkh-btn {
  min-width: 220px;
}

/* ── Ver Todas las Propiedades section ───────────────────── */
.bkh-ver-todas-wrap {
  margin-top: 2.5rem;
}

.bkh-ver-todas-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0 !important;
  padding: 1.75rem 1rem !important;
  background: transparent !important;
  border: none !important;
}

.bkh-ver-todas-btn {
  min-width: 320px;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1rem 2.75rem;
  letter-spacing: .01em;
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: box-shadow .2s ease, background .2s ease;
}

.bkh-ver-todas-btn:hover {
  background: #d97706 !important;
  border-color: #d97706 !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.5), 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   TODAS LAS PROPIEDADES ([bkh_todas_propiedades])
   ============================================================ */
.bkh-todas-wrap {
  font-family: var(--bkh-font);
  color: var(--bkh-text);
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

/* ── Hero header ─────────────────────────────────────────── */
.bkh-todas-header {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  margin-bottom: 3.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  border-radius: var(--bkh-radius-lg);
  position: relative;
  overflow: hidden;
}

.bkh-todas-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37,99,235,.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(14,165,233,.3) 0%, transparent 60%);
  pointer-events: none;
}

.bkh-todas-headline {
  position: relative;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 .6rem;
  letter-spacing: -.03em;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}

.bkh-todas-subline {
  position: relative;
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.75);
  margin: 0;
}

/* ── Header (light style matching homepage) ──────────────── */
.bkh-todas-header-alt {
  margin-bottom: 1.5rem;
}

.bkh-todas-subline-alt {
  font-size: clamp(.85rem, 2vw, 1rem);
  color: var(--bkh-text-muted);
  margin: .4rem 0 0;
}

/* ── Filters ─────────────────────────────────────────────── */
.bkh-todas-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.bkh-todas-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: .6rem;
  align-items: center;
}

.bkh-todas-select {
  padding: .45rem .9rem;
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  font-size: .875rem;
  background: var(--bkh-surface);
  color: var(--bkh-text);
  cursor: pointer;
  transition: border-color .15s;
}

.bkh-todas-select:focus {
  outline: none;
  border-color: var(--bkh-primary);
}

.bkh-todas-count-bar {
  font-size: .875rem;
  color: var(--bkh-text-muted);
}

.bkh-todas-no-results {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--bkh-text-muted);
}

/* ── Empty state ─────────────────────────────────────────── */
.bkh-todas-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--bkh-text-muted);
}

.bkh-todas-empty-icon {
  display: block;
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

/* ── 4-column grid ───────────────────────────────────────── */
.bkh-todas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ── Base card ───────────────────────────────────────────── */
.bkh-todas-card {
  background: var(--bkh-surface);
  border-radius: var(--bkh-radius-lg);
  box-shadow: var(--bkh-shadow);
  border: 1px solid var(--bkh-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
  animation: bkhTodasFadeIn .4s ease both;
}

@keyframes bkhTodasFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bkh-todas-card--reveal {
  animation: bkhTodasFadeIn .4s ease both;
}

.bkh-todas-card:hover {
  box-shadow: var(--bkh-shadow-md), 0 12px 32px rgba(37,99,235,.12);
  transform: translateY(-4px);
}

/* ── Exclusive card ──────────────────────────────────────── */
.bkh-todas-card--exclusiva {
  border: 2px solid #fbbf24;
  box-shadow: 0 0 0 3px rgba(251,191,36,.2), var(--bkh-shadow-md);
  background: linear-gradient(160deg, #fffbeb 0%, #ffffff 60%);
}

.bkh-todas-card--exclusiva:hover {
  box-shadow: 0 0 0 3px rgba(251,191,36,.35), 0 12px 40px rgba(251,191,36,.18);
  transform: translateY(-5px);
}

/* ── Week card ───────────────────────────────────────────── */
.bkh-todas-card--semana {
  border: 2px solid #818cf8;
  box-shadow: 0 0 0 3px rgba(99,102,241,.18), var(--bkh-shadow-md);
  background: linear-gradient(160deg, #eef2ff 0%, #ffffff 60%);
}

.bkh-todas-card--semana:hover {
  box-shadow: 0 0 0 3px rgba(99,102,241,.35), 0 12px 40px rgba(99,102,241,.16);
  transform: translateY(-5px);
}

/* ── Card image ──────────────────────────────────────────── */
.bkh-todas-card-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bkh-bg);
  text-decoration: none;
  flex-shrink: 0;
}

.bkh-todas-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.bkh-todas-card:hover .bkh-todas-card-img {
  transform: scale(1.06);
}

.bkh-todas-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--bkh-primary);
}

/* ── Badges ──────────────────────────────────────────────── */
.bkh-todas-badge {
  position: absolute;
  top: .6rem;
  left: .6rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(6px);
  z-index: 2;
  white-space: nowrap;
}

.bkh-todas-badge--right {
  left: auto;
  right: .6rem;
}

.bkh-todas-badge--excl {
  background: rgba(254,240,138,.95);
  color: #78350f;
  border: 1px solid #fde047;
  box-shadow: 0 2px 8px rgba(251,191,36,.4);
}

.bkh-todas-badge--semana {
  background: rgba(199,210,254,.95);
  color: #3730a3;
  border: 1px solid #a5b4fc;
  box-shadow: 0 2px 8px rgba(99,102,241,.3);
}

.bkh-todas-badge--vacation {
  background: rgba(254,240,138,.92);
  color: #854d0e;
  border: 1px solid #fde047;
}

.bkh-todas-badge--discount {
  background: rgba(220,252,231,.92);
  color: #14532d;
  border: 1px solid #86efac;
}

/* ── Card body ───────────────────────────────────────────── */
.bkh-todas-card-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .35rem;
}

.bkh-todas-card-title {
  font-size: .95rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.bkh-todas-card-title a {
  color: var(--bkh-text);
  text-decoration: none;
  transition: color .2s;
}

.bkh-todas-card-title a:hover {
  color: var(--bkh-primary);
}

.bkh-todas-card-location {
  font-size: .82rem;
  color: var(--bkh-text-muted);
  margin: 0;
}

.bkh-todas-card-excerpt {
  font-size: .82rem;
  color: var(--bkh-text-muted);
  margin: 0;
  flex: 1;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bkh-todas-card-price {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  margin-top: auto;
  padding-top: .5rem;
}

.bkh-todas-price-amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bkh-primary);
}

.bkh-todas-price-unit {
  font-size: .78rem;
  color: var(--bkh-text-muted);
}

.bkh-todas-card-guests {
  font-size: .78rem;
  color: var(--bkh-text-muted);
  margin: 0;
}

.bkh-todas-card-btn {
  display: inline-block;
  margin-top: .75rem;
  padding: .55rem 1rem;
  background: var(--bkh-primary);
  color: #fff;
  border-radius: var(--bkh-radius);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background .2s, transform .15s;
}

.bkh-todas-card-btn:hover {
  background: var(--bkh-primary-dk);
  color: #fff;
  transform: translateY(-1px);
}

.bkh-todas-card--exclusiva .bkh-todas-card-btn {
  background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
}

.bkh-todas-card--exclusiva .bkh-todas-card-btn:hover {
  background: linear-gradient(90deg, #b45309 0%, #d97706 100%);
}

.bkh-todas-card--semana .bkh-todas-card-btn {
  background: linear-gradient(90deg, #4f46e5 0%, #818cf8 100%);
}

.bkh-todas-card--semana .bkh-todas-card-btn:hover {
  background: linear-gradient(90deg, #3730a3 0%, #4f46e5 100%);
}

/* ── "Ver más" button ────────────────────────────────────── */
.bkh-todas-load-more {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0 1.5rem;
}

.bkh-todas-more-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.5rem;
  background: linear-gradient(135deg, var(--bkh-primary) 0%, var(--bkh-secondary) 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
  transition: transform .2s, box-shadow .2s;
}

.bkh-todas-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,.45);
}

.bkh-todas-more-btn:active {
  transform: translateY(0);
}

.bkh-todas-more-icon {
  font-size: 1.1rem;
  transition: transform .2s;
}

.bkh-todas-more-btn:hover .bkh-todas-more-icon {
  transform: translateY(3px);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bkh-todas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .bkh-todas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .bkh-todas-header {
    padding: 2rem 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .bkh-todas-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   AGENT PROFILE PAGE
   ============================================================ */
.bkh-agente-header {
  background: var(--bkh-bg-light, #f0f4ff);
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
}

.bkh-agente-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.bkh-agente-avatar-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bkh-primary, #4f46e5);
}

.bkh-agente-info {
  flex: 1;
}

.bkh-agente-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bkh-text, #1a1a2e);
  margin: 0 0 .25rem;
}

.bkh-agente-role {
  font-size: .95rem;
  color: var(--bkh-primary, #4f46e5);
  font-weight: 600;
  margin: 0 0 .2rem;
}

.bkh-agente-since,
.bkh-agente-prop-count {
  font-size: .85rem;
  color: var(--bkh-text-muted, #6b7280);
  margin: .15rem 0 0;
}

.bkh-agente-properties {
  padding: 2.5rem 1.5rem 3rem;
}

.bkh-agente-properties-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.bkh-agente-not-found {
  text-align: center;
  padding: 4rem 1.5rem;
}

.bkh-agente-not-found h1 {
  margin-bottom: .75rem;
}

.bkh-agente-not-found p {
  color: var(--bkh-text-muted, #6b7280);
  margin-bottom: 1.5rem;
}

/* Agent name link in single property */
.bkh-owner-name-link {
  color: inherit;
  text-decoration: none;
}

.bkh-owner-name-link:hover {
  color: var(--bkh-primary, #4f46e5);
  text-decoration: underline;
}

/* Avatar click trigger */
.bkh-avatar-trigger {
  display: block;
  cursor: pointer;
  line-height: 0;
}

.bkh-avatar-trigger:focus-visible {
  outline: 2px solid var(--bkh-primary, #4f46e5);
  outline-offset: 3px;
  border-radius: 50%;
}

/* Circular avatar lightbox */
#bkhAvatarLightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, .75);
  display: flex;
  align-items: center;
  justify-content: center;
}

#bkhAvatarLightbox .bkh-avatar-lb-img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5);
}

#bkhAvatarLightboxClose {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#bkhAvatarLightboxClose:hover {
  background: rgba(255, 255, 255, .3);
}

@media (max-width: 640px) {
  .bkh-agente-header-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   Super Admin Dashboard
   ========================================================= */

.bkh-super-admin .bkh-sidebar-header {
  background: linear-gradient(135deg, #1a237e, #283593);
}

/* Stats grid */
.bkh-sa-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.bkh-sa-stat-card {
  background: var(--bkh-card-bg, #fff);
  border: 1px solid var(--bkh-border, #e5e7eb);
  border-radius: var(--bkh-radius, 10px);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.bkh-sa-stat-icon {
  font-size: 2rem;
  line-height: 1;
}

.bkh-sa-stat-body {
  display: flex;
  flex-direction: column;
}

.bkh-sa-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bkh-primary, #1565c0);
  line-height: 1.1;
}

.bkh-sa-stat-label {
  font-size: .8rem;
  color: var(--bkh-text-muted, #6b7280);
  margin-top: .2rem;
}

/* Estado badges */
.bkh-sa-estado {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.bkh-sa-estado--confirmada,
.bkh-sa-estado--publish {
  background: #d1fae5;
  color: #065f46;
}

.bkh-sa-estado--pendiente,
.bkh-sa-estado--draft,
.bkh-sa-estado--pending {
  background: #fef3c7;
  color: #92400e;
}

.bkh-sa-estado--cancelada {
  background: #fee2e2;
  color: #991b1b;
}

/* Smaller input inside table */
.bkh-input-sm {
  padding: .2rem .5rem;
  font-size: .8rem;
}

/* Action button group */
.bkh-sa-actions {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

/* Danger button */
.bkh-btn-danger {
  background: var(--bkh-danger, #dc2626);
  color: #fff;
  border-color: var(--bkh-danger, #dc2626);
}

.bkh-btn-danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

/* ============================================================
   LEGAL AGREEMENTS MODULE
   ============================================================ */
.bkh-legal-form {
  margin-top: 1.5rem;
}

.bkh-legal-fields {
  background: var(--bkh-surface-alt);
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.bkh-legal-fields-title {
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .75rem;
  color: var(--bkh-text);
}

.bkh-legal-checkboxes {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.bkh-legal-check-label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  line-height: 1.5;
  cursor: pointer;
}

.bkh-legal-check-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: .2rem;
  accent-color: var(--bkh-primary);
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.bkh-legal-check-label a {
  color: var(--bkh-primary);
  text-decoration: underline;
}

.bkh-legal-static-clauses {
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.bkh-legal-clause {
  margin: 0;
  line-height: 1.6;
  color: var(--bkh-text);
  font-size: .95rem;
}

/* ── Legal acceptance record ── */
.bkh-legal-record {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.25rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--bkh-radius);
}

.bkh-legal-record-title {
  margin: 0 0 .75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bkh-text);
}

.bkh-legal-record-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}

.bkh-legal-record-table th,
.bkh-legal-record-table td {
  padding: .45rem .6rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #d1fae5;
}

.bkh-legal-record-table th {
  width: 40%;
  font-weight: 600;
  color: var(--bkh-text-muted);
}

.bkh-legal-record-table td {
  color: var(--bkh-text);
}

.bkh-legal-record-table tr:last-child th,
.bkh-legal-record-table tr:last-child td {
  border-bottom: none;
}

.bkh-legal-accepted-rules-title {
  margin: 1.5rem 0 .75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--bkh-text);
}

/* ── Locked sidebar nav items ── */
.bkh-nav-item--locked {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border-radius: var(--bkh-radius);
  font-size: .88rem;
  color: var(--bkh-text-muted);
  cursor: not-allowed;
  opacity: .55;
  user-select: none;
}

/* ============================================================
   AGENT RESPONSIBILITY NOTICE – single listing
   ============================================================ */
.bkh-agent-notice {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--bkh-radius);
  padding: .8rem 1rem;
  margin-bottom: 1.25rem;
  font-size: .88rem;
  color: #1e40af;
  line-height: 1.5;
}

.bkh-agent-notice-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* ============================================================
   LEGAL AUTHORIZATION CLAUSE – between form fields and checkbox
   ============================================================ */
.bkh-legal-authorization-clause {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: #eff6ff;
  border-left: 4px solid var(--bkh-primary);
  border-radius: 0 var(--bkh-radius) var(--bkh-radius) 0;
  font-size: .95rem;
  color: var(--bkh-text);
  line-height: 1.6;
}

/* ============================================================
   EXCLUSIVE PROPERTIES SLIDER  [bkh_propiedades_exclusivas_slide]
   ============================================================ */
.bkh-excl-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #005A9C !important;
  font-family: var(--bkh-font);
}

.bkh-excl-slider-inner {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.bkh-excl-slide {
  flex: 0 0 100%;
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding: 5rem 2rem;
  box-sizing: border-box;
}

.bkh-excl-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 63, 107, 0.85) 0%, rgba(0, 90, 156, 0.2) 100%) !important;
  pointer-events: none;
}

.bkh-excl-slide-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  background: rgba(15, 30, 60, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--bkh-radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-left: 3rem;
}

.bkh-excl-slide-badge {
  display: inline-block;
  background: var(--bkh-primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  width: fit-content;
}

.bkh-excl-slide-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
}

.bkh-excl-slide-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin: 0;
}

.bkh-excl-slide-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .5rem;
}

.bkh-excl-slide-btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  font-size: .9rem;
  font-weight: 600;
  border-radius: .5rem;
  text-decoration: none;
  transition: background .2s, transform .15s;
  cursor: pointer;
}

.bkh-excl-slide-btn--primary {
  background: #ffffff;
  color: var(--bkh-text);
  border: 2px solid #ffffff;
}

.bkh-excl-slide-btn--primary:hover {
  background: #e8efff;
  transform: translateY(-2px);
  color: var(--bkh-text);
}

.bkh-excl-slide-btn--outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.bkh-excl-slide-btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Navigation arrows */
.bkh-excl-slider-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  color: #005A9C !important;
  width: 3rem !important;
  height: 3rem !important;
  border-radius: 50% !important;
  font-size: 1.6rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .2s, box-shadow .2s !important;
  line-height: 1 !important;
  padding: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

.bkh-excl-slider-arrow:hover {
  background: #f0f0f0 !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28) !important;
  color: #005A9C !important;
}

.bkh-excl-slider-arrow--prev {
  left: 1.25rem !important;
}

.bkh-excl-slider-arrow--next {
  right: 1.25rem !important;
}

/* Dots */
.bkh-excl-slider-dots {
  position: absolute !important;
  bottom: 1.25rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: .5rem !important;
  z-index: 10 !important;
}

.bkh-excl-slider-dot {
  width: .625rem !important;
  height: .625rem !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.45) !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: background .2s, transform .2s !important;
}

.bkh-excl-slider-dot--active,
.bkh-excl-slider-dot:hover {
  background: #ffffff !important;
  transform: scale(1.35) !important;
}

/* Empty state */
.bkh-excl-slider-empty {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--bkh-text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .bkh-excl-slide {
    min-height: 70vh;
    padding: 3rem 1.25rem;
    align-items: flex-end;
  }

  .bkh-excl-slide-content {
    margin-left: 0;
    max-width: 100%;
    padding: 1.5rem;
  }

  .bkh-excl-slide-title {
    font-size: 2rem;
  }

  .bkh-excl-slider-arrow {
    width: 2.5rem !important;
    height: 2.5rem !important;
    font-size: 1.3rem !important;
  }
}

/* ============================================================
   TERMS & CONDITIONS MODAL  [reglas-agentes]
   ============================================================ */
.bkh-legal-disclaimer-link-wrap {
  margin-top: .75rem;
  margin-bottom: .25rem;
}

.bkh-btn-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--bkh-primary);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}

.bkh-btn-link:hover {
  color: var(--bkh-primary-dark, #0050a0);
}

.bkh-tc-modal {
  display: none;
  align-items: center;
  justify-content: center;
}

.bkh-tc-modal.bkh-tc-modal--open {
  display: flex;
}

.bkh-tc-modal-box {
  max-width: 740px !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  padding: 0 !important;
  overflow: hidden;
}

.bkh-tc-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--bkh-border, #e2e8f0);
  flex-shrink: 0;
}

.bkh-tc-modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.bkh-tc-modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--bkh-muted, #64748b);
  padding: .25rem .5rem;
  border-radius: var(--bkh-radius, 6px);
  transition: background .15s, color .15s;
}

.bkh-tc-modal-close:hover {
  background: var(--bkh-bg-alt, #f1f5f9);
  color: var(--bkh-text, #0f172a);
}

.bkh-tc-modal-body {
  overflow-y: auto;
  padding: 1.5rem;
  flex: 1 1 auto;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--bkh-text, #0f172a);
}

.bkh-tc-modal-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: .5rem;
  color: var(--bkh-primary);
  border-bottom: 1px solid var(--bkh-border, #e2e8f0);
  padding-bottom: .35rem;
}

.bkh-tc-modal-body h4:first-child {
  margin-top: 0;
}

.bkh-tc-modal-body h5 {
  font-size: .875rem;
  font-weight: 700;
  margin-top: 1.1rem;
  margin-bottom: .3rem;
}

.bkh-tc-modal-body p {
  margin-top: 0;
  margin-bottom: .65rem;
}

.bkh-tc-modal-body ul {
  margin: .5rem 0 .75rem 1.25rem;
  padding: 0;
}

.bkh-tc-modal-body ul li {
  margin-bottom: .35rem;
}

.bkh-tc-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--bkh-border, #e2e8f0);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .bkh-tc-modal-box {
    max-height: 92vh;
  }
}

/* ================================================================
   Agentes Inmobiliarios Independientes  [bkh_agentes]
   ================================================================ */
.bkh-agentes-section {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bkh-agentes-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a3a6b;
  margin-bottom: 3.5rem;
}

.bkh-agentes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .bkh-agentes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .bkh-agentes-grid {
    grid-template-columns: 1fr;
  }
}

.bkh-agentes-card {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.bkh-agentes-card-photo {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-bottom: 6px solid #1a3a6b;
  position: relative;
}

.bkh-agentes-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.bkh-agentes-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -15px 30px rgba(0,0,0,0.10);
  pointer-events: none;
}

.bkh-agentes-card:hover .bkh-agentes-card-img {
  transform: scale(1.02);
}


.bkh-agentes-card-body {
  padding: 1.25rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.bkh-agentes-card-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a3a6b;
  margin: 0 0 0.35rem;
}

.bkh-agentes-card-since {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}

.bkh-agentes-card-btn {
  display: inline-block;
  background-color: #00508F;
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.bkh-agentes-card-btn:hover,
.bkh-agentes-card-btn:focus {
  background-color: #003d70;
  color: #fff !important;
  text-decoration: none;
}

.bkh-agentes-empty {
  text-align: center;
  color: #64748b;
  padding: 2rem 0;
}



/* ==========================================================================
   Reviews Section (Airbnb style)
   ========================================================================== */

/* ── Reviews section header ── */
.bkh-rev-count {
  font-size: .875rem;
  font-weight: 400;
  color: var(--bkh-text-muted);
}

.bkh-rev-empty {
  color: var(--bkh-text-muted);
  font-size: .9375rem;
}

/* ── Rating summary ── */
.bkh-rev-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
  padding: 20px;
  background: var(--bkh-surface-alt);
  border-radius: var(--bkh-radius-lg);
  border: 1px solid var(--bkh-border);
}

.bkh-rev-avg-big {
  font-size: 3rem;
  font-weight: 800;
  color: var(--bkh-text);
  line-height: 1;
}

.bkh-rev-avg-stars {
  display: flex;
  gap: 2px;
}

.bkh-rev-star {
  font-size: 1.125rem;
  color: #d1d5db;
  transition: color .1s;
}

.bkh-rev-star--filled {
  color: #f59e0b;
}

.bkh-rev-avg-label {
  font-size: .875rem;
  color: var(--bkh-text-muted);
  margin-left: 4px;
}

/* ── Review cards grid ── */
.bkh-rev-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .bkh-rev-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Single review card ── */
.bkh-rev-card {
  background: var(--bkh-surface);
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius-lg);
  padding: 20px;
  box-shadow: var(--bkh-shadow);
  transition: box-shadow .2s;
}

.bkh-rev-card:hover {
  box-shadow: var(--bkh-shadow-md);
}

.bkh-rev-card--modal {
  border: none;
  border-bottom: 1px solid var(--bkh-border);
  border-radius: 0;
  padding: 20px 0;
  box-shadow: none;
}

.bkh-rev-card--modal:first-child { padding-top: 0; }
.bkh-rev-card--modal:last-child  { border-bottom: none; padding-bottom: 0; }

.bkh-rev-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.bkh-rev-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bkh-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bkh-rev-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bkh-rev-card-name {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--bkh-text);
}

.bkh-rev-card-date {
  font-size: .8125rem;
  color: var(--bkh-text-muted);
}

.bkh-rev-card-stars {
  display: flex;
  gap: 1px;
  margin-bottom: 10px;
}

.bkh-rev-card-text {
  font-size: .9375rem;
  color: var(--bkh-text);
  line-height: 1.6;
  margin: 0;
}

/* ── All reviews modal panel ── */
.bkh-rev-modal-panel {
  max-width: 740px !important;
  max-height: 80vh !important;
}

.bkh-rev-modal-body {
  padding: 24px 32px !important;
}

/* ── Reviews section spacing ── */
.bkh-reviews-section {
  padding-top: 2rem;
  border-top: 1px solid var(--bkh-border);
  margin-top: 2rem;
}

/* ================================================================
   REGLAS BUILDER  (Dashboard – Agregar/Editar Casa)
   ================================================================ */
.bkh-reglas-builder {
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  background: var(--bkh-surface);
  padding: 1rem;
}

.bkh-reglas-items {
  list-style: none;
  margin: 0 0 .75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.bkh-regla-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--bkh-radius);
  padding: .45rem .75rem;
  font-size: .9rem;
  color: var(--bkh-text);
}

.bkh-regla-check {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #16a34a;
  line-height: 1;
}

.bkh-regla-text {
  flex: 1;
  line-height: 1.4;
}

.bkh-regla-remove {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--bkh-text-muted);
  padding: 0 .15rem;
  transition: color .15s;
  border-radius: 3px;
}

.bkh-regla-remove:hover,
.bkh-regla-remove:focus {
  color: var(--bkh-danger);
  outline: none;
}

.bkh-reglas-add-row {
  display: flex;
  gap: .5rem;
  align-items: stretch;
}

.bkh-regla-new-input {
  flex: 1;
  border: 1px solid var(--bkh-border);
  border-radius: var(--bkh-radius);
  padding: .45rem .75rem;
  font-size: .9rem;
  color: var(--bkh-text);
  background: var(--bkh-surface);
  outline: none;
  transition: border-color .15s;
}

.bkh-regla-new-input:focus {
  border-color: var(--bkh-primary);
}

/* ================================================================
   CONTACTAR AGENTE  [bkh_contactar_agente]
   ================================================================ */
.bkh-caf-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: var(--bkh-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
}

.bkh-caf-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.bkh-caf-hero-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: .5rem;
}

.bkh-caf-hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a3a6b;
  margin: 0 0 .5rem;
}

.bkh-caf-hero-desc {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}

.bkh-caf-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  padding: 2rem;
}

.bkh-caf-dropdown-wrap {
  margin-bottom: 1.5rem;
}

.bkh-caf-dropdown-wrap label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: .4rem;
}

.bkh-required {
  color: #dc2626;
}

.bkh-caf-select {
  width: 100%;
  padding: .6rem .85rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: .95rem;
  color: #1e293b;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
}

.bkh-caf-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.bkh-caf-selected-agent {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: .6rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  color: #1d4ed8;
  margin-bottom: 1.25rem;
}

.bkh-caf-form .bkh-field {
  margin-bottom: 1rem;
}

.bkh-caf-form .bkh-field label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: .4rem;
}

.bkh-caf-form input[type="text"],
.bkh-caf-form input[type="email"],
.bkh-caf-form input[type="tel"],
.bkh-caf-form textarea {
  width: 100%;
  padding: .6rem .85rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: .95rem;
  color: #1e293b;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}

.bkh-caf-form input:focus,
.bkh-caf-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.bkh-caf-form textarea {
  resize: vertical;
  min-height: 120px;
}

.bkh-caf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 540px) {
  .bkh-caf-grid {
    grid-template-columns: 1fr;
  }

  .bkh-caf-card {
    padding: 1.25rem 1rem;
  }
}

.bkh-caf-msg {
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.bkh-caf-msg--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.bkh-caf-msg--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.bkh-caf-actions {
  display: flex;
  justify-content: flex-end;
}

.bkh-caf-submit {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #00508F;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  padding: .65rem 2rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, transform .1s;
  letter-spacing: .01em;
}

.bkh-caf-submit:hover,
.bkh-caf-submit:focus {
  background: #003d70;
  outline: none;
}

.bkh-caf-submit:active {
  transform: scale(.98);
}

.bkh-caf-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

/* ── Ver Propiedad star (exclusive only) ─────────────────────── */
.bkh-todas-card-btn-star {
  color: #FFD700;
  margin-right: .2em;
  margin-left: .2em;
  font-style: normal;
}

/* ── [bkh_aplicacion_agente] ─────────────────────────────────── */
.bkh-aplagente-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  font-family: inherit;
}

/* Hero */
.bkh-aplagente-hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  border-radius: 1.25rem;
  color: #fff;
  margin-bottom: 2.5rem;
}

.bkh-aplagente-hero-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: .5rem;
}

.bkh-aplagente-hero-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 .5rem;
  line-height: 1.2;
}

.bkh-aplagente-hero-desc {
  font-size: 1rem;
  opacity: .9;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Single-column stacked layout */
.bkh-aplagente-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Form wraps both cards */
.bkh-aplagente-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Form card */
.bkh-aplagente-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(37,99,235,.07);
}

.bkh-aplagente-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0 0 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid #dbeafe;
}

.bkh-aplagente-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 480px) {
  .bkh-aplagente-row {
    grid-template-columns: 1fr;
  }
}

.bkh-aplagente-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.bkh-aplagente-field label {
  font-size: .85rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: .01em;
}

.bkh-aplagente-field input,
.bkh-aplagente-field textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid #d1d5db;
  border-radius: .6rem;
  font-size: .95rem;
  color: #111827;
  background: #f9fafb;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
  font-family: inherit;
}

.bkh-aplagente-field input:focus,
.bkh-aplagente-field textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
  background: #fff;
}

.bkh-aplagente-field textarea {
  resize: vertical;
  min-height: 110px;
}

/* Feedback message */
.bkh-aplagente-msg {
  padding: .75rem 1rem;
  border-radius: .6rem;
  font-size: .9rem;
  font-weight: 500;
}

.bkh-aplagente-msg--ok {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
}

.bkh-aplagente-msg--err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* Submit button */
.bkh-aplagente-actions {
  display: flex;
  justify-content: flex-end;
}

.bkh-aplagente-submit {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #fff !important;
  font-size: .95rem;
  font-weight: 700;
  padding: .7rem 2rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, transform .1s, box-shadow .2s;
  letter-spacing: .02em;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}

.bkh-aplagente-submit:hover,
.bkh-aplagente-submit:focus {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  outline: none;
  box-shadow: 0 6px 18px rgba(37,99,235,.45);
  transform: translateY(-1px);
}

.bkh-aplagente-submit:active {
  transform: scale(.98);
}

.bkh-aplagente-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Requirements card */
.bkh-aplagente-req-card {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 1rem;
  padding: 2rem;
}

.bkh-aplagente-req-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0 0 .75rem;
}

.bkh-aplagente-req-intro {
  font-size: .88rem;
  color: #475569;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.bkh-aplagente-req-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  counter-reset: req-counter;
}

.bkh-aplagente-req-list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: .75rem;
  padding: .85rem 1rem;
  counter-increment: req-counter;
  position: relative;
}

.bkh-aplagente-req-list li::before {
  content: counter(req-counter);
  position: absolute;
  top: -.55rem;
  left: .85rem;
  background: #2563eb;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.bkh-aplagente-req-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.bkh-aplagente-req-list li > div {
  flex: 1;
}

.bkh-aplagente-req-list li > div strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: .2rem;
}

.bkh-aplagente-req-list li > div p {
  font-size: .82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Upload button inside document list */
.bkh-aplagente-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .5rem;
  padding: .35rem .9rem;
  background: #fff;
  border: 1.5px solid #2563eb;
  border-radius: 999px;
  color: #2563eb;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.bkh-aplagente-upload-btn:hover {
  background: #2563eb;
  color: #fff;
}

.bkh-aplagente-file-input {
  display: none;
}

.bkh-aplagente-file-name {
  display: block;
  margin-top: .3rem;
  font-size: .75rem;
  color: #059669;
  word-break: break-all;
}

/* ── intl-tel-input inside the agent application form ──────────────────────
   Override Elementor (and any theme) generic input styles that would break
   the flag-dropdown layout. All rules use .bkh-aplagente-wrap as scope so
   they only apply here. The !important flags are intentional: Elementor
   injects inline styles and high-specificity rules that we must win against. */

.bkh-aplagente-phone-wrap {
  width: 100%;
}

/* Make the iti container fill its parent width */
.bkh-aplagente-wrap .bkh-aplagente-phone-wrap .iti {
  display: flex !important;
  width: 100% !important;
}

/* The actual <input> inside iti must take remaining width */
.bkh-aplagente-wrap .bkh-aplagente-phone-wrap .iti input[type='tel'],
.bkh-aplagente-wrap .bkh-aplagente-phone-wrap .iti input[type='text'] {
  width: 100% !important;
  padding-left: 58px !important; /* room for the flag dropdown */
  border: 1.5px solid #d1d5db !important;
  border-radius: .6rem !important;
  font-size: .95rem !important;
  color: #111827 !important;
  background: #f9fafb !important;
  height: auto !important;
  box-shadow: none !important;
  outline: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  transition: border-color .2s, box-shadow .2s !important;
}

.bkh-aplagente-wrap .bkh-aplagente-phone-wrap .iti input[type='tel']:focus,
.bkh-aplagente-wrap .bkh-aplagente-phone-wrap .iti input[type='text']:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15) !important;
  background: #fff !important;
}

/* Flag button – remove any Elementor-imposed styles */
.bkh-aplagente-wrap .bkh-aplagente-phone-wrap .iti__flag-container,
.bkh-aplagente-wrap .bkh-aplagente-phone-wrap .iti__selected-flag {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  height: 100% !important;
  padding: 0 6px 0 8px !important;
}

.bkh-aplagente-wrap .bkh-aplagente-phone-wrap .iti__selected-flag:hover,
.bkh-aplagente-wrap .bkh-aplagente-phone-wrap .iti__selected-flag:focus {
  background: rgba(0,0,0,.05) !important;
}

/* Dropdown list */
.bkh-aplagente-wrap .bkh-aplagente-phone-wrap .iti__dropdown-content {
  z-index: 9999 !important;
  border: 1px solid #d1d5db !important;
  border-radius: .5rem !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
}
