/* ===================================================================
   Hygge Booking — Journey de reserva
=================================================================== */

.hb-booking-widget {
    max-width: 1120px;
    margin: 0 auto;
    font-family: inherit;
    color: #444444;
    background: transparent;
}

.hb-booking-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 26px;
}

.hb-eyebrow,
.hb-step-kicker,
.hb-summary-label {
    display: block;
    font-size: 11px;
    letter-spacing: .14em;
    font-weight: 700;
    color: #666666;
}

.hb-booking-heading h2 {
    margin: 5px 0 5px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    font-weight: 500;
    color: #30271f;
}

.hb-booking-heading p {
    margin: 0;
    color: #666666;
    font-size: 15px;
}

/* --- Progreso --- */
.hb-progress-bar {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 0 4px;
}

.hb-progress-step {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    min-width: 0;
    opacity: .45;
}

.hb-progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 13px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 1px;
    background: #d2d2d2;
}

.hb-progress-step-active,
.hb-progress-step-done { opacity: 1; }

.hb-progress-circle {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #e8e8e8;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    position: relative;
    z-index: 1;
}

.hb-progress-step-active .hb-progress-circle { background: #666666; color: #fff; }
.hb-progress-step-done .hb-progress-circle { background: #555555; color: #fff; }

.hb-progress-text {
    font-size: 11px;
    text-align: center;
    color: #666666;
    line-height: 1.2;
}
.hb-progress-step-active .hb-progress-text { color: #333333; font-weight: 700; }

/* --- Layout principal --- */
.hb-booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 20px;
    align-items: start;
}

.hb-widget-card,
.hb-booking-summary,
.hb-booking-benefits {
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
}

.hb-widget-card { padding: 32px; }

.hb-step { display: none; }
.hb-step-active { display: block; }

.hb-step-kicker { margin-bottom: 7px; }

.hb-step-question {
    margin: 0 0 7px;
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.2;
    font-weight: 600;
    color: #333333;
}

.hb-step-description {
    margin: 0 0 22px;
    color: #666666;
    font-size: 14px;
    line-height: 1.55;
}

/* --- Categorías, sin iconos/emojis --- */
.hb-category-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hb-category-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.hb-category-card:hover { background: #f6f6f6; border-color: #bdbdbd; transform: translateY(-1px); }

.hb-category-card-selected {
    border-color: #666666;
    box-shadow: 0 0 0 1px #666666;
    background: #eeeeee;
}

.hb-category-card-name { font-size: 14px; font-weight: 600; color: #333333; }
.hb-category-card-arrow { color: #666666; font-size: 17px; }

/* --- Servicios --- */
.hb-service-group { display: none; }
.hb-service-group-active { display: block; }

.hb-service-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 4px;
}

.hb-service-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.hb-service-card:hover { background: #f7f7f7; }
.hb-service-card-selected {
    border-color: #666666;
    box-shadow: 0 0 0 1px #666666;
    background: #f7f7f7;
}

.hb-service-card input { flex-shrink: 0; }
.hb-service-card-main { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.hb-service-name { font-weight: 600; color: #333333; }
.hb-service-duration { font-size: 12px; color: #666666; }
.hb-service-price { font-weight: 700; color: #333333; white-space: nowrap; }

/* --- Fecha y hora --- */
.hb-date-field { margin-bottom: 22px; }
.hb-date-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
}

.hb-date-input {
    width: 100%;
    max-width: 320px;
    padding: 12px 13px;
    border: 1px solid #c8c8c8;
    border-radius: 7px;
    background: #fff;
    font-size: 15px;
    box-sizing: border-box;
}

.hb-slots-heading {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #333333;
}

.hb-slots-list { display: flex; flex-wrap: wrap; gap: 8px; min-height: 34px; }

.hb-slot-btn {
    min-width: 82px;
    padding: 9px 13px;
    border: 1px solid #bdbdbd;
    background: #fff;
    color: #555555;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.hb-slot-btn:hover { background: #e8e8e8; }
.hb-slot-selected { background: #666666 !important; border-color: #666666 !important; color: #fff !important; }
.hb-slots-loading,
.hb-slots-empty { margin: 4px 0; color: #666666; font-size: 13px; }

/* --- Datos --- */
.hb-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 16px;
}

.hb-field { margin: 0; }
.hb-field-full { grid-column: 1 / -1; }
.hb-field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 13px; color: #333333; }
.hb-field label span { color: #888888; font-weight: 400; }
.hb-field input,
.hb-field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #c8c8c8;
    border-radius: 7px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
}

/* --- Resumen lateral --- */
.hb-booking-summary {
    padding: 24px;
    position: sticky;
    top: 25px;
}

.hb-booking-summary h3 { margin: 5px 0 20px; font-size: 22px; font-weight: 600; color: #333333; }
.hb-summary-service { padding-bottom: 18px; border-bottom: 1px solid #dedede; }
.hb-summary-category { display: block; color: #666666; font-size: 12px; margin-bottom: 5px; }
.hb-summary-service-name { display: block; color: #333333; font-size: 15px; line-height: 1.4; }

.hb-summary-details { padding: 15px 0; border-bottom: 1px solid #dedede; }
.hb-summary-details > div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 13px; }
.hb-summary-details span { color: #666666; }
.hb-summary-details strong { color: #333333; text-align: right; }

.hb-summary-total { display: flex; justify-content: space-between; gap: 10px; padding-top: 17px; font-size: 15px; }
.hb-summary-total strong { font-size: 20px; }
.hb-summary-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #dedede; color: #777777; font-size: 12px; line-height: 1.5; }

/* --- Revisión --- */
.hb-review-box { background: #f2f2f2; border-radius: 8px; padding: 16px 18px; margin-bottom: 10px; }
.hb-review-line { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; border-bottom: 1px solid #eee2d3; font-size: 13px; }
.hb-review-line:last-child { border-bottom: none; }
.hb-review-line span { color: #666666; }
.hb-review-line strong { text-align: right; }
.hb-review-total-line { margin-top: 4px; padding-top: 13px; border-top: 1px solid #c8c8c8; font-size: 15px; }

.hb-message { margin-top: 12px; font-weight: 500; }
.hb-message.hb-success { color: #555555; }
.hb-message.hb-error { color: #7a4444; }

/* --- Navegación --- */
.hb-step-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; }
.hb-btn {
    padding: 11px 22px;
    border: none;
    border-radius: 6px;
    background: #444444;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: opacity .15s ease, transform .15s ease;
}
.hb-btn:hover:not(:disabled) { opacity: .9; transform: translateY(-1px); }
.hb-btn:disabled { background: #c8c8c8; cursor: not-allowed; transform: none; }
.hb-btn.hb-back { background: transparent; color: #555555; border: 1px solid #c8c8c8; }
.hb-btn.hb-next,
.hb-btn.hb-submit { margin-left: auto; }

/* --- Beneficios --- */
.hb-booking-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
    padding: 18px 22px;
}

.hb-booking-benefits > div { padding: 0 22px; border-right: 1px solid #dedede; }
.hb-booking-benefits > div:first-child { padding-left: 0; }
.hb-booking-benefits > div:last-child { border-right: none; padding-right: 0; }
.hb-booking-benefits strong,
.hb-booking-benefits span { display: block; }
.hb-booking-benefits strong { margin-bottom: 3px; font-size: 13px; color: #333333; }
.hb-booking-benefits span { font-size: 12px; color: #666666; }

/* --- Cursos / gestionar cita: estilos anteriores conservados --- */
.hb-course-card { max-width: 560px; margin: 0 auto 20px; background: #fff; border: 1px solid #d7d7d7; border-radius: 10px; padding: 22px 26px; }
.hb-course-title { margin: 0 0 8px; font-size: 1.2em; color: #333333; }
.hb-course-description { font-size: .95em; color: #4a4136; margin-bottom: 10px; }
.hb-course-sessions { list-style: none; margin: 0 0 12px; padding: 0; font-size: .9em; color: #555555; }
.hb-course-sessions li { padding: 3px 0; }
.hb-course-meta { font-size: .95em; margin-bottom: 14px; }
.hb-full { color: #7a4444; font-weight: 600; }
.hb-course-form { margin-top: 14px; padding-top: 14px; border-top: 1px solid #d7d7d7; }

.hb-manage-widget { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid #d7d7d7; border-radius: 10px; padding: 26px; }
.hb-manage-actions { display: flex; gap: 10px; margin: 16px 0; flex-wrap: wrap; }
.hb-manage-reschedule-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid #d7d7d7; }

@media (max-width: 820px) {
    .hb-booking-layout { grid-template-columns: 1fr; }
    .hb-booking-summary { position: static; order: 2; }
    .hb-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .hb-widget-card { padding: 22px 18px; }
    .hb-progress-text { font-size: 9px; }
    .hb-progress-step:not(:last-child)::after { left: calc(50% + 14px); width: calc(100% - 28px); }
    .hb-category-list,
    .hb-fields-grid,
    .hb-booking-benefits { grid-template-columns: 1fr; }
    .hb-field-full { grid-column: auto; }
    .hb-booking-benefits > div,
    .hb-booking-benefits > div:first-child,
    .hb-booking-benefits > div:last-child { padding: 12px 0; border-right: none; border-bottom: 1px solid #dedede; }
    .hb-booking-benefits > div:last-child { border-bottom: none; }
    .hb-date-input { max-width: none; }
    .hb-review-line { align-items: flex-start; }
}


/* --- Valoraciones públicas --- */
.hb-review-form-wrap { max-width: 620px; margin: 30px auto; }
.hb-review-form-card { background: #fff; border: 1px solid #d7d7d7; border-radius: 12px; padding: 34px; box-sizing: border-box; }
.hb-review-eyebrow { font-size: 11px; letter-spacing: 3px; text-align: center; color: #777; margin-bottom: 10px; }
.hb-review-form-card h1 { margin: 0 0 8px; text-align: center; font-size: 28px; font-weight: 400; }
.hb-review-intro { text-align: center; color: #666; margin: 0 0 22px; }
.hb-review-service-summary { background: #f0f0f0; border-radius: 8px; padding: 14px 16px; text-align: center; margin-bottom: 24px; }
.hb-review-service-summary strong, .hb-review-service-summary span { display:block; }
.hb-review-service-summary span { margin-top: 3px; color:#666; font-size: 13px; }
.hb-review-label { display:block; margin: 16px 0 8px; font-size: 13px; font-weight: 600; }
.hb-review-form-card textarea, .hb-review-form-card input[type="text"] { width:100%; box-sizing:border-box; border:1px solid #cfcfcf; border-radius:6px; padding:11px 12px; background:#fff; font-size:14px; }
.hb-review-form-card input[type="text"]:disabled { background:#f4f4f4; color:#555; }
.hb-stars { display:flex; flex-direction:row-reverse; justify-content:center; gap:5px; margin:4px 0 14px; }
.hb-stars input { position:absolute; opacity:0; pointer-events:none; }
.hb-stars label { cursor:pointer; font-size:34px; line-height:1; color:#cfcfcf; transition:color .15s ease, transform .15s ease; }
.hb-stars label:hover, .hb-stars label:hover ~ label, .hb-stars input:checked ~ label { color:#555; }
.hb-stars label:hover { transform:scale(1.05); }
.hb-review-privacy { color:#777; font-size:11px; line-height:1.45; margin:9px 0 16px; }
.hb-review-submit { display:block; width:100%; border:0; border-radius:6px; background:#555; color:#fff; padding:13px 18px; cursor:pointer; font-size:13px; }
.hb-review-thanks, .hb-public-message { max-width:620px; margin:30px auto; padding:30px; text-align:center; background:#fff; border:1px solid #d7d7d7; border-radius:12px; }
.hb-review-thanks h2 { font-weight:400; margin:0 0 8px; }
.hb-public-reviews { margin:30px auto; max-width:1100px; }
.hb-public-reviews-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; font-size:14px; }
.hb-public-reviews-heading span { letter-spacing:1px; text-transform:uppercase; font-size:12px; color:#666; }
.hb-public-reviews-heading strong { font-weight:400; font-size:16px; }
.hb-public-reviews-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.hb-public-review { border:1px solid #d7d7d7; border-radius:10px; padding:22px; background:#fff; }
.hb-public-review-stars { letter-spacing:2px; font-size:16px; margin-bottom:12px; }
.hb-public-review p { font-size:14px; line-height:1.55; margin:0 0 16px; }
.hb-public-review strong { font-size:13px; font-weight:500; }
@media (max-width: 720px) { .hb-review-form-card { padding:24px 18px; } .hb-public-reviews-grid { grid-template-columns:1fr; } }
