/* ═══════════════════════════════════════════════════════════
   BusyBeaver /estimare — CSS Self-Contained
   Depinde DOAR de design-tokens.css (variabile)
   Toate clasele .bb-est-* definite aici
   ═══════════════════════════════════════════════════════════ */

/* ─── CONTAINER ─────────────────────────────────── */
.bb-est-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.bb-est-section { padding: 64px 0; }

/* ─── S1: HERO ──────────────────────────────────── */
.bb-est-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    padding: 80px 0 60px;
    text-align: center;
}
.bb-est-hero-inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.bb-est-hero-eyebrow {
    display: inline-block;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 12px; font-weight: 800; letter-spacing: 3px;
    color: var(--color-gold, #C8A44E); text-transform: uppercase; margin-bottom: 20px;
    background: rgba(200, 164, 78, 0.12);
    border: 1px solid rgba(200, 164, 78, 0.25);
    padding: 10px 24px;
    border-radius: 100px;
}
.bb-est-hero-h1 {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 36px; font-weight: 900; line-height: 1.15;
    color: #fff; text-transform: uppercase; margin: 0 0 20px;
}
.bb-est-hero-sub {
    font-family: var(--font-body, 'Nunito', sans-serif);
    font-size: 16px; line-height: 1.6;
    color: rgba(255,255,255,.7); margin: 0 0 24px;
}
.bb-est-hero-badges { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.bb-est-badge {
    font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.08); padding: 6px 14px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,.1);
}
.bb-est-badge-sep { color: rgba(255,255,255,.3); }

/* Breadcrumbs rendered by layout-header.php — uses existing site.css styles */

/* ─── STEPPER ───────────────────────────────────── */
.bb-est-stepper-wrap {
    background: #fff; border-bottom: 1px solid #E2E8F0;
    padding: 16px 0; position: sticky; top: 70px; z-index: 80;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.bb-est-stepper { display: flex; align-items: center; justify-content: center; gap: 0; }
.bb-est-step {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 20px; cursor: default;
}
.bb-est-step-num {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 14px; font-weight: 800;
    background: #E2E8F0; color: #94A3B8; transition: all .3s;
}
.bb-est-step-label {
    font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 13px; font-weight: 700;
    color: #94A3B8; text-transform: uppercase; letter-spacing: 1px; transition: color .3s;
}
.bb-est-step-line { width: 40px; height: 2px; background: #E2E8F0; flex-shrink: 0; transition: background .3s; }

/* Active step */
.bb-est-step-active .bb-est-step-num { background: var(--color-teal, #0E9AA7); color: #fff; }
.bb-est-step-active .bb-est-step-label { color: #1E293B; }

/* Completed step */
.bb-est-step-done .bb-est-step-num { background: #059669; color: #fff; }
.bb-est-step-done .bb-est-step-label { color: #059669; }
.bb-est-step-done + .bb-est-step-line { background: #059669; }

/* ─── BACK BUTTON ───────────────────────────────── */
.bb-est-back {
    display: inline-block; font-size: 14px; color: var(--color-teal, #0E9AA7);
    cursor: pointer; margin-bottom: 24px; font-weight: 600;
    transition: opacity .2s;
}
.bb-est-back:hover { opacity: .7; }

/* ─── SECTION TITLES ────────────────────────────── */
.bb-est-section-h2 {
    font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 28px; font-weight: 900;
    color: #1E293B; text-transform: uppercase; text-align: center; margin: 0 0 12px;
}
.bb-est-section-sub {
    font-family: var(--font-body, 'Nunito', sans-serif); font-size: 15px; color: #64748B;
    text-align: center; max-width: 560px; margin: 0 auto 40px; line-height: 1.6;
}

/* ─── STEP 1: SERVICE CARDS ─────────────────────── */
.bb-est-svc-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px; max-width: 900px; margin: 0 auto;
}
.bb-est-svc-card {
    background: #fff; border: 2px solid #E2E8F0; border-radius: 12px;
    overflow: hidden; cursor: pointer; transition: all .25s;
    position: relative;
}
.bb-est-svc-card:hover { border-color: #CBD5E1; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.bb-est-svc-selected { border-color: var(--color-gold, #C8A44E) !important; box-shadow: 0 0 0 3px rgba(200,164,78,.2) !important; }
.bb-est-svc-accent { height: 4px; }
.bb-est-svc-body { padding: 20px; }
.bb-est-svc-name { font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 16px; font-weight: 800; color: #1E293B; margin: 0 0 8px; }
.bb-est-svc-desc { font-size: 13px; color: #64748B; line-height: 1.5; margin: 0 0 12px; }
.bb-est-svc-stats { font-size: 12px; color: #94A3B8; font-weight: 600; }
.bb-est-svc-dot { margin: 0 6px; }

/* ─── MODE TOGGLE ───────────────────────────────── */
.bb-est-mode-toggle {
    display: flex; gap: 4px; background: #F1F5F9; border-radius: 10px;
    padding: 4px; margin-bottom: 24px; max-width: 420px;
}
.bb-est-mode-btn {
    flex: 1; padding: 10px 16px; border: none; border-radius: 8px;
    background: transparent; font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 13px; font-weight: 700; color: #64748B;
    cursor: pointer; transition: all .2s;
}
.bb-est-mode-active { background: #fff; color: #1E293B; box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* ─── CONFIG LAYOUT ─────────────────────────────── */
.bb-est-config-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.bb-est-config-main { min-width: 0; }
.bb-est-config-side { position: sticky; top: 150px; }

/* ─── SURFACE CARD ──────────────────────────────── */
.bb-est-surface-card, .bb-est-measure-card {
    background: #fff; border: 1px solid #E2E8F0; border-radius: 12px;
    padding: 20px 24px; margin-bottom: 20px;
}
.bb-est-card-title { font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 15px; font-weight: 800; color: #1E293B; margin: 0 0 16px; }
.bb-est-surface-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.bb-est-fg { display: flex; flex-direction: column; gap: 4px; }
.bb-est-fg label { font-size: 12px; font-weight: 600; color: #64748B; text-transform: uppercase; letter-spacing: .5px; }
.bb-est-fg input, .bb-est-fg select, .bb-est-fg textarea {
    height: 42px; border: 1px solid #E2E8F0; border-radius: 8px;
    padding: 0 12px; font-size: 15px; color: #0F172A;
    font-family: var(--font-body, 'Nunito', sans-serif); transition: border-color .2s;
}
.bb-est-fg textarea { height: auto; padding: 10px 12px; resize: vertical; }
.bb-est-fg input:focus, .bb-est-fg select:focus, .bb-est-fg textarea:focus { border-color: var(--color-teal, #0E9AA7); outline: none; box-shadow: 0 0 0 3px rgba(14,154,167,.1); }

/* Computed surfaces strip */
.bb-est-computed {
    display: flex; gap: 24px; margin-top: 16px; padding-top: 16px;
    border-top: 1px solid #F1F5F9;
}
.bb-est-comp-item { display: flex; align-items: baseline; gap: 6px; }
.bb-est-comp-label { font-size: 12px; color: #94A3B8; }
.bb-est-comp-val { font-size: 16px; font-weight: 700; color: #1E293B; font-family: var(--font-heading, 'Montserrat', sans-serif); }
.bb-est-comp-unit { font-size: 11px; color: #94A3B8; }

/* ─── TEMPLATE GRID ─────────────────────────────── */
.bb-est-tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.bb-est-tpl-card {
    background: #fff; border: 2px solid #E2E8F0; border-radius: 12px;
    padding: 20px; cursor: pointer; transition: all .25s;
}
.bb-est-tpl-card:hover { border-color: #CBD5E1; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.bb-est-tpl-selected { border-color: var(--color-teal, #0E9AA7) !important; box-shadow: 0 0 0 3px rgba(14,154,167,.15) !important; }
.bb-est-tpl-icon { font-size: 28px; margin-bottom: 8px; }
.bb-est-tpl-name { font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 15px; font-weight: 800; color: #1E293B; margin-bottom: 6px; }
.bb-est-tpl-desc { font-size: 13px; color: #64748B; line-height: 1.5; margin-bottom: 10px; }
.bb-est-tpl-price { font-size: 18px; font-weight: 800; color: var(--color-teal, #0E9AA7); font-family: monospace; }
.bb-est-tpl-price span { font-size: 12px; color: #94A3B8; font-weight: 400; font-family: var(--font-body, 'Nunito', sans-serif); }
.bb-est-tpl-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.bb-est-tpl-tag { font-size: 10px; font-weight: 600; color: #64748B; background: #F1F5F9; padding: 3px 8px; border-radius: 6px; }
.bb-est-tpl-custom { border-style: dashed; text-align: center; }
.bb-est-tpl-custom .bb-est-tpl-name { color: var(--color-teal, #0E9AA7); }

/* Template preview button */
.bb-est-tpl-preview {
    display: block; width: 100%; margin-top: 12px; padding: 8px 12px;
    border: 1px solid #E2E8F0; border-radius: 8px; background: #F8FAFC;
    font-size: 12px; font-weight: 600; color: var(--color-teal, #0E9AA7);
    cursor: pointer; transition: all .15s; text-align: center;
}
.bb-est-tpl-preview:hover { background: #EFF6FF; border-color: var(--color-teal, #0E9AA7); }

/* Preview modal */
.bb-est-preview-overlay {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
}
.bb-est-preview-modal {
    background: #fff; border-radius: 16px; max-width: 640px; width: 100%;
    max-height: 85vh; display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.bb-est-preview-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid #E2E8F0;
}
.bb-est-preview-header h3 { margin: 0; font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 17px; font-weight: 800; color: #1E293B; }
.bb-est-preview-header button { border: none; background: none; font-size: 20px; color: #94A3B8; cursor: pointer; padding: 4px; }
.bb-est-preview-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.bb-est-preview-summary { font-size: 14px; font-weight: 600; color: var(--color-teal, #0E9AA7); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #F1F5F9; }
.bb-est-preview-cat { font-size: 11px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 1px; padding: 8px 0 4px; border-bottom: 1px solid #F1F5F9; margin-top: 8px; }
.bb-est-preview-item { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 13px; color: #334155; border-bottom: 1px solid #FAFAFA; }
.bb-est-preview-qty { font-size: 12px; color: #94A3B8; font-weight: 500; white-space: nowrap; }
.bb-est-preview-footer { padding: 16px 24px; border-top: 1px solid #E2E8F0; }

/* ─── SELECTED ITEMS CARD ───────────────────────── */
.bb-est-selected-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; }
.bb-est-selected-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #F1F5F9; }
.bb-est-sel-count { background: var(--color-teal, #0E9AA7); color: #fff; font-size: 12px; font-weight: 800; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.bb-est-prefill { padding: 10px 20px; background: #ECFDF5; color: #059669; font-size: 13px; font-weight: 600; cursor: pointer; border-bottom: 1px solid #A7F3D0; transition: background .2s; }
.bb-est-prefill:hover { background: #D1FAE5; }
.bb-est-sel-empty { padding: 40px 20px; text-align: center; color: #94A3B8; font-size: 14px; }
.bb-est-sel-list { padding: 0; }
.bb-est-sel-cat { padding: 8px 20px; font-size: 11px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 1px; background: #F8FAFC; border-bottom: 1px solid #F1F5F9; }
.bb-est-sel-item { display: flex; align-items: center; gap: 8px; padding: 8px 20px; border-bottom: 1px solid #F8FAFC; }
.bb-est-sel-name { flex: 1; font-size: 13px; color: #1E293B; }
.bb-est-sel-input { width: 70px; height: 32px; border: 1px solid #E2E8F0; border-radius: 6px; padding: 0 8px; font-size: 13px; text-align: center; }
.bb-est-sel-unit { font-size: 11px; color: #94A3B8; width: 30px; }
.bb-est-sel-remove { border: none; background: none; color: #CBD5E1; font-size: 16px; cursor: pointer; padding: 4px; transition: color .2s; }
.bb-est-sel-remove:hover { color: #EF4444; }
.bb-est-sel-child { border-left: 3px solid #3B82F6; padding-left: 28px; background: #EFF6FF; }
.bb-est-sel-badge { font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 8px; margin-right: 4px; }

/* ─── NOMENCLATOR BROWSER ───────────────────────── */
.bb-est-nomen-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; margin-bottom: 16px; max-height: 500px; display: flex; flex-direction: column; }
.bb-est-nomen-card .bb-est-card-title { padding: 16px 20px 0; }
.bb-est-nomen-search { padding: 8px 20px 12px; }
.bb-est-nomen-search input { width: 100%; height: 36px; border: 1px solid #E2E8F0; border-radius: 8px; padding: 0 12px; font-size: 13px; }
.bb-est-nomen-cats { flex: 1; overflow-y: auto; }
.bb-est-nomen-cat { border-bottom: 1px solid #F1F5F9; }
.bb-est-nomen-cat-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; cursor: pointer; font-size: 13px; font-weight: 600; color: #334155; transition: background .15s; }
.bb-est-nomen-cat-header:hover { background: #F8FAFC; }
.bb-est-nomen-cat-count { font-size: 10px; color: #94A3B8; background: #F1F5F9; padding: 2px 8px; border-radius: 10px; }
.bb-est-nomen-arrow { font-size: 9px; color: #CBD5E1; transition: transform .2s; }
.bb-est-nomen-cat.bb-est-open .bb-est-nomen-arrow { transform: rotate(90deg); }
.bb-est-nomen-items { display: none; }
.bb-est-nomen-cat.bb-est-open .bb-est-nomen-items { display: block; }
.bb-est-nomen-item { display: flex; align-items: center; justify-content: space-between; padding: 6px 20px 6px 32px; font-size: 12px; color: #475569; cursor: pointer; transition: background .15s; }
.bb-est-nomen-item:hover { background: #F0FDF4; }
.bb-est-nomen-item.bb-est-added { background: #ECFDF5; color: #059669; }
.bb-est-nomen-add-btn { width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--color-teal, #0E9AA7); background: rgba(14,154,167,.08); transition: all .15s; }
.bb-est-nomen-item:hover .bb-est-nomen-add-btn { background: rgba(14,154,167,.15); }
.bb-est-nomen-item.bb-est-added .bb-est-nomen-add-btn { background: #059669; color: #fff; }

/* ─── SUMMARY CARD ──────────────────────────────── */
.bb-est-summary-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 20px; }
.bb-est-summary-title { font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 14px; font-weight: 800; color: #1E293B; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 1px; }
.bb-est-summary-range { font-size: 28px; font-weight: 900; color: var(--color-teal, #0E9AA7); font-family: monospace; margin-bottom: 4px; }
.bb-est-summary-label { font-size: 12px; color: #94A3B8; margin-bottom: 12px; }
.bb-est-summary-count { font-size: 13px; color: #64748B; padding-bottom: 16px; border-bottom: 1px solid #F1F5F9; margin-bottom: 16px; }
.bb-est-summary-note { font-size: 12px; color: #94A3B8; line-height: 1.5; margin: 16px 0; font-style: italic; }

/* Lodge selector */
.bb-est-lodge { margin-bottom: 16px; }
.bb-est-lodge-title { font-size: 12px; font-weight: 700; color: #64748B; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.bb-est-lodge-opt {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 12px; border: 1px solid #E2E8F0; border-radius: 8px;
    margin-bottom: 6px; cursor: pointer; transition: all .2s;
}
.bb-est-lodge-opt input { display: none; }
.bb-est-lodge-selected { border-color: var(--color-teal, #0E9AA7); background: rgba(14,154,167,.04); }
.bb-est-lodge-name { font-size: 12px; font-weight: 600; color: #334155; }
.bb-est-lodge-price { font-size: 12px; font-weight: 700; color: var(--color-teal, #0E9AA7); }

/* Trust items */
.bb-est-trust-items { margin-top: 16px; }
.bb-est-trust-item { font-size: 12px; color: #64748B; padding: 4px 0; }

/* Primary button */
.bb-est-btn-primary {
    width: 100%; padding: 14px 24px; border: none; border-radius: 10px;
    background: var(--color-teal, #0E9AA7); color: #fff;
    font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 14px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: all .2s;
}
.bb-est-btn-primary:hover { background: #0B8A96; transform: translateY(-1px); }
.bb-est-btn-primary:disabled { background: #CBD5E1; cursor: not-allowed; transform: none; }

/* Preview button (summary) */
.bb-est-btn-preview {
    width: 100%; padding: 10px 24px; margin-top: 8px; border: 1px solid #E2E8F0; border-radius: 10px;
    background: #F8FAFC; color: #334155;
    font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 13px; font-weight: 700;
    cursor: pointer; transition: all .2s;
}
.bb-est-btn-preview:hover { background: #EFF6FF; border-color: var(--color-teal, #0E9AA7); color: var(--color-teal, #0E9AA7); }

/* ─── STEP 3: FORM ──────────────────────────────── */
.bb-est-form-container { max-width: 720px; }
.bb-est-form-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 32px; }
.bb-est-form-h2 { font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 22px; font-weight: 900; color: #1E293B; margin: 0 0 8px; }
.bb-est-form-sub { font-size: 14px; color: #64748B; margin: 0 0 24px; line-height: 1.5; }
.bb-est-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

/* Recap card */
.bb-est-recap { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; padding: 20px; margin-bottom: 24px; }
.bb-est-recap-title { font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 13px; font-weight: 800; color: #64748B; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.bb-est-recap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.bb-est-recap-item { display: flex; flex-direction: column; gap: 2px; }
.bb-est-recap-label { font-size: 11px; color: #94A3B8; text-transform: uppercase; }
.bb-est-recap-val { font-size: 15px; font-weight: 700; color: #1E293B; }
.bb-est-recap-total .bb-est-recap-val { font-size: 20px; color: var(--color-teal, #0E9AA7); }
.bb-est-recap-edit { border: none; background: none; color: var(--color-teal, #0E9AA7); font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; }

/* Visit section */
.bb-est-visit-section { margin: 20px 0; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; }
.bb-est-visit-toggle { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; transition: background .15s; }
.bb-est-visit-toggle:hover { background: #F8FAFC; }
.bb-est-visit-left { display: flex; align-items: center; gap: 12px; }
.bb-est-visit-icon { font-size: 20px; }
.bb-est-visit-title { font-size: 14px; font-weight: 700; color: #1E293B; }
.bb-est-visit-sub { font-size: 12px; color: #64748B; }

/* Toggle switch */
.bb-est-toggle-switch { width: 44px; height: 24px; border-radius: 12px; background: #CBD5E1; position: relative; transition: background .3s; flex-shrink: 0; }
.bb-est-toggle-knob { width: 20px; height: 20px; border-radius: 50%; background: #fff; position: absolute; top: 2px; left: 2px; transition: transform .3s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.bb-est-toggle-on .bb-est-toggle-switch { background: var(--color-teal, #0E9AA7); }
.bb-est-toggle-on .bb-est-toggle-knob { transform: translateX(20px); }

/* Calendar */
.bb-est-calendar-wrap { padding: 16px 20px; border-top: 1px solid #F1F5F9; }
.bb-est-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.bb-est-cal-month { font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 15px; font-weight: 800; color: #1E293B; }
.bb-est-cal-nav { border: 1px solid #E2E8F0; background: #fff; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 16px; color: #64748B; transition: all .15s; display: flex; align-items: center; justify-content: center; }
.bb-est-cal-nav:hover { background: #F1F5F9; }
.bb-est-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.bb-est-cal-dow { text-align: center; font-size: 10px; font-weight: 700; color: #94A3B8; padding: 4px; text-transform: uppercase; }
.bb-est-cal-day { text-align: center; padding: 6px 2px; border-radius: 8px; cursor: pointer; transition: all .15s; min-height: 44px; }
.bb-est-cal-day:hover { background: #F1F5F9; }
.bb-est-cal-day-num { font-size: 14px; font-weight: 600; color: #334155; }
.bb-est-cal-day-slots { font-size: 9px; margin-top: 2px; }
.bb-est-cal-past { opacity: .3; cursor: default; }
.bb-est-cal-past:hover { background: transparent; }
.bb-est-cal-disabled { opacity: .4; cursor: default; }
.bb-est-cal-disabled:hover { background: transparent; }
.bb-est-cal-selected { background: var(--color-teal, #0E9AA7) !important; }
.bb-est-cal-selected .bb-est-cal-day-num { color: #fff; }
.bb-est-cal-selected .bb-est-cal-day-slots { color: rgba(255,255,255,.7); }
.bb-est-cal-today { outline: 2px solid var(--color-gold, #C8A44E); outline-offset: -2px; }

/* Slots */
.bb-est-slots-wrap { margin-top: 12px; padding-top: 12px; border-top: 1px solid #F1F5F9; }
.bb-est-slots-date { font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 8px; }
.bb-est-slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.bb-est-slot { padding: 10px 12px; border: 1px solid #E2E8F0; border-radius: 8px; cursor: pointer; text-align: center; transition: all .15s; }
.bb-est-slot:hover { border-color: var(--color-teal, #0E9AA7); }
.bb-est-slot-selected { border-color: var(--color-teal, #0E9AA7); background: rgba(14,154,167,.06); }
.bb-est-slot-time { font-size: 13px; font-weight: 700; color: #1E293B; }
.bb-est-slot-price { font-size: 11px; color: var(--color-teal, #0E9AA7); }
.bb-est-slot-avail { font-size: 10px; color: #059669; }
.bb-est-slot-blocked { opacity: .35; cursor: default; }
.bb-est-slot-full { opacity: .4; cursor: default; }

/* Visit types */
.bb-est-visit-types { padding: 12px 20px; border-top: 1px solid #F1F5F9; }
.bb-est-visit-type { display: block; padding: 12px 14px; border: 1px solid #E2E8F0; border-radius: 8px; margin-bottom: 8px; cursor: pointer; transition: all .2s; }
.bb-est-visit-type:hover { border-color: #CBD5E1; }
.bb-est-visit-type-sel { border-color: var(--color-teal, #0E9AA7); background: rgba(14,154,167,.04); }
.bb-est-visit-type strong { font-size: 13px; color: #1E293B; display: block; }
.bb-est-visit-type small { font-size: 11px; color: #64748B; display: block; margin-top: 4px; }
.bb-est-cal-note { font-size: 11px; color: #94A3B8; font-style: italic; margin-top: 12px; }

/* File upload */
.bb-est-file-input { width: 100%; padding: 10px; border: 1px dashed #CBD5E1; border-radius: 8px; background: #F8FAFC; cursor: pointer; font-size: 13px; }
.bb-est-file-note { font-size: 11px; color: #94A3B8; display: block; margin-top: 4px; }

/* GDPR */
.bb-est-gdpr { margin: 20px 0; }
.bb-est-gdpr-label { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #64748B; cursor: pointer; }
.bb-est-gdpr-label input { margin-top: 3px; }
.bb-est-gdpr-label a { color: var(--color-teal, #0E9AA7); text-decoration: underline; }

/* Submit button */
.bb-est-btn-submit {
    width: 100%; padding: 16px 24px; border: none; border-radius: 10px;
    background: #1E293B; color: var(--color-gold, #C8A44E);
    font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 16px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 2px;
    cursor: pointer; transition: all .3s;
}
.bb-est-btn-submit:hover { background: #0F172A; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.bb-est-submit-note { font-size: 12px; color: #94A3B8; text-align: center; margin-top: 12px; }

/* ─── FAQ ───────────────────────────────────────── */
.bb-est-faq { background: #F8FAFC; }
.bb-est-faq-list { max-width: 720px; margin: 0 auto; }
.bb-est-faq-item { background: #fff; border: 1px solid #E2E8F0; border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
.bb-est-faq-q { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; font-size: 15px; font-weight: 600; color: #1E293B; transition: background .15s; }
.bb-est-faq-q:hover { background: #F8FAFC; }
.bb-est-faq-arrow { font-size: 10px; color: #CBD5E1; transition: transform .2s; }
.bb-est-faq-a { display: none; padding: 0 20px 16px; }
.bb-est-faq-a p { font-size: 14px; color: #64748B; line-height: 1.6; margin: 0; }
.bb-est-faq-open .bb-est-faq-arrow { transform: rotate(90deg); }
.bb-est-faq-open .bb-est-faq-a { display: block; }

/* ─── CTA FINAL ─────────────────────────────────── */
.bb-est-cta-final {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 60px 0;
}
.bb-est-cta-h2 { font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 12px; text-transform: uppercase; }
.bb-est-cta-sub { font-size: 15px; color: rgba(255,255,255,.6); margin: 0 0 24px; }
.bb-est-btn-whatsapp {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 10px;
    background: #25D366; color: #fff;
    font-family: var(--font-heading, 'Montserrat', sans-serif); font-size: 14px; font-weight: 800;
    text-decoration: none; text-transform: uppercase; letter-spacing: 1px;
    transition: all .2s;
}
.bb-est-btn-whatsapp:hover { background: #20BD5A; transform: translateY(-2px); }

/* ─── MOBILE BOTTOM BAR ─────────────────────────── */
.bb-est-mobile-bar {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; border-top: 1px solid #E2E8F0;
    padding: 12px 20px; z-index: 100;
    box-shadow: 0 -4px 12px rgba(0,0,0,.08);
    justify-content: space-between; align-items: center;
}
.bb-est-mobile-total { font-size: 18px; font-weight: 800; color: var(--color-teal, #0E9AA7); }
.bb-est-mobile-btn { padding: 10px 20px; border: none; border-radius: 8px; background: var(--color-teal, #0E9AA7); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1199px) {
    .bb-est-config-layout { grid-template-columns: 1fr; }
    .bb-est-config-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .bb-est-nomen-card { max-height: 400px; }
}

@media (max-width: 767px) {
    .bb-est-hero { padding: 60px 0 48px; }
    .bb-est-hero-h1 { font-size: 26px; }
    .bb-est-section { padding: 48px 0; }
    .bb-est-svc-grid { grid-template-columns: 1fr 1fr; }
    .bb-est-step-label { display: none; }
    .bb-est-step { padding: 8px 12px; }
    .bb-est-config-side { grid-template-columns: 1fr; }
    .bb-est-form-grid { grid-template-columns: 1fr; }
    .bb-est-recap-grid { grid-template-columns: 1fr; }
    .bb-est-surface-grid { grid-template-columns: 1fr 1fr; }
    .bb-est-computed { flex-wrap: wrap; gap: 12px; }
    .bb-est-tpl-grid { grid-template-columns: 1fr; }
    .bb-est-mode-toggle { max-width: 100%; }
    /* Mobile bottom bar for step 2 */
    .bb-est-step2-active .bb-est-mobile-bar { display: flex; }
    .bb-est-step2-active .bb-est-summary-card { display: none; }
}

@media (max-width: 479px) {
    .bb-est-hero-h1 { font-size: 22px; }
    .bb-est-svc-grid { grid-template-columns: 1fr; }
    .bb-est-container { padding: 0 16px; }
    .bb-est-form-card { padding: 20px; }
    .bb-est-btn-submit { font-size: 14px; letter-spacing: 1px; }
}