.vbh-portal,
.vbh-calendar-shell {
  --vbh-ink: #12333b;
  --vbh-muted: #5f7378;
  --vbh-sea: #087f8c;
  --vbh-sea-dark: #05616b;
  --vbh-sand: #f7f2e8;
  --vbh-line: #dce7e7;
  --vbh-white: #fff;
  color: var(--vbh-ink);
  font-size: 16px;
  line-height: 1.55;
}

.vbh-portal {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 64px) 18px;
}

.vbh-portal-page .entry-header .entry-title { display: none; }
.vbh-portal-page .site-content .ast-container { max-width: none; padding: 0; }
.vbh-portal-page .site-main > article { padding: 0; }
.vbh-portal-page #masthead,
.vbh-portal-page #masthead .ast-primary-header-bar { background: #12333b !important; }

.vbh-portal *, .vbh-portal *::before, .vbh-portal *::after,
.vbh-calendar-shell *, .vbh-calendar-shell *::before, .vbh-calendar-shell *::after { box-sizing: border-box; }
.vbh-portal h1, .vbh-portal h2, .vbh-portal h3 { color: var(--vbh-ink); line-height: 1.15; margin-top: 0; }
.vbh-portal h1 { font-size: clamp(32px, 5vw, 54px); margin-bottom: 16px; }
.vbh-portal h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.vbh-portal h3 { font-size: 23px; margin-bottom: 0; }
.vbh-portal p { margin-top: 0; }

.vbh-portal__intro { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.vbh-eyebrow { margin-bottom: 8px !important; color: var(--vbh-sea); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.vbh-small { color: var(--vbh-muted); font-size: 13px; }
.vbh-card { background: var(--vbh-white); border: 1px solid var(--vbh-line); border-radius: 18px; box-shadow: 0 12px 32px rgba(18, 51, 59, .07); padding: clamp(20px, 3vw, 32px); }
.vbh-auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.vbh-activation-form { max-width: 620px; margin: 0 auto; }
.vbh-form { display: grid; gap: 16px; }
.vbh-form label, .vbh-search label { display: grid; gap: 7px; color: var(--vbh-ink); font-weight: 700; }
.vbh-form input:not([type="checkbox"]), .vbh-form select, .vbh-form textarea, .vbh-search input, .vbh-search select { width: 100%; min-height: 48px; border: 1px solid #b8cbcd; border-radius: 10px; background: #fff; color: #122f36; font: inherit; padding: 10px 12px; }
.vbh-form textarea { resize: vertical; }
.vbh-form input:focus, .vbh-form select:focus, .vbh-form textarea:focus, .vbh-search input:focus, .vbh-search select:focus { border-color: var(--vbh-sea); box-shadow: 0 0 0 3px rgba(8, 127, 140, .16); outline: 0; }
.vbh-check { display: flex !important; align-items: flex-start; gap: 9px !important; font-weight: 500 !important; }
.vbh-check input { margin-top: 5px; }
.vbh-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.vbh-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--vbh-sea); border-radius: 999px; background: var(--vbh-sea); color: #fff !important; cursor: pointer; font: inherit; font-weight: 800; line-height: 1.1; padding: 12px 20px; text-align: center; text-decoration: none !important; transition: background .18s ease, transform .18s ease; }
.vbh-button:hover, .vbh-button:focus { background: var(--vbh-sea-dark); color: #fff !important; transform: translateY(-1px); }
.vbh-button--ghost { background: transparent; color: var(--vbh-sea-dark) !important; }
.vbh-button--ghost:hover, .vbh-button--ghost:focus { background: #e9f5f5; color: var(--vbh-sea-dark) !important; }
.vbh-text-link { color: var(--vbh-sea-dark); font-weight: 800; text-underline-offset: 3px; }

.vbh-notice { margin-bottom: 22px; border-left: 5px solid; border-radius: 9px; padding: 14px 18px; }
.vbh-notice--success { border-color: #1d8b55; background: #eaf8f0; }
.vbh-notice--error { border-color: #b43131; background: #fff0f0; }
.vbh-notice--info { border-color: #397ba6; background: #eef7fc; }
.vbh-alert { margin: 28px 0; }
.vbh-alert--error { border-color: #e3b8b8; }

.vbh-account-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.vbh-account-head h1 { margin-bottom: 0; }
.vbh-search-card { display: grid; gap: 18px; margin-bottom: 42px; background: linear-gradient(135deg, #fff 20%, var(--vbh-sand)); }
.vbh-search-card h2 { letter-spacing: -.02em; word-spacing: .14em; }
.vbh-public-booking { display: grid; width: 100%; max-width: 760px; gap: 18px; border: 1px solid var(--vbh-line); border-radius: 18px; background: linear-gradient(135deg, #fff 20%, var(--vbh-sand)); box-shadow: 0 12px 32px rgba(18, 51, 59, .08); padding: clamp(20px, 3vw, 30px); }
.vbh-booking-description > .vbh-public-booking { clear: both; margin: clamp(22px, 3vw, 34px) auto 0; }
.vbh-public-booking[data-vbh-layout="below-description"] .vbh-calendar { margin-inline: auto; }
.vbh-public-booking__intro h2 { margin: 0 0 6px; color: var(--vbh-ink); font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.vbh-public-booking__intro p { margin: 0; }
.vbh-public-booking__intro .vbh-eyebrow { margin-bottom: 7px; }

/* Keep the three accommodation cards aligned on the home page. */
#alojamientos .elementor-element-6a303e7 img { width: 50px !important; height: 50px !important; object-fit: contain; }

.vbh-public-booking__notice { margin: 0; border-left: 4px solid #b43131; border-radius: 8px; background: #fff0f0; color: #7e2525; font-weight: 700; padding: 11px 14px; }
.vbh-public-booking .vbh-search { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
.vbh-public-booking .vbh-search > *, .vbh-public-booking .vbh-calendar { min-width: 0; }
.vbh-public-booking .vbh-search .vbh-button { grid-column: 1 / -1; white-space: normal; }
.vbh-public-booking > .vbh-small { margin: 0; }
.vbh-search { display: grid; grid-template-columns: 1.4fr 1fr 1fr .7fr auto; align-items: end; gap: 12px; }
.vbh-search .vbh-button { white-space: nowrap; }
.vbh-date-field { display: grid; gap: 7px; color: var(--vbh-ink); font-weight: 700; }
.vbh-date-trigger { width: 100%; min-height: 48px; border: 1px solid #b8cbcd; border-radius: 10px; background: #fff; color: #122f36; cursor: pointer; font: inherit; padding: 10px 12px; text-align: left; }
.vbh-date-trigger::after { float: right; content: '▾'; color: var(--vbh-sea-dark); }
.vbh-date-trigger:focus { border-color: var(--vbh-sea); box-shadow: 0 0 0 3px rgba(8, 127, 140, .16); outline: 0; }
.vbh-calendar { width: 100%; max-width: 620px; border: 1px solid var(--vbh-line); border-radius: 16px; background: #fff; box-shadow: 0 16px 38px rgba(18, 51, 59, .12); padding: 18px; }
.vbh-calendar[hidden] { display: none; }
.vbh-calendar__head { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px; margin-bottom: 14px; text-align: center; }
.vbh-calendar__month { color: var(--vbh-ink); font-size: 18px; text-transform: capitalize; }
.vbh-calendar__nav { width: 42px; height: 42px; border: 1px solid var(--vbh-line); border-radius: 50%; background: #fff; color: var(--vbh-sea-dark); cursor: pointer; font-size: 28px; line-height: 1; }
.vbh-calendar__nav:disabled { cursor: not-allowed; opacity: .35; }
.vbh-calendar__week, .vbh-calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.vbh-calendar__week { margin-bottom: 6px; color: var(--vbh-muted); font-size: 12px; font-weight: 800; text-align: center; }
.vbh-calendar__day { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; min-width: 0; min-height: 66px; border: 1px solid transparent; border-radius: 9px; font: inherit; font-weight: 800; line-height: 1; padding: 4px 1px; white-space: nowrap; word-break: normal; }
.vbh-calendar__number { font-size: 14px; }
.vbh-calendar__price { font-size: 9px; font-weight: 900; letter-spacing: -.025em; text-decoration: none; }
.vbh-calendar__minimum { font-size: 9px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.vbh-calendar__day.is-free { border-color: #9bd3c4; background: #e8f7f2; color: #145d50; cursor: pointer; }
.vbh-calendar__day.is-free:hover:not(:disabled), .vbh-calendar__day.is-free:focus:not(:disabled) { border-color: var(--vbh-sea); box-shadow: 0 0 0 2px rgba(8, 127, 140, .15); outline: 0; }
.vbh-calendar__day.is-busy { background: #edf0f0; color: #9aa6a8; cursor: not-allowed; text-decoration: line-through; }
.vbh-calendar__day.is-restricted { background: #fff6db; color: #8a6814; cursor: not-allowed; }
.vbh-calendar__day.is-arrival, .vbh-calendar__day.is-departure { border-color: var(--vbh-sea); background: var(--vbh-sea); color: #fff; }
.vbh-calendar__day.is-first-departure { border-color: var(--vbh-sea-dark); box-shadow: 0 0 0 3px rgba(8, 127, 140, .2); }
.vbh-calendar__day.is-range { background: #d8efed; }
.vbh-calendar__legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; color: var(--vbh-muted); font-size: 12px; }
.vbh-calendar__legend span { display: inline-flex; align-items: center; gap: 6px; }
.vbh-legend-dot { width: 11px; height: 11px; border-radius: 3px; }
.vbh-legend-dot--free { background: #9bd3c4; }
.vbh-legend-dot--busy { background: #cdd4d5; }
.vbh-legend-dot--rule { background: #f1cf72; }
.vbh-calendar__status { margin: 14px 0 6px !important; color: var(--vbh-muted); font-size: 13px; }
.vbh-calendar__refresh { border: 0; background: transparent; color: var(--vbh-sea-dark); cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.vbh-calendar.is-loading .vbh-calendar__grid { opacity: .48; }
.vbh-stay-rule { margin: 0 !important; border-left: 4px solid var(--vbh-sea); background: #edf8f7; color: var(--vbh-ink); font-weight: 700; padding: 11px 14px; }
.vbh-date-return { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; border: 1px solid #b8d8d5; border-radius: 12px; background: #f2faf8; padding: 14px; }
.vbh-date-return[hidden] { display: none; }
.vbh-date-return p { margin: 0 !important; }
.vbh-date-return .vbh-button { flex: 0 0 auto; }
.vbh-checkout-return { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 24px; margin: -22px 0 42px; border-color: #9bd3c4; background: #edf8f7; }
.vbh-checkout-return[hidden] { display: none; }
.vbh-checkout-return h2, .vbh-checkout-return p { margin-bottom: 5px; }
.vbh-checkout-return .vbh-small { grid-column: 1 / -1; margin: 0; }

.vbh-bookings { margin-top: 36px; }
.vbh-booking-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.vbh-booking { display: grid; align-content: start; gap: 22px; }
.vbh-booking__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.vbh-booking__badges { display: flex; flex: 0 0 auto; align-items: flex-end; flex-direction: column; gap: 8px; }
.vbh-countdown { border: 1px solid #e2c56d; border-radius: 999px; background: #fff7dc; color: #765a09; font-size: 12px; font-weight: 800; padding: 7px 11px; white-space: nowrap; }
.vbh-status { flex: 0 0 auto; border-radius: 999px; background: #e7f5f2; color: #176c5d; font-size: 12px; font-weight: 800; padding: 7px 11px; }
.vbh-booking__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.vbh-booking__facts div { border-top: 1px solid var(--vbh-line); padding-top: 11px; }
.vbh-booking__facts dt { color: var(--vbh-muted); font-size: 12px; font-weight: 700; }
.vbh-booking__facts dd { margin: 3px 0 0; font-weight: 800; }
.vbh-refund-note { display: grid; gap: 3px; border: 1px solid #9bd3c4; border-radius: 12px; background: #edf8f7; color: var(--vbh-ink); padding: 13px 15px; }
.vbh-refund-note strong { color: #176c5d; }
.vbh-actions { display: grid; gap: 14px; }
.vbh-actions details { border-top: 1px solid var(--vbh-line); padding-top: 14px; }
.vbh-actions summary { color: var(--vbh-sea-dark); cursor: pointer; font-weight: 800; }
.vbh-request-form { margin-top: 16px; }

.vbh-request-history { margin-top: 42px; }
.vbh-table-wrap { overflow-x: auto; padding: 0; }
.vbh-table-wrap table { width: 100%; min-width: 650px; border-collapse: collapse; }
.vbh-table-wrap th, .vbh-table-wrap td { border-bottom: 1px solid var(--vbh-line); padding: 15px 18px; text-align: left; vertical-align: top; }
.vbh-table-wrap th { background: #f5f9f9; color: var(--vbh-muted); font-size: 12px; text-transform: uppercase; }
.vbh-table-message { display: block; max-width: 420px; margin-top: 4px; color: var(--vbh-muted); font-size: 13px; }

@media (max-width: 900px) {
  .vbh-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vbh-public-booking .vbh-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vbh-search .vbh-button { grid-column: 1 / -1; }
}

@media (min-width: 1025px) {
  .vbh-public-booking[data-vbh-layout="below-description"] .vbh-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(92px, .58fr) minmax(170px, auto); gap: 10px; }
  .vbh-public-booking[data-vbh-layout="below-description"] .vbh-search .vbh-button { grid-column: auto; min-height: 48px; padding-inline: 16px; }
}

@media (max-width: 1024px) {
  .vbh-public-booking[data-vbh-layout="below-description"] { max-width: 760px; }
  .vbh-public-booking[data-vbh-layout="below-description"] .vbh-search { grid-template-columns: 1fr; }
  .vbh-public-booking[data-vbh-layout="below-description"] .vbh-search .vbh-button { grid-column: auto; }
}

@media (max-width: 720px) {
  .vbh-auth-grid, .vbh-booking-grid { grid-template-columns: 1fr; }
  .vbh-account-head { align-items: flex-start; flex-direction: column; }
  .vbh-booking__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .vbh-portal { padding-inline: 12px; }
  .vbh-card { border-radius: 14px; padding: 18px; }
  .vbh-search { grid-template-columns: 1fr; }
  .vbh-public-booking .vbh-search { grid-template-columns: 1fr; }
  .vbh-search .vbh-button { grid-column: auto; }
  .vbh-booking__top { align-items: flex-start; flex-direction: column; }
  .vbh-booking__badges { align-items: flex-start; }
  .vbh-button { width: 100%; }
  .vbh-calendar { width: 100%; padding: 14px; }
  .vbh-calendar__week, .vbh-calendar__grid { gap: 4px; }
  .vbh-calendar__day { min-height: 58px; border-radius: 7px; font-size: 14px; }
  .vbh-calendar__price, .vbh-calendar__minimum { font-size: 8px; }
  .vbh-date-return { align-items: stretch; flex-direction: column; }
  .vbh-checkout-return { grid-template-columns: 1fr; margin-top: -24px; }
  .vbh-checkout-return .vbh-small { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .vbh-button { transition: none; }
}
