/* Citas BellHogar: deliberately scoped so Divi cannot restyle the reservation UI. */
.bch-app, .bch-app * {box-sizing:border-box;font-family:'Inter',Arial,sans-serif!important}
.bch-app {--bch-ink:#202735;--bch-muted:#69717d;--bch-line:#e7e8e8;--bch-soft:#f8f7f5;--bch-gold:#b39874;color:var(--bch-ink);width:100%;font-size:14px;line-height:1.5}
.bch-app .bch-shell {background:white;border:1px solid #ebeae7;border-radius:15px;padding:24px 30px 28px;box-shadow:0 18px 60px rgba(23,29,39,.08)}
.bch-app h2,.bch-app h3,.bch-app p {margin:0;padding:0;letter-spacing:normal;text-transform:none;line-height:1.4}
.bch-app .bch-heading {display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:17px;border-bottom:1px solid var(--bch-line);margin-bottom:18px}
.bch-app .bch-eyebrow {display:block;font-size:10px;letter-spacing:2px;font-weight:750;color:#9b856b;margin-bottom:5px}
.bch-app .bch-heading h2 {font-size:27px;font-weight:650;letter-spacing:-.8px;color:var(--bch-ink);margin:0}
.bch-app .bch-heading p {font-size:12px;color:var(--bch-muted);margin-top:4px}
.bch-app .bch-step-tag {font-size:11px;font-weight:650;background:#f7f5f0;border:1px solid #eee9e0;border-radius:30px;padding:7px 12px;white-space:nowrap;color:#73624f}
.bch-app .bch-top-fields {display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:12px;margin-bottom:19px}
.bch-app .bch-select-wrap {display:block;font-size:12px;font-weight:600;color:#57616d;margin:0}
.bch-app .bch-select-wrap>span {display:block;margin-bottom:6px}
.bch-app select {appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2339414e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:36px!important}
.bch-app .bch-select-wrap select {display:block;width:100%;height:43px!important;min-height:43px;background-color:white;color:var(--bch-ink);font-weight:550;border:1px solid #dfe1e4;border-radius:8px;padding:10px 36px 10px 13px;font-size:13px;box-shadow:none;line-height:20px}
.bch-app select:focus,.bch-app input:focus,.bch-app textarea:focus {border-color:#757f8e!important;outline:2px solid rgba(32,39,53,.11)!important;box-shadow:none!important}
.bch-app .bch-columns {display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:26px}
.bch-app .bch-calendar-side {padding-right:24px;border-right:1px solid var(--bch-line);min-width:0}
.bch-app .bch-month-head {display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.bch-app .bch-month-head h3 {font-size:15px;font-weight:650;text-transform:capitalize;color:var(--bch-ink);letter-spacing:-.3px}
.bch-app .bch-month-nav {display:flex;gap:5px}
.bch-app button {text-shadow:none!important;text-transform:none!important;letter-spacing:normal!important;transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}
.bch-app button:before,.bch-app button:after {display:none!important}
.bch-app .bch-month-nav button {display:grid;place-items:center;border:1px solid transparent;background:#f7f7f6;color:var(--bch-ink);height:29px;width:29px;border-radius:7px;font-size:24px;line-height:1;padding:0;cursor:pointer}
.bch-app .bch-month-nav button:disabled {opacity:.3;cursor:default}
.bch-app .bch-weekdays,.bch-app .bch-days {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}
.bch-app .bch-weekdays {margin-bottom:5px}
.bch-app .bch-weekdays span {font-size:10px;font-weight:700;color:#8d939c;text-transform:uppercase;padding:6px 0}
.bch-app .bch-days {min-height:215px;align-content:start}
.bch-app .bch-day {position:relative;width:100%;aspect-ratio:1/1;max-height:38px;min-height:33px;display:grid;place-items:center;background:white;border:1px solid transparent;border-radius:8px;color:var(--bch-ink);font-size:13px;font-weight:600;padding:0;margin:0;cursor:pointer}
.bch-app .bch-day.bch-available {background:#f8f7f4;border-color:#efeeeb}
.bch-app .bch-day.bch-available:hover,.bch-app .bch-day.bch-available:focus-visible {border-color:#a89780;background:#f0ebe4}
.bch-app .bch-day.bch-available:after {content:'';position:absolute;bottom:3px;width:3px;height:3px;background:#b39874;border-radius:100%}
.bch-app .bch-day.bch-unavailable {color:#c0c4c8;background:#fdfdfd;cursor:not-allowed;font-weight:450}
.bch-app .bch-day.bch-selected,.bch-app .bch-day.bch-selected:hover {background:var(--bch-ink);color:white;border-color:var(--bch-ink);box-shadow:0 4px 12px rgba(32,39,53,.2)}
.bch-app .bch-day.bch-selected:after {background:white}
/* Día actual: borde y etiqueta HOY incluso si no admite nuevas reservas. */
.bch-app .bch-day.bch-today,.bch-app .bch-day.bch-today:disabled {border:2px solid #a88a63!important;background:#f7f2eb;color:#514638!important;font-weight:750;opacity:1;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.05;gap:1px}
.bch-app .bch-day.bch-today .bch-today-word {display:block;font-size:7px;letter-spacing:.45px;line-height:1;color:#866d4a;font-weight:800}
.bch-app .bch-day.bch-today.bch-available:after {display:none!important}
.bch-app .bch-day.bch-today.bch-selected,.bch-app .bch-day.bch-today.bch-selected:hover {background:var(--bch-ink)!important;border-color:#a88a63!important;color:#fff!important;box-shadow:0 0 0 2px rgba(168,138,99,.24),0 4px 12px rgba(32,39,53,.2)}
.bch-app .bch-day.bch-today.bch-selected .bch-today-word {color:#e4ccb0}

.bch-app .bch-legend {display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--bch-line);padding:10px 0 16px;margin-bottom:14px;color:#818993;font-size:10px}
.bch-app .bch-legend span {display:inline-flex;align-items:center;gap:6px}
.bch-app .bch-legend i {display:inline-block;width:11px;height:11px;border-radius:3px;border:1px solid}
.bch-app .bch-leg-yes {background:#f8f7f4;border-color:#c5b59d!important}
.bch-app .bch-leg-no {background:#fdfdfd;border-color:#e0e2e6!important}
.bch-app .bch-leg-today {background:#f7f2eb;border:2px solid #a88a63!important}
.bch-app .bch-time-heading {display:flex;align-items:baseline;flex-wrap:wrap;justify-content:space-between;gap:4px;margin-bottom:10px}
.bch-app .bch-time-heading strong {font-size:13px;font-weight:650}
.bch-app .bch-time-heading span {font-size:11px;color:var(--bch-muted);text-transform:capitalize}
.bch-app .bch-slots {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;min-height:41px}
.bch-app .bch-slot {background:white!important;border:1px solid #d9dde0!important;color:var(--bch-ink)!important;border-radius:8px!important;padding:9px 5px!important;height:40px!important;font-size:12px!important;font-weight:650!important;cursor:pointer!important;box-shadow:none!important}
.bch-app .bch-slot:hover {border-color:var(--bch-ink)!important}
.bch-app .bch-slot.bch-active {background:var(--bch-ink)!important;color:#fff!important;border-color:var(--bch-ink)!important}
.bch-app .bch-empty {grid-column:1/-1;background:#f8f7f5;color:#7d838b;border-radius:8px;padding:12px 10px;font-size:12px;line-height:1.4;text-align:center}
.bch-app .bch-loading {opacity:.45;pointer-events:none}
.bch-app .bch-form-side {min-width:0}
.bch-app .bch-form-side h3 {font-size:17px;letter-spacing:-.35px;font-weight:650;color:var(--bch-ink);margin:0}
.bch-app .bch-form-subtitle {font-size:12px;color:var(--bch-muted);margin:3px 0 17px!important}
.bch-app .bch-fields-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 11px}
.bch-app .bch-wide {grid-column:1/-1}
.bch-app .bch-field {position:relative;min-width:0;display:block;height:49px;margin:0}
.bch-app .bch-field input,.bch-app .bch-field select,.bch-app .bch-field textarea {display:block;width:100%;height:100%;min-height:0!important;margin:0!important;padding:20px 13px 6px!important;border:1px solid #dfe1e4!important;background-color:#fff!important;color:var(--bch-ink)!important;border-radius:8px!important;font-size:13px!important;line-height:1.25!important;font-weight:500!important;box-shadow:none!important;transition:border-color .15s ease!important}
.bch-app .bch-field textarea {resize:vertical!important;height:66px!important;min-height:66px!important;max-height:180px!important}
.bch-app .bch-field.bch-textarea {height:66px}
.bch-app .bch-field>span {position:absolute;top:16px;left:13px;font-size:13px;line-height:16px;white-space:nowrap;max-width:calc(100% - 35px);overflow:hidden;text-overflow:ellipsis;color:#7c8189;pointer-events:none;transition:top .14s ease,font-size .14s ease,color .14s ease;z-index:1}
.bch-app .bch-field:focus-within>span,.bch-app .bch-field input:not(:placeholder-shown)+span,.bch-app .bch-field textarea:not(:placeholder-shown)+span,.bch-app .bch-field-select.bch-has-value>span {top:6px;font-size:10px;color:#69727d}
.bch-app .bch-field select {padding-top:20px!important}
.bch-app .bch-field:focus-within select+span {top:6px;font-size:10px}
.bch-app .bch-summary {display:flex;gap:9px;align-items:flex-start;background:#f8f7f4;border:1px solid #efebe6;border-radius:8px;padding:11px 12px;margin:13px 0 10px;color:#737a82;font-size:11px;line-height:1.5}
.bch-app .bch-summary-icon {color:#a7a094;font-size:12px;font-weight:700}
.bch-app .bch-summary.bch-ready {background:#f4f7f5;border-color:#d9e7db;color:#31453c}
.bch-app .bch-summary.bch-ready .bch-summary-icon {color:#4e825d}
.bch-app .bch-consent {display:flex;align-items:flex-start;gap:8px;margin:0 0 12px;font-size:11px;color:#69717d;line-height:1.55;cursor:pointer}
.bch-app .bch-consent input {appearance:auto!important;-webkit-appearance:checkbox!important;flex:0 0 auto;margin:2px 0 0!important;width:14px;height:14px;accent-color:var(--bch-ink)}
.bch-app .bch-consent a {color:var(--bch-ink);font-weight:600;text-decoration:underline}
.bch-app .bch-submit {display:flex;justify-content:space-between;align-items:center;width:100%;padding:13px 18px!important;min-height:46px!important;border-radius:8px!important;border:1px solid var(--bch-ink)!important;background:var(--bch-ink)!important;color:white!important;cursor:pointer!important;font-size:13px!important;font-weight:650!important}
.bch-app .bch-submit:disabled {background:#d9dadd!important;border-color:#d9dadd!important;color:#8c929a!important;cursor:not-allowed!important}
.bch-app .bch-submit span {font-size:20px}
.bch-app .bch-under-button {margin:8px 0 0!important;font-size:10px;color:#8b9197;text-align:center}
.bch-app .bch-hp {position:absolute!important;left:-10000px!important;top:auto!important;opacity:0!important;width:1px!important;height:1px!important}
.bch-app .bch-feedback {display:none;color:#ae3333;background:#fff4f3;border:1px solid #f2d8d5;border-radius:6px;padding:10px 12px;margin-bottom:10px;font-size:12px}
.bch-app .bch-feedback.bch-alert {display:block}
.bch-app .bch-notice {background:#f8f7f4;border-radius:8px;padding:20px}
.bch-app .bch-success {padding:35px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px}
.bch-app .bch-success h3 {font-size:22px}.bch-app .bch-success p {font-size:13px;line-height:1.8;color:#6e7680}
.bch-app .bch-success-icon {display:grid;place-items:center;width:52px;height:52px;border-radius:50%;color:white;background:#33734d;font-size:25px}
.bch-app [hidden] {display:none!important}
@media (max-width:850px) {
  .bch-app .bch-shell {padding:20px}
  .bch-app .bch-columns {gap:18px;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)}
  .bch-app .bch-calendar-side {padding-right:18px}
  .bch-app .bch-slots {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px) {
  .bch-app .bch-shell {padding:17px;border-radius:12px}
  .bch-app .bch-heading {margin-bottom:15px}.bch-app .bch-heading h2 {font-size:25px}
  .bch-app .bch-step-tag {display:none}
  .bch-app .bch-columns {display:block}
  .bch-app .bch-calendar-side {padding:0 0 18px;margin:0 0 22px;border-right:0;border-bottom:1px solid var(--bch-line)}
  .bch-app .bch-days {min-height:unset}.bch-app .bch-day {max-height:46px;min-height:36px}
  .bch-app .bch-slots {grid-template-columns:repeat(4,minmax(0,1fr))}
  .bch-app .bch-legend {padding:13px 0}
}
@media (max-width:390px) {
  .bch-app .bch-fields-grid {grid-template-columns:1fr}
  .bch-app .bch-field.bch-wide {grid-column:auto}
  .bch-app .bch-heading p {font-size:11px}
}

/* V1.3 - Estado de solicitud completada: una sola tarjeta limpia y centrada. */
.bch-app.bch-complete .bch-top-fields,
.bch-app.bch-complete .bch-calendar-side {display:none!important}
.bch-app.bch-complete .bch-columns {display:flex;justify-content:center;align-items:flex-start;min-height:0;gap:0}
.bch-app.bch-complete .bch-step-tag {display:none!important}
.bch-app .bch-success-panel {width:min(100%,650px);padding:20px 8px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:0;outline:none}
.bch-app .bch-success-panel .bch-success-icon {width:56px;height:56px;font-size:28px;margin:0 0 16px;background:#31734e}
.bch-app .bch-success-panel .bch-success-title {margin:0;font-size:26px;line-height:1.25;letter-spacing:-.6px;color:var(--bch-ink);font-weight:700}
.bch-app .bch-success-panel .bch-book-again {margin:16px 0 19px;padding:10px 17px!important;border:1px solid #d8d4ce!important;border-radius:8px!important;background:#fff!important;color:var(--bch-ink)!important;cursor:pointer;font-weight:650!important;font-size:13px!important;min-height:41px}
.bch-app .bch-success-panel .bch-book-again:hover,.bch-app .bch-success-panel .bch-book-again:focus-visible {border-color:var(--bch-ink)!important;background:#f8f7f5!important}
.bch-app .bch-success-date {width:100%;background:#f9f7f3;border:1px solid #ebe4da;border-radius:11px;padding:15px 19px;display:flex;flex-direction:column;gap:6px;margin-bottom:17px}
.bch-app .bch-success-date-label {font-size:10px;font-weight:750;letter-spacing:1.5px;color:#978065}
.bch-app .bch-success-date strong {font-size:17px;font-weight:700;color:var(--bch-ink);line-height:1.45;text-transform:capitalize}
.bch-app .bch-success-message {font-size:13px;line-height:1.85;color:#666f7a;white-space:pre-line;max-width:575px;margin:0 0 14px!important}
.bch-app .bch-success-warning {font-size:12px;line-height:1.6;background:#fff5e7;color:#83581f;padding:12px;border:1px solid #ecd9bb;border-radius:8px;margin:0 0 14px!important}
.bch-app .bch-success-contact {display:flex;align-items:center;flex-direction:column;gap:5px;width:100%;max-width:535px;background:#fbfaf8;border:1px solid #eeece7;border-radius:11px;padding:15px 22px;margin-top:6px;overflow-wrap:anywhere}
.bch-app .bch-success-contact-heading {font-size:13px;color:var(--bch-ink);font-weight:700}
.bch-app .bch-success-location-name {font-size:12px;color:#5d6671;margin-bottom:5px}
.bch-app .bch-success-contact-row {font-size:12px;color:#5b6470;line-height:1.6}
.bch-app .bch-contact-link {color:var(--bch-ink);font-weight:650;text-decoration:underline;text-underline-offset:2px}
@media(max-width:680px){.bch-app .bch-success-panel{padding:17px 0 22px}.bch-app .bch-success-panel .bch-success-title{font-size:23px}.bch-app .bch-success-date strong{font-size:15px}}

/* V1.5.4 · Delegaciones: doble línea con dirección, sin ensanchar el formulario. */
.bch-app .bch-location-wrap {position:relative;min-width:0}
.bch-app .bch-location-wrap .bch-location-caption {display:block;margin:0 0 6px;font-weight:600;color:#57616d;font-size:12px}
.bch-app .bch-location-wrap select[hidden] {display:none!important}
.bch-app .bch-location-ui[hidden],.bch-app .bch-location-menu[hidden],.bch-app .bch-location-current-address[hidden] {display:none!important}
.bch-app .bch-location-ui {position:relative}
.bch-app .bch-location-toggle {display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px;min-height:55px!important;width:100%!important;padding:10px 15px!important;margin:0!important;border:1px solid #dfe1e4!important;border-radius:9px!important;background:#fff!important;color:var(--bch-ink)!important;text-align:left!important;box-shadow:none!important;cursor:pointer!important}
.bch-app .bch-location-toggle:focus-visible {outline:3px solid #b6c7ec!important;outline-offset:2px!important}
.bch-app .bch-location-current {display:flex;flex-direction:column;gap:3px;min-width:0}
.bch-app .bch-location-current-name {display:block;line-height:1.4;font-weight:600;font-size:13px;color:var(--bch-ink)}
.bch-app .bch-location-current-address {display:block;line-height:1.35;font-weight:450;font-size:11px;color:#858c96;white-space:normal}
.bch-app .bch-location-chevron {width:10px;height:10px;flex:0 0 10px;border-right:1.7px solid #444e5b;border-bottom:1.7px solid #444e5b;transform:translateY(-2px) rotate(45deg)}
.bch-app .bch-location-open .bch-location-chevron {transform:translateY(2px) rotate(225deg)}
.bch-app .bch-location-menu {position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:50;max-height:min(330px,55vh);overflow-y:auto;background:#fff;border:1px solid #dfe1e4;border-radius:10px;box-shadow:0 12px 35px rgba(27,34,44,.14);padding:6px;overscroll-behavior:contain}
.bch-app .bch-location-option {display:flex!important;flex-direction:column!important;align-items:flex-start!important;width:100%!important;gap:3px!important;min-height:48px!important;padding:10px 12px!important;border:0!important;border-radius:7px!important;margin:0!important;background:transparent!important;color:var(--bch-ink)!important;text-align:left!important;cursor:pointer!important}
.bch-app .bch-location-option:hover,.bch-app .bch-location-option:focus-visible {background:#f7f6f4!important;outline:0}
.bch-app .bch-location-option[aria-pressed="true"] {background:#f3efe9!important}
.bch-app .bch-location-option-name {font-size:13px;line-height:1.35;font-weight:650;color:var(--bch-ink)}
.bch-app .bch-location-option-address {font-size:11px;line-height:1.4;font-weight:450;color:#858c96;white-space:pre-line;overflow-wrap:anywhere}

/* V1.5.5 - Delegación y dirección en una sola línea, nombre izquierda y dirección derecha. */
.bch-app .bch-location-current {flex-direction:row!important;align-items:baseline!important;gap:12px!important;width:100%;overflow:hidden}
.bch-app .bch-location-current-name {flex:0 0 auto;min-width:0;max-width:62%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bch-app .bch-location-current-address {flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.bch-app .bch-location-option {flex-direction:row!important;align-items:center!important;gap:13px!important;justify-content:space-between!important;min-height:42px!important}
.bch-app .bch-location-option-name {flex:0 0 auto;min-width:0;max-width:62%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
.bch-app .bch-location-option-address {display:block;flex:1 1 auto;min-width:0;max-width:68%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
@media(max-width:680px){
  .bch-app .bch-location-current {gap:8px!important}
  .bch-app .bch-location-current-name,.bch-app .bch-location-option-name {max-width:65%}
  .bch-app .bch-location-option {gap:8px!important}
  .bch-app .bch-location-current-address,.bch-app .bch-location-option-address {font-size:10px}
}

/* V1.6.2: aviso temporal sobre el calendario mientras no hay delegación. */
.bch-app .bch-location-required-note {
  margin:0 0 14px;
  border:1px solid #e8decb;
  background:#fbf9f5;
  border-radius:9px;
  padding:11px 13px;
  color:#76644d;
  font-size:12px;
  line-height:1.5;
  font-weight:600;
}
