/* ==========================================================================
   Central do Ser — Listagem de Profissionais
   Versão: 1.0 | Fiel ao mockup listagem-central-do-ser-v2.html
   ========================================================================== */

/* ── Scroll suave global ── */
html { scroll-behavior: smooth; }

/* Reveal on scroll — ativa só quando JS confirma suporte */
.js-cds-reveal .professional-card {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .38s cubic-bezier(.4,0,.2,1), transform .38s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}
.js-cds-reveal .professional-card.cds-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

/* Respeita preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js-cds-reveal .professional-card {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.cds-encontre-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior: none;
}

/* ===== VARIÁVEIS ===== */
.cds-encontre-wrap,
.filter-sidebar,
.filter-overlay,
.mobile-tabbar,
.cds-bottom-sheet,
.cds-auth-modal,
#cds-video-modal {
    --orange: #D85A30;
    --orange-dark: #993C1D;
    --orange-darker: #712B13;
    --orange-light: #FAECE7;
    --orange-mid: #F0997B;
    --green: #3B6D11;
    --green-light: #EAF3DE;
    --amber: #854F0B;
    --amber-light: #FAEEDA;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --border: #e5e5e5;
    --border-light: #f0f0f0;
    --bg-secondary: #f7f7f7;
    --photo-coral-bg: #FAECE7;
    --photo-coral-text: #712B13;
    --photo-teal-bg: #E1F5EE;
    --photo-teal-text: #085041;
    --photo-purple-bg: #EEEDFE;
    --photo-purple-text: #3C3489;
}

/* ===== PAGE HEADER ===== */
.cds-encontre-wrap .page-header {
    padding: 32px 0 24px;
}
.cds-encontre-wrap .breadcrumb {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    display: flex;
    gap: 6px;
    align-items: center;
}
.cds-encontre-wrap .breadcrumb a:hover { color: var(--orange); }
.cds-encontre-wrap .page-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.25;
}
.cds-encontre-wrap .page-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
}
.cds-encontre-wrap .page-intro {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-top: 12px;
}

/* ===== PROFESSION PILLS (rota /terapia/) ===== */
.cds-encontre-wrap .terapia-prof-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 8px;
    padding-top: 4px;
}
.cds-encontre-wrap .prof-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 6px;
    border: 1px solid #e2e4e8;
    background: #fff;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .01em;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    transition: all .22s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    white-space: nowrap;
}
.cds-encontre-wrap .prof-pill:hover {
    border-color: #D85A30;
    color: #D85A30;
    background: #fff8f6;
    box-shadow: 0 4px 12px rgba(216,90,48,.14);
    transform: translateY(-1px);
}
.cds-encontre-wrap .prof-pill.active {
    background: linear-gradient(135deg, #D85A30 0%, #c44d24 100%);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(216,90,48,.36);
    transform: translateY(-1px);
}
.cds-encontre-wrap .prof-pill .pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(0,0,0,.07);
    color: inherit;
    letter-spacing: 0;
}
.cds-encontre-wrap .prof-pill.active .pill-count {
    background: rgba(255,255,255,.22);
}

/* ===== RESULTS BAR ===== */
.cds-encontre-wrap .results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    gap: 12px;
    flex-wrap: wrap;
}
.cds-encontre-wrap .results-count {
    font-size: 14px;
    color: var(--text-secondary);
}
.cds-encontre-wrap .results-count strong {
    color: var(--text-primary);
    font-weight: 600;
}
.cds-encontre-wrap .controls-right {
    display: flex;
    gap: 10px;
    align-items: center;
}
.cds-encontre-wrap .btn-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid #e2e4e8;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    color: #444;
    font-weight: 500;
    letter-spacing: .01em;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    transition: all .22s cubic-bezier(.4,0,.2,1);
}
.cds-encontre-wrap .btn-filter:hover {
    border-color: #D85A30;
    color: #D85A30;
    background: #fff8f6;
    box-shadow: 0 4px 12px rgba(216,90,48,.13);
    transform: translateY(-1px);
}
.cds-encontre-wrap .btn-filter svg {
    opacity: .6;
    transition: opacity .15s;
}
.cds-encontre-wrap .btn-filter:hover svg { opacity: 1; }
.cds-encontre-wrap .count-badge {
    background: linear-gradient(135deg, #D85A30 0%, #c44d24 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    min-width: 18px;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(216,90,48,.3);
}
.cds-encontre-wrap .sort-select {
    padding: 0 36px 0 16px;
    border: 1px solid #e2e4e8;
    border-radius: 9px;
    font-size: 13px;
    background: #fff;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5'%3e%3cpath d='m6 9 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    color: #444;
    font-weight: 500;
    letter-spacing: .01em;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    transition: all .22s cubic-bezier(.4,0,.2,1);
    margin-bottom: 0;
}
.cds-encontre-wrap .sort-select:hover,
.cds-encontre-wrap .sort-select:focus {
    border-color: #D85A30;
    outline: none;
    box-shadow: 0 4px 12px rgba(216,90,48,.13);
}

/* ===== CHIPS ATIVOS ===== */
.cds-encontre-wrap .active-chips {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.cds-encontre-wrap .chip-active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 6px 10px 6px 12px;
    background: var(--orange-light);
    color: var(--orange-darker);
    border-radius: 999px;
    font-weight: 500;
}
.cds-encontre-wrap .chip-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: var(--orange-darker);
    text-decoration: none;
}

/* ===== RESULTS SECTION ===== */
.cds-encontre-wrap .results-section {
    padding: 0 0 64px;
}

/* ===== CARD ===== */
.cds-encontre-wrap .professional-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cds-encontre-wrap .professional-card:hover {
    transform: translateY(-3px);
    border-color: #c5c5c5;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.cds-encontre-wrap .professional-card.featured {
    border: 2px solid var(--orange);
}
.cds-encontre-wrap .professional-card.featured:hover {
    box-shadow: 0 6px 24px rgba(216,90,48,.12);
}

.cds-encontre-wrap .card-top {
    padding: 16px 20px 0px;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 0;
}

/* FOTO */
.cds-encontre-wrap .photo {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: var(--photo-coral-bg);
    color: var(--photo-coral-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
}
.cds-encontre-wrap .photo-play-btn {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .62);
    border: 1.5px solid rgba(255,255,255,.35);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background .15s, transform .15s;
}
.cds-encontre-wrap .photo-play-btn:hover {
    background: rgba(0,0,0,.85);
    transform: scale(1.1);
}
/* Foto clicável quando há vídeo */
.cds-encontre-wrap .photo-has-video {
    cursor: pointer;
    border: none;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.cds-encontre-wrap .photo-has-video img {
    transition: opacity .15s;
}
.cds-encontre-wrap .photo-has-video:hover img,
.cds-encontre-wrap .photo-has-video:focus-visible img {
    opacity: .82;
}
.cds-encontre-wrap .photo-has-video:focus-visible {
    box-shadow: 0 0 0 3px rgba(216,90,48,.45);
}
.cds-encontre-wrap .photo.theme-teal   { background: var(--photo-teal-bg);   color: var(--photo-teal-text); }
.cds-encontre-wrap .photo.theme-purple { background: var(--photo-purple-bg); color: var(--photo-purple-text); }
.cds-encontre-wrap .photo img {
    width: 100%; height: 100%; object-fit: cover;
}
.cds-encontre-wrap .verified-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #1D9E75;
}

/* IDENTITY */
.cds-encontre-wrap .identity { min-width: 0; }
.cds-encontre-wrap .badge-row {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.cds-encontre-wrap .badge {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: .5px;
}
.cds-encontre-wrap .badge-featured { background: var(--orange); color: #fff; }
.cds-encontre-wrap .badge-featured-subtle {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .4px;
    color: var(--orange);
    border: 1px solid color-mix(in srgb, var(--orange) 40%, transparent);
    background: color-mix(in srgb, var(--orange) 8%, transparent);
    padding: 2px 7px;
    border-radius: 20px;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.cds-encontre-wrap .badge-new      { background: var(--amber-light); color: var(--amber); }
.cds-encontre-wrap .badge-discovery {
    color: #2563eb;
    border-color: color-mix(in srgb, #2563eb 35%, transparent);
    background: color-mix(in srgb, #2563eb 8%, transparent);
}

/* Badge de status no topo do card */
.cds-encontre-wrap .card-status-bar {
    padding: 10px 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.cds-encontre-wrap .badge-status {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 4px 10px;
    border-radius: 5px;
}
.cds-encontre-wrap .badge-status.green {
    background: color-mix(in srgb, #1D9E75 10%, transparent);
    color: #1D9E75;
    border: 1px solid color-mix(in srgb, #1D9E75 30%, transparent);
}
.cds-encontre-wrap .badge-status.orange {
    background: color-mix(in srgb, var(--orange) 10%, transparent);
    color: var(--orange);
    border: 1px solid color-mix(in srgb, var(--orange) 30%, transparent);
}

.cds-encontre-wrap .name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 3px;
    color: var(--text-primary);
    line-height: 1.25;
}
.cds-encontre-wrap .credentials {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: -5px;
}
.cds-encontre-wrap .rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    flex-wrap: wrap;
}
.cds-encontre-wrap .stars        { display: inline-flex; align-items: center; gap: 2px; }
.cds-encontre-wrap .star         { width: 14px; height: 14px; flex-shrink: 0; }
.cds-encontre-wrap .star-full    { color: #EF9F27; fill: currentColor; stroke: none; }
.cds-encontre-wrap .star-half    { color: #EF9F27; stroke: #EF9F27; }
.cds-encontre-wrap .star-empty   { color: transparent; fill: none; stroke: #D1D5DB; }
.cds-encontre-wrap .rating-num   { font-weight: 600; color: var(--text-primary); }
.cds-encontre-wrap .rating-count { color: var(--text-secondary); }
.cds-encontre-wrap .rating-source { font-size: 11px; color: var(--text-tertiary); }
.cds-encontre-wrap .rating-new   { font-size: 11px; color: var(--text-tertiary); font-style: italic; }

/* IDENTIDADE */
.cds-encontre-wrap .identity-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.cds-encontre-wrap .identity-handle {
    font-size: 12px;
    color: var(--text-tertiary);
    margin: 2px 0 4px;
}
.cds-encontre-wrap .handle-link {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: inherit;
}
.cds-encontre-wrap .handle-link:hover {
    color: var(--orange);
    text-decoration: underline;
}
.cds-encontre-wrap .footer-sep { color: var(--border-light); }
.cds-encontre-wrap .identity-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}
.cds-encontre-wrap .identity-cristao   { color: #b45309; }
.cds-encontre-wrap .identity-lgbtq    { color: #db2777; }
.cds-encontre-wrap .identity-gratuita { color: #059669; }

/* PREÇO */
.cds-encontre-wrap .price-side {
    text-align: right;
    flex-shrink: 0;
}
.cds-encontre-wrap .price-label {
    font-size: 10px;
    color: var(--text-tertiary);
    letter-spacing: .6px;
    font-weight: 600;
    margin-bottom: 2px;
}
.cds-encontre-wrap .price-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0;
}
.cds-encontre-wrap .price-unit {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 0;
    margin-bottom: 0;
}

/* FRASE */
.cds-encontre-wrap .quote-block { padding: 0 20px 10px; }
.cds-encontre-wrap .quote-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    padding-left: 16px;
    border-left: 3px solid var(--orange-mid);
    margin: 0;
}

/* DETAILS GRID */
.cds-encontre-wrap .details-grid {
    padding: 0 20px 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: -10px;
}
.cds-encontre-wrap .detail-item { min-width: 0; }
.cds-encontre-wrap .detail-item dd { margin: 0; }
.cds-encontre-wrap .detail-label {
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: .6px;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
}
.cds-encontre-wrap .detail-value {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.4;
}

/* CARD BOTTOM */
.cds-encontre-wrap .card-bottom {
    background: var(--bg-secondary);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    gap: 12px;
}
.cds-encontre-wrap .card-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cds-encontre-wrap .card-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 20px;
    font-size: 11px;
    font-weight: 500;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 6%, transparent);
    border-top: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
    flex-wrap: wrap;
}
.cds-encontre-wrap .footer-label { color: var(--text-tertiary); font-weight: 400; }
.cds-encontre-wrap .parceria-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
    color: var(--primary);
    padding: 2px 7px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    cursor: default;
    white-space: nowrap;
}
.cds-encontre-wrap .parceria-pct {
    font-weight: 400;
    opacity: .8;
}
.cds-encontre-wrap .parceria-badge::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 5px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s;
    z-index: 20;
    font-weight: 400;
}
.cds-encontre-wrap .parceria-badge:hover::after { opacity: 1; }
.cds-encontre-wrap .availability {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
}
.cds-encontre-wrap .availability.green { color: var(--green); }
.cds-encontre-wrap .availability.gray  { color: var(--text-secondary); }
.cds-encontre-wrap .dot {
    width: 8px; height: 8px;
    border-radius: 50%; flex-shrink: 0;
}
.cds-encontre-wrap .dot.green { background: var(--green); }
.cds-encontre-wrap .dot.gray  { background: var(--text-tertiary); }

.cds-encontre-wrap .cta-group { display: flex; gap: 8px; }

.cds-encontre-wrap .btn-secondary {
    background: #fff;
    color: var(--orange-darker);
    border: 1px solid var(--orange);
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    transition: background .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
}
.cds-encontre-wrap .btn-secondary:hover { background: var(--orange-light); }

.cds-encontre-wrap .btn-primary {
    background: var(--orange);
    color: #fff;
    padding: 11px 24px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    transition: background .15s, box-shadow .2s, transform .15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(216,90,48,.22);
    letter-spacing: .15px;
}
.cds-encontre-wrap .btn-primary:hover {
    background: var(--orange-dark);
    box-shadow: 0 4px 18px rgba(216,90,48,.34);
    transform: translateY(-1px);
}

/* CARD INFO ROW (mobile only — hidden on desktop) */
.cds-encontre-wrap .card-info-row { display: none; }

/* ===== NATIVE-FEEL TOUCH ===== */
.mobile-tab,
.mobile-tabbar a,
.btn-primary,
.btn-secondary,
.sheet-cat-card,
.sheet-footer-btn,
.cds-sheet-handle-wrap,
.hub-espec-card,
.hub-cat-card,
.page-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.mobile-tab:active                      { transform: scale(0.93); }
.btn-primary:active                     { transform: scale(0.97); box-shadow: none; }
.sheet-cat-card:active                  { transform: scale(0.985); }
.professional-card                      { transform: translateZ(0); }
.professional-card:active               { transform: scale(0.99); }

/* ===== PAGINAÇÃO ===== */
.cds-encontre-wrap .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
}
.cds-encontre-wrap .page-btn {
    min-width: 36px; height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
}
.cds-encontre-wrap .page-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
}
.cds-encontre-wrap .page-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    font-weight: 500;
}

/* ===== EMPTY STATE ===== */
.cds-encontre-wrap .cds-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}
.cds-encontre-wrap .cds-empty-state p { margin: 16px 0 0; font-size: 15px; }

/* ===== FAQ ===== */
.cds-encontre-wrap .page-faq {
    padding: 48px 0 64px;
    border-top: 1px solid var(--border-light);
    margin-top: 32px;
}
.cds-encontre-wrap .faq-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}
.cds-encontre-wrap .faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color .2s;
}
.cds-encontre-wrap .faq-item:hover { border-color: var(--text-tertiary); }
.cds-encontre-wrap .faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    list-style: none;
    user-select: none;
}
.cds-encontre-wrap .faq-item summary::-webkit-details-marker { display: none; }
.cds-encontre-wrap .faq-icon { transition: transform .2s; color: var(--orange); flex-shrink: 0; }
.cds-encontre-wrap .faq-item[open] .faq-icon { transform: rotate(180deg); }
.cds-encontre-wrap .faq-answer {
    padding: 0 20px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.cds-encontre-wrap .faq-answer p { margin: 0; }

/* ===== FILTER OVERLAY & SIDEBAR ===== */
.filter-overlay {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    bottom: var(--tabbar-h, 0px);
    background: rgba(0,0,0,0);
    z-index: 99998 !important;
    pointer-events: none;
    transition: background .3s ease;
}
.filter-overlay.open {
    background: rgba(0,0,0,.4);
    pointer-events: auto;
}
.filter-sidebar {
    position: fixed !important;
    top: 0; right: -460px;
    bottom: var(--tabbar-h, 0px);
    width: 420px; max-width: 90vw;
    background: #fff;
    z-index: 99999 !important;
    transition: right .3s cubic-bezier(.16,1,.3,1);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 30px rgba(0,0,0,.08);
}
.filter-sidebar.open { right: 0; }

.filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}
.filter-sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}
.filter-sidebar-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
}
.filter-sidebar-close:hover { background: var(--border); }

.filter-sidebar form {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: clip; /* clip sem criar scroll container, evita clipar footer */
}
.filter-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 24px 20px;
    min-height: 0;
}
.filter-group {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.filter-group:last-child { border-bottom: none; }
.filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    cursor: pointer;
}
.filter-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: .6px;
}
.filter-toggle-icon { color: var(--text-tertiary); transition: transform .2s; }
.filter-toggle-icon.collapsed { transform: rotate(-90deg); }
.filter-group-body.collapsed { display: none; }
.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}
.filter-option:hover { color: var(--text-primary); }

/* Input escondido — toggle visual via CSS */
.filter-option .cds-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px; height: 1px;
    margin: 0;
}
.filter-option-label {
    flex: 1;
    line-height: 1.35;
}
.filter-option .count {
    font-size: 12px;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

/* Trilho do toggle */
.cds-filter-track {
    width: 36px; height: 20px;
    border-radius: 10px;
    background: #d1d5db;
    position: relative;
    transition: background .22s;
    flex-shrink: 0;
}
.cds-filter-track::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.28);
    transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
/* Estado ativo — usa ~ para pular spans intermediários (label, count) */
.filter-option .cds-toggle-input:checked ~ .cds-filter-track {
    background: var(--orange);
}
.filter-option .cds-toggle-input:checked ~ .cds-filter-track::after {
    transform: translateX(16px);
}
/* Opção "Todos / Limpar" — sem trilho */
.filter-option-clear .cds-filter-track { display: none; }
.filter-option-clear .filter-option-label { color: var(--text-tertiary); font-size: 12px; }

/* Slider de preço */
.price-display {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 12px;
}
.price-slider-wrap {
    position: relative;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin: 18px 6px 6px;
}
.price-slider-active {
    position: absolute;
    height: 100%;
    background: var(--orange);
    border-radius: 3px;
}
.price-slider-wrap input[type="range"] {
    position: absolute;
    top: -7px; left: 0; right: 0;
    width: 100%;
    background: transparent;
    appearance: none;
    pointer-events: none;
    height: 20px;
}
.price-slider-wrap input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--orange);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.price-slider-wrap input[type="range"]::-moz-range-thumb {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--orange);
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

.filter-sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 10px;
    background: #fff;
}
.btn-clear-filters {
    flex: 1;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    cursor: pointer;
}
.btn-clear-filters:hover { border-color: var(--text-secondary); color: var(--text-primary); }
.btn-apply-filters {
    flex: 2;
    padding: 12px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
.btn-apply-filters:hover { background: var(--orange-dark); }

/* ===== MOBILE TAB BAR ===== */
@media (min-width: 1025px) { .mobile-tabbar { display: none; } }

/* ===== SORT MOBILE (dentro da sidebar) ===== */
.filter-sort-mobile { display: none; }
.filter-sort-header { cursor: default !important; }

/* ===== BOTTOM SHEET MOBILE ===== */
:root { --tabbar-h: 0px; }

.cds-sheet-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    bottom: var(--tabbar-h, 0px);
    background: rgba(0,0,0,.4);
    z-index: 199;
    opacity: 0;
    transition: opacity .25s;
}
.cds-sheet-backdrop.open { display: block; opacity: 1; }

.cds-bottom-sheet {
    display: none;
    position: fixed;
    bottom: var(--tabbar-h, 0px); left: 0; right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    max-height: calc(88vh - var(--tabbar-h, 0px));
    max-height: calc(100dvh - var(--tabbar-h, 0px) - 72px);
    z-index: 200;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.32,.72,0,1);
    box-shadow: 0 -4px 32px rgba(0,0,0,.12);
    will-change: transform;
}
.cds-bottom-sheet.open { transform: translateY(0); }

.cds-sheet-handle-wrap {
    padding: 10px 0 6px;
    display: flex;
    justify-content: center;
    touch-action: none;
    cursor: grab;
}
.cds-sheet-handle {
    width: 36px; height: 4px;
    background: #ddd;
    border-radius: 2px;
}
.cds-sheet-header {
    padding: 10px 14px 14px;
    border-bottom: 1px solid #f0f0f0;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    position: relative;
    min-height: 52px;
    flex-shrink: 0;
}
/* Spacer invisible para centralizar título visualmente */
.cds-sheet-header::before {
    content: '';
    display: block;
    width: 32px;
    flex-shrink: 0;
}
.cds-sheet-title {
    flex: 1;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}
.cds-sheet-close {
    flex-shrink: 0 !important;
    position: static !important;
    transform: none !important;
    width: 32px !important; height: 32px !important;
    border-radius: 50% !important;
    background: #f0f0f0 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #555 !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    outline: none;
}
.cds-sheet-close:active { background: #e0e0e0 !important; transform: scale(0.93) !important; }
.cds-sheet-close svg { width: 15px !important; height: 15px !important; display: block !important; }
.cds-sheet-body {
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
}
.cds-sheet-footer {
    padding: 16px 20px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    flex-shrink: 0;
}

/* ===== LOGIN SHEET ===== */
.cds-sheet-body-login { padding: 20px 20px 4px; }

/* Google button area */
.cds-login-google {
    margin-bottom: 20px;
    width: 100%;
}
.cds-login-google .nextend-social-login,
.cds-login-google .nsl-container,
.cds-login-google .nsl-container-block,
.cds-login-google .nsl-container-block > div,
.cds-login-google .nsl-button-Google { width: 100% !important; display: block !important; }
.cds-login-google .nsl-button {
    box-sizing: border-box !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    border-radius: 14px !important;
    height: 54px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: 1.5px solid #dadce0 !important;
    background: #fff !important;
    color: #3c4043 !important;
    box-shadow: 0 1px 6px rgba(0,0,0,.10) !important;
    padding: 0 20px !important;
    transition: box-shadow .15s, background .15s !important;
}
.cds-login-google .nsl-button:hover,
.cds-login-google .nsl-button:focus {
    background: #f8f9fa !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.14) !important;
}
.cds-login-google .nsl-button-icon { display: flex !important; align-items: center !important; flex-shrink: 0 !important; }
.cds-login-google .nsl-button-label-default { flex: 1 !important; text-align: center !important; }

/* Divider */
.cds-login-divider {
    text-align: center; position: relative; margin: 18px 0;
}
.cds-login-divider::before {
    content: ''; position: absolute; top: 50%;
    left: 0; right: 0; height: 1px; background: #e8e8e8;
}
.cds-login-divider span {
    position: relative; background: #fff;
    padding: 0 14px; font-size: 12px; color: #aaa; font-weight: 500;
}

/* Form fields */
#cds-login-form { display: flex; flex-direction: column; gap: 0; }
.cds-login-field {
    display: flex; align-items: center; gap: 10px;
    border: 1.5px solid #e5e5e5; border-radius: 12px;
    padding: 0 16px; background: #fafafa; margin-bottom: 12px;
    transition: border-color .15s;
}
.cds-login-field:focus-within { border-color: #D85A30; background: #fff; }
.cds-login-field svg { width: 17px; height: 17px; color: #bbb; flex-shrink: 0; }
.cds-login-field input {
    flex: 1; border: none; background: transparent;
    padding: 15px 0; font-size: 15px; outline: none; width: 100%;
    color: #1a1a1a;
}
.cds-login-field input::placeholder { color: #bbb; }
.cds-login-forgot {
    display: block; text-align: right; font-size: 12px;
    color: #D85A30; text-decoration: none; margin: -4px 0 16px;
}
.cds-btn-login {
    display: block; width: 100%; padding: 16px;
    background: #D85A30; color: #fff;
    border: none; border-radius: 12px;
    font-size: 16px; font-weight: 700;
    cursor: pointer; text-align: center;
    transition: background .15s;
}
.cds-btn-login:disabled { background: #e0a090; cursor: default; }
.cds-btn-login:not(:disabled):active { background: #993C1D; }
.cds-login-error {
    display: none; margin-top: 12px; padding: 12px 14px;
    background: #fef2f2; border: 1px solid #fecaca;
    border-radius: 8px; font-size: 13px; color: #c0392b;
}

/* Footer criar conta */
.cds-login-footer {
    padding: 14px 20px 18px;
    border-top: 1px solid #f0f0f0;
    text-align: center; flex-shrink: 0;
}
.cds-login-footer p { font-size: 13px; color: #999; margin: 0 0 10px; }
.cds-login-criar-btn {
    display: block; width: 100%; padding: 14px;
    border: 2px solid #D85A30; border-radius: 12px;
    color: #D85A30; font-size: 15px; font-weight: 700;
    text-align: center; text-decoration: none;
    transition: background .15s, color .15s;
}
.cds-login-criar-btn:hover { background: #D85A30; color: #fff; text-decoration: none; }
.sheet-footer-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: #D85A30;
    color: #fff;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background .15s;
}
.sheet-footer-btn:hover { background: #993C1D; color: #fff; text-decoration: none; }


/* Category cards no sheet */
.sheet-cat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: inherit;
    transition: background .12s;
}
.sheet-cat-card:hover,
.sheet-cat-card:active { background: #fafafa; text-decoration: none; }
.sheet-menu-card { gap: 0; }
.sheet-menu-card .sheet-cat-name { font-weight: 600; }
.sheet-menu-section-label {
    display: block;
    padding: 10px 20px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--text-tertiary);
    background: #f7f7f7;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
}
.sheet-menu-section-link:hover { background: #efefef; }
.sheet-menu-child { padding-left: 32px; }

/* ===== USER ACCOUNT SHEET ===== */
.cds-sheet-user-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px 16px;
    background: linear-gradient(135deg, #fff8f5 0%, #fff 100%);
    border-bottom: 1px solid #f0ebe8;
    flex-shrink: 0;
    position: relative;
}
.cds-sheet-close-user {
    position: absolute !important;
    right: 14px !important;
    top: 14px !important;
    transform: none !important;
    background: rgba(0,0,0,.06) !important;
}
.cds-user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--orange-light);
    color: var(--orange-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}
.cds-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cds-user-info { flex: 1; min-width: 0; }
.cds-user-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cds-user-email {
    display: block;
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sheet-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sheet-user-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--orange-light);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sheet-user-icon svg { width: 18px; height: 18px; }
.sheet-user-icon-logout { background: #FEE2E2; color: #DC2626; }
.sheet-user-logout .sheet-cat-name { color: #DC2626; }
.sheet-user-badge {
    min-width: 22px; height: 22px; border-radius: 11px;
    background: var(--orange); color: #fff;
    font-size: 11px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    padding: 0 6px; flex-shrink: 0;
}
.sheet-user-badge-blue { background: #3B82F6; }
.sheet-cat-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sheet-cat-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}
.sheet-cat-count {
    font-size: 13px;
    color: #888;
}
.sheet-cat-desc {
    font-size: 12px;
    color: #aaa;
    margin-top: 2px;
    line-height: 1.4;
}

.sheet-vazio {
    padding: 32px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* ===== TOAST ===== */
.cds-toast {
    position: fixed;
    top: 24px; left: 50%; transform: translateX(-50%) translateY(-16px);
    background: #1a1a1a; color: #fff;
    padding: 12px 22px; border-radius: 24px;
    font-size: 14px; font-weight: 500;
    z-index: 9999; pointer-events: none;
    opacity: 0; transition: opacity .3s, transform .3s;
    white-space: nowrap; box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.cds-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.cds-toast-success { background: #2d6a2d; }
.cds-toast-error   { background: #c0392b; }

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
    .cds-encontre-wrap .details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 1024px) {
    .cds-encontre-wrap { padding: 0 16px; }

    .cds-encontre-wrap .page-header { padding: 20px 0 16px; }
    .cds-encontre-wrap .page-title  { font-size: 22px; }
    .cds-encontre-wrap .page-subtitle { font-size: 14px; }

    .cds-encontre-wrap .terapia-prof-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .cds-encontre-wrap .terapia-prof-pills::-webkit-scrollbar { display: none; }

    .cds-encontre-wrap .results-bar { padding: 12px 0; margin-bottom: 14px; }
    .cds-encontre-wrap .results-count { font-size: 13px; }
    .cds-encontre-wrap .controls-right { gap: 8px; flex: 1; justify-content: flex-end; }
    .cds-encontre-wrap .btn-filter { padding: 8px 12px; font-size: 13px; }
    .cds-encontre-wrap .sort-select { padding: 8px 28px 8px 12px; font-size: 13px; }

    .cds-encontre-wrap .professional-card { margin-bottom: 16px; border-radius: 12px; }
    .cds-encontre-wrap .card-status-bar { padding: 8px 20px 0; }
    .cds-encontre-wrap .badge-status { font-size: 10px; padding: 3px 8px; }
    .cds-encontre-wrap .card-top {
        padding: 14px 20px 10px;
        grid-template-columns: 80px 1fr auto;
        gap: 14px;
        align-items: center;
    }
    .cds-encontre-wrap .photo {
        width: 80px; height: 80px;
        font-size: 20px; border-radius: 8px;
    }
    .cds-encontre-wrap .cred-exp,
    .cds-encontre-wrap .cred-handle { display: none; }
    .cds-encontre-wrap .card-rating-desktop { display: none; }
    .cds-encontre-wrap .card-info-row {
        display: flex;
        grid-column: 1 / -1;
        align-items: center;
        gap: 5px;
        font-size: 12px;
        color: var(--text-secondary);
        padding-top: 10px;
        border-top: 1px solid var(--border-light);
        margin-top: -10px;
        flex-wrap: wrap;
    }
    .cds-encontre-wrap .info-stars { color: #EF9F27; font-size: 11px; letter-spacing: -1px; line-height: 1; }
    .cds-encontre-wrap .info-rating { font-weight: 700; color: var(--text-primary); font-size: 12px; }
    .cds-encontre-wrap .info-sep { color: var(--border); }
    .cds-encontre-wrap .info-handle { color: var(--text-tertiary); font-size: 12px; text-decoration: none; }
    .cds-encontre-wrap .info-handle:hover { color: var(--orange); }
    .cds-encontre-wrap .info-anos { color: var(--text-secondary); }
    .cds-encontre-wrap .info-new { font-style: italic; font-size: 11px; color: var(--text-tertiary); }
    .cds-encontre-wrap .badge { font-size: 9px; padding: 2px 6px; }
    .cds-encontre-wrap .name { font-size: 16px; }
    .cds-encontre-wrap .credentials { font-size: 12px; margin-bottom: 4px; }
    .cds-encontre-wrap .rating-row { font-size: 12px; gap: 4px; }
    .cds-encontre-wrap .star { width: 12px; height: 12px; }
    .cds-encontre-wrap .rating-source { display: none; }
    .cds-encontre-wrap .price-value { font-size: 18px; }
    .cds-encontre-wrap .price-label { font-size: 9px; }
    .cds-encontre-wrap .price-unit  { font-size: 10px; }

    .cds-encontre-wrap .quote-block { padding: 0 18px 8px; }
    .cds-encontre-wrap .quote-text  { font-size: 13px; padding-left: 12px; border-left-width: 2px; }

    .cds-encontre-wrap .details-grid {
        padding: 10px 18px 8px;
        grid-template-columns: 1fr;
        gap: 3px;
    }
    .cds-encontre-wrap .detail-item {
        display: grid;
        grid-template-columns: 88px 1fr;
        gap: 10px;
        padding: 0;
    }
    .cds-encontre-wrap .detail-label { font-size: 10px; margin-bottom: 0; padding-top: 2px; }
    .cds-encontre-wrap .detail-value { font-size: 12px; }

    .cds-encontre-wrap .card-bottom {
        padding: 10px 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .cds-encontre-wrap .card-bottom-left {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 6px;
    }
    .cds-encontre-wrap .availability { font-size: 12.5px; justify-content: flex-start; }
    .cds-encontre-wrap .cta-group { display: flex; }
    .cds-encontre-wrap .btn-primary,
    .cds-encontre-wrap .btn-secondary {
        flex: 1;
        font-size: 14px; padding: 13px 16px;
        justify-content: center; text-align: center;
    }

    .filter-sidebar { width: 100vw; max-width: 100vw; right: -100vw; }

    /* Filter — header e footer mais compactos no mobile */
    .filter-sidebar-header { padding: 14px 16px; }
    .filter-sidebar-title  { font-size: 16px; }
    .filter-sidebar-close  { width: 30px; height: 30px; }
    .filter-sidebar-footer { padding: 10px 16px 12px; gap: 8px; }
    .btn-clear-filters {
        padding: 9px 8px;
        font-size: 12.5px;
        border-radius: 10px;
        letter-spacing: -.01em;
    }
    .btn-apply-filters {
        padding: 9px 12px;
        font-size: 13px;
        font-weight: 700;
        border-radius: 10px;
        letter-spacing: -.01em;
        box-shadow: 0 2px 8px rgba(216,90,48,.28);
    }

    .cds-bottom-sheet.open { display: flex; }
    .cds-sheet-backdrop.open { display: block; }

    .cds-terapia-hub:not(.cds-profissionais-hub):not(.cds-hub-standalone) .hub-section:not(.hub-listing-section) { display: none; }
    .cds-hub-standalone .hub-espec-section { display: none; }

    @keyframes cds-tabbar-in {
        from { transform: translateY(100%) translateZ(0); opacity: 0; }
        to   { transform: translateY(0)   translateZ(0); opacity: 1; }
    }
    @keyframes cds-center-pop {
        0%   { transform: translateX(-50%) scale(0);    opacity: 0; }
        55%  { transform: translateX(-50%) scale(1.18); opacity: 1; }
        75%  { transform: translateX(-50%) scale(0.92); }
        100% { transform: translateX(-50%) scale(1); }
    }
    @keyframes cds-ring-pulse {
        0%   { transform: translateX(-50%) translateY(-50%) scale(1);   opacity: .55; }
        100% { transform: translateX(-50%) translateY(-50%) scale(2.1); opacity: 0; }
    }
    .mobile-tabbar {
        display: flex;
        align-items: flex-end;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: #fff;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -4px 32px rgba(0,0,0,.10);
        padding: 10px 0 max(8px, env(safe-area-inset-bottom, 8px));
        z-index: 100000;
        overflow: visible;
        will-change: transform;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        animation: cds-tabbar-in .35s cubic-bezier(.34,1.56,.64,1) both;
    }
    .mobile-tab {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font-size: 10px;
        color: var(--text-tertiary);
        padding: 4px 2px;
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        font-family: inherit;
    }
    .mobile-tab.active { color: var(--orange); }
    .mobile-tab svg { width: 22px; height: 22px; }
    .mobile-tab-badge {
        position: absolute;
        top: -5px;
        right: -7px;
        min-width: 16px;
        height: 16px;
        border-radius: 8px;
        background: var(--orange);
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        padding: 0 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        box-shadow: 0 1px 3px rgba(0,0,0,.25);
        pointer-events: none;
    }
    .mobile-tab-icon-wrap {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-tab-notif {
        position: absolute;
        top: -23px;
        right: -17px;
        width: 27px;
        height: 27px;
        border-radius: 50%;
        background: var(--orange);
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        line-height: 17px;
        text-align: center;
        padding: 0;
        padding-top: 2px;
        box-sizing: border-box;
        border: 2px solid #fff;
        vertical-align: middle;
    }
    .mobile-tab-center-wrap {
        flex: 1;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        padding-bottom: 4px;
    }
    .mobile-tab-center-btn {
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background: linear-gradient(145deg, #E8693A, #C44E26);
        box-shadow: 0 0 0 5px #fff, 0 6px 24px rgba(216,90,48,.4);
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        will-change: transform;
        animation: cds-center-pop .55s cubic-bezier(.34,1.56,.64,1) .3s both;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    .mobile-tab-center-btn svg {
        width: 26px;
        height: 26px;
        position: relative;
        z-index: 1;
    }
    .mobile-tab-center-btn::before {
        content: '';
        position: absolute;
        top: 50%; left: 50%;
        width: 100%; height: 100%;
        border-radius: 50%;
        background: rgba(232,105,58,.38);
        transform: translateX(-50%) translateY(-50%) scale(1);
        animation: cds-ring-pulse 2.4s ease-out 1.4s infinite;
    }
    .mobile-tab-center-btn:active {
        transform: translateX(-50%) scale(0.88) !important;
        box-shadow: 0 0 0 5px #fff, 0 2px 10px rgba(216,90,48,.25) !important;
        transition: transform .1s, box-shadow .1s;
    }
    .mobile-tab-center-label {
        font-size: 10px;
        color: var(--orange);
        font-weight: 600;
        font-family: inherit;
    }

    /* Sort select e btn-filter: ocultos na results-bar no mobile */
    #cdsSortForm { display: none !important; }
    .btn-filter { display: none !important; }

    /* Sort dentro da sidebar: visível só no mobile */
    .filter-sort-mobile { display: block; }

    body.cds-lista-aberta { padding-bottom: 88px; }

    /* Modal de vídeo — bottom sheet no mobile/tablet */
    #cds-video-modal { align-items: flex-end; }
    #cds-video-modal .cds-modal-box {
        width: 100%;
        max-height: 90dvh;
        border-radius: 20px 20px 0 0;
        animation: cds-modal-sheet-in .32s cubic-bezier(.32,1,.64,1) both;
    }
    #cds-video-modal .cds-modal-footer {
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
    }
}

@media (max-width: 380px) {
    .cds-encontre-wrap .card-top {
        grid-template-columns: 50px 1fr;
        gap: 10px;
    }
    .cds-encontre-wrap .price-side {
        grid-column: 1 / -1;
        text-align: left;
        padding-top: 8px;
        border-top: 1px solid var(--border-light);
        display: flex;
        align-items: baseline;
        gap: 8px;
        margin-top: 4px;
    }
    .cds-encontre-wrap .price-side .price-label { display: none; }
    .cds-encontre-wrap .photo-wrap { width: 50px; height: 50px; }
    .cds-encontre-wrap .photo { font-size: 15px; }
    .cds-encontre-wrap .name  { font-size: 15px; }
}

/* Modal de vídeo YouTube — com perfil do profissional */
@keyframes cds-modal-in {
    from { transform: scale(.95) translateY(10px); opacity: 0; }
    to   { transform: none; opacity: 1; }
}
@keyframes cds-modal-sheet-in {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}
#cds-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
#cds-video-modal.active { display: flex; }
#cds-video-modal .cds-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
}
#cds-video-modal .cds-modal-box {
    position: relative;
    width: min(480px, 95vw);
    max-height: 92vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0,0,0,.5);
    display: flex;
    flex-direction: column;
    animation: cds-modal-in .3s cubic-bezier(.34,1.56,.64,1) both;
}
#cds-video-modal .cds-modal-close {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 10;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    border: none;
    color: #fff;
    font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: background .15s;
}
#cds-video-modal .cds-modal-close:hover { background: rgba(0,0,0,.7); }
#cds-video-modal .cds-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 20px 16px;
    background: linear-gradient(135deg, #fff8f5 0%, #fff 100%);
    border-bottom: 1px solid #f0ebe8;
    flex-shrink: 0;
}
#cds-video-modal .cds-modal-photo {
    width: 64px; height: 64px;
    border-radius: 12px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 600;
    background: var(--photo-coral-bg);
    color: var(--photo-coral-text);
}
#cds-video-modal .cds-modal-photo.theme-teal   { background: var(--photo-teal-bg);   color: var(--photo-teal-text); }
#cds-video-modal .cds-modal-photo.theme-purple { background: var(--photo-purple-bg); color: var(--photo-purple-text); }
#cds-video-modal .cds-modal-photo img { width: 100%; height: 100%; object-fit: cover; }
#cds-video-modal .cds-modal-identity { flex: 1; min-width: 0; }
#cds-video-modal .cds-modal-name {
    font-size: 17px; font-weight: 700;
    color: #1a1a1a; margin: 0 0 4px; line-height: 1.2;
}
#cds-video-modal .cds-modal-cred {
    font-size: 13px; color: #555;
    margin: 0 0 5px; line-height: 1.4;
}
#cds-video-modal .cds-modal-rating { font-size: 13px; color: #333; margin: 0 0 4px; }
#cds-video-modal .cds-modal-stars { color: #F59E0B; letter-spacing: 1px; }
#cds-video-modal .cds-modal-rating-count { color: #888; font-size: 12px; }
#cds-video-modal .cds-modal-espec {
    font-size: 12px; color: #999; margin: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#cds-video-modal .cds-modal-video {
    aspect-ratio: 16 / 9;
    background: #000;
    flex-shrink: 0;
}
#cds-video-modal .cds-modal-video iframe { width: 100%; height: 100%; border: 0; display: block; }
#cds-video-modal .cds-modal-footer {
    padding: 16px 20px;
    background: #fff;
    flex-shrink: 0;
}
#cds-video-modal .cds-modal-profile-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #E8693A, #C44E26);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .2px;
    box-shadow: 0 3px 14px rgba(216,90,48,.28);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: opacity .15s;
}
#cds-video-modal .cds-modal-profile-btn:hover { opacity: .9; }

/* Beta badge no topo */
/* Skeleton loader */
@keyframes cds-pulse {
    0%, 100% { background-color: #e9ecef; }
    50%       { background-color: #d1d5db; }
}
.skel-pulse { animation: cds-pulse 1.4s ease-in-out infinite; border-radius: 6px; }
.skel-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 10px;
}
.skel-top { display: flex; gap: 14px; margin-bottom: 14px; }
.skel-photo { width: 80px; height: 80px; border-radius: 10px; flex-shrink: 0; }
.skel-identity { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.skel-line { height: 13px; }
.skel-price { width: 70px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.skel-price-val { height: 22px; width: 56px; }
.skel-grid { display: flex; gap: 12px; margin-top: 10px; }
.skel-grid > div { height: 36px; flex: 1; border-radius: 8px; }

/* Transição suave ao trocar resultados */
#cdsResultados { transition: opacity .2s ease; }
#cdsResultados.cds-loading { opacity: .35; pointer-events: none; }

/* Toggle preço */
.price-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: auto;
}
.price-toggle input { display: none; }
.price-toggle-track {
    width: 34px;
    height: 20px;
    border-radius: 10px;
    background: var(--border);
    position: relative;
    transition: background .2s;
    flex-shrink: 0;
}
.price-toggle-track::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.price-toggle input:checked + .price-toggle-track { background: var(--orange); }
.price-toggle input:checked + .price-toggle-track::after { transform: translateX(14px); }

/* Star filter */
.star-option .filter-option-label { display: flex; align-items: center; gap: 6px; }
.star-option .star-row { display: inline-flex; gap: 2px; align-items: center; }
.star-ico { width: 14px; height: 14px; flex-shrink: 0; }
.star-on  { fill: #f59e0b; }
.star-off { fill: none; stroke: #d1d5db; stroke-width: 1.5; }
.star-label { font-size: 12px; color: var(--text-secondary); }

/* Ver mais filtros */
.filter-overflow { }
.btn-show-more {
    background: none;
    border: none;
    font-size: 13px;
    color: var(--orange);
    cursor: pointer;
    padding: 6px 0 0;
    font-weight: 500;
}
.btn-show-more:hover { text-decoration: underline; }

/* ===== FALLBACK EMPTY STATE ===== */
.cds-encontre-wrap .cds-fallback-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}
.cds-encontre-wrap .cds-fallback-header {
    margin-bottom: 24px;
}
.cds-encontre-wrap .cds-fallback-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}
.cds-encontre-wrap .cds-fallback-hint {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

/* ===== PROFISSIONAIS SIMILARES (perfil) ===== */
.cds-similares-section {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--border-light);
}
.cds-similares-section .cds-similares-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 24px;
}
.cds-similares-section .cds-similares-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) {
    .cds-similares-section .cds-similares-grid { grid-template-columns: 1fr; }
}

/* ===== HUB /terapia/ ===== */
.cds-terapia-hub {
    background: #f4f4f6;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Hero */
.hub-hero {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    text-align: center;
}
.hub-breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.hub-breadcrumb a { color: #999; text-decoration: none; }
.hub-breadcrumb a:hover { color: #D85A30; }
.hub-hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 0 0 16px;
}
.hub-hero-sub {
    font-size: 17px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Sections */
.hub-section {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px 64px;
}
.hub-pros-section { background: #f4f4f6; }
.hub-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}
.hub-section-sub {
    font-size: 14px;
    color: #888;
    margin: 0 0 28px;
}

/* Especialidades grid */
.hub-espec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
    max-height: 166px; /* ~1 linha: 130px card + 16px gap + 20px margem */
    overflow: hidden;
    transition: max-height .45s ease;
}
.hub-espec-grid.expanded {
    max-height: 2000px;
}
.hub-espec-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 20px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
    border: 1px solid rgba(0,0,0,.04);
}
.hub-espec-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
    text-decoration: none;
}
.hub-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #FAECE7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D85A30;
    flex-shrink: 0;
}
.hub-card-icon svg { width: 20px; height: 20px; }
.hub-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}
.hub-card-count {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

/* Hub /encontre/ — categorias (cards horizontais) */
.hub-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.hub-cat-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
    text-decoration: none;
    border: 1px solid rgba(0,0,0,.04);
    transition: transform .18s ease, box-shadow .18s ease;
}
.hub-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
    text-decoration: none;
}
.hub-cat-card .hub-card-icon { flex-shrink: 0; margin-top: 2px; }
.hub-cat-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}
.hub-cat-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.4;
    margin-top: 4px;
}
.hub-cat-arrow {
    width: 18px;
    height: 18px;
    color: #ccc;
    flex-shrink: 0;
    align-self: center;
    transition: color .15s, transform .15s;
}
.hub-cat-card:hover .hub-cat-arrow {
    color: #D85A30;
    transform: translateX(3px);
}
@media (max-width: 640px) {
    .hub-cat-grid { grid-template-columns: 1fr; }
}

/* Toggle ver mais especialidades */
.hub-espec-toggle {
    margin-top: 20px;
    text-align: center;
    position: relative;
}
.hub-espec-toggle::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 48px;
    background: linear-gradient(to bottom, transparent, #f4f4f6);
    pointer-events: none;
    transition: opacity .3s;
}
.hub-espec-toggle.expanded::before { opacity: 0; }
.hub-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border: 2px solid #D85A30;
    border-radius: 8px;
    background: transparent;
    color: #D85A30;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
    font-family: inherit;
}
.hub-toggle-btn:hover {
    background: #D85A30;
    color: #fff;
}

/* Profissionais */
.hub-pros-section .cds-encontre-wrap {
    padding: 0;
    max-width: 100%;
}
.hub-ver-todos {
    margin-top: 32px;
    text-align: center;
}
.hub-ver-todos-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: #D85A30;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, transform .15s;
    box-shadow: 0 2px 8px rgba(216,90,48,.25);
}
.hub-ver-todos-link:hover {
    background: #993C1D;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* FAQ dentro do hub */
.cds-terapia-hub .cds-encontre-wrap { background: transparent; }
.cds-terapia-hub .page-faq { background: #fff; border-radius: 16px 16px 0 0; padding: 32px; margin: 0 24px 0; max-width: 1112px; margin-left: auto; margin-right: auto; }

@media (max-width: 1024px) {
    .hub-espec-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hub-hero { padding: 36px 20px 28px; }
    .hub-section { padding: 0 16px 48px; }
    .cds-terapia-hub .page-faq { margin: 0 16px 48px; padding: 24px 20px; }
}
@media (max-width: 400px) {
    .hub-espec-grid { grid-template-columns: 1fr; }
}

/* ===== /profissionais/ — seção de listagem dentro do hub ===== */
.hub-listing-section .hub-listing-wrap {
    padding-top: 0;
}
.hub-listing-section .hub-listing-wrap .results-bar {
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.cds-beta-notice {
    background: var(--amber-light);
    color: var(--amber);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    display: inline-block;
    border: 1px solid rgba(133,79,11,.2);
}

/* ===== SUBHEADER /encontre/ ===== */
.cds-subheader {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ebebeb;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 900;
}
.cds-subheader-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 60px;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Logo */
.cds-subheader-logo-link { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.cds-subheader-logo      { height: 60px !important; width: auto; object-fit: contain; display: block; }
.cds-subheader-site-name { font-size: 16px; font-weight: 700; color: #222; }

/* Título scroll — mobile: centrado absoluto */
.cds-subheader-scroll-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 170px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.cds-subheader-scroll-title.cds-title-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Nav — oculta mobile */
.cds-subheader-nav {
    display: none;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}
.cds-subnav-link {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    transition: background .15s, color .15s;
    display: flex;
    align-items: center;
    gap: 3px;
}
.cds-subnav-link:hover { background: #f5f5f5; color: #111; }

/* Dropdown Especialistas */
.cds-subnav-dropdown { position: relative; }
.cds-subnav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    min-width: 220px;
    padding: 8px;
    z-index: 1000;
}
.cds-subnav-dropdown.open .cds-subnav-menu { display: block; }
.cds-subnav-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: background .12s;
}
.cds-subnav-menu-item:hover { background: #f5f5f5; }
.cds-subnav-count {
    font-size: 11px;
    color: #999;
    background: #f3f3f3;
    padding: 1px 6px;
    border-radius: 10px;
}
.cds-subnav-menu-all {
    margin-top: 4px;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    color: var(--orange);
    font-weight: 500;
}
.cds-subnav-menu-all:hover { background: color-mix(in srgb, var(--orange) 6%, transparent); }

/* Ações */
.cds-subheader-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Carrinho */
.cds-subheader-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #444;
    text-decoration: none;
    border-radius: 8px;
    transition: background .15s;
}
.cds-subheader-cart:hover { background: #f5f5f5; }
.cds-subheader-cart-badge {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--orange);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}

/* Conta — link direto para dashboard */
.cds-subheader-user-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.cds-subheader-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    transition: border-color .15s;
    display: block;
}
.cds-subheader-user-link:hover .cds-subheader-avatar { border-color: var(--orange); }
.cds-subheader-avatar-placeholder {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #f3f3f3;
    border: 2px solid #e5e7eb;
    display: flex; align-items: center; justify-content: center;
    color: #888;
    transition: border-color .15s;
}
.cds-subheader-user-link:hover .cds-subheader-avatar-placeholder { border-color: var(--orange); }

/* Entrar */
.cds-subheader-entrar {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    transition: color .15s, background .15s;
}
.cds-subheader-entrar:hover { color: var(--orange); background: #fdf4f0; }

/* CTA Criar Perfil */
.cds-subheader-cta {
    display: none;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange);
    border: 1.5px solid var(--orange);
    border-radius: 20px;
    padding: 6px 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.cds-subheader-cta:hover { background: var(--orange); color: #fff; }

/* Busca */
.cds-subheader-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 8px;
    color: #444;
    text-decoration: none;
    transition: background .15s;
    flex-shrink: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.cds-subheader-search-btn:hover  { background: #f5f5f5; }
.cds-subheader-search-btn:focus  { outline: none; }
.cds-subheader-search-btn:focus-visible { box-shadow: 0 0 0 2px var(--orange); }

/* ── Desktop ── */
@media (min-width: 1025px) {
    .cds-subheader-inner { height: 90px; padding: 0 32px; max-width: 100%; }
    .cds-subheader-logo  { height: 80px !important; }
    .cds-subheader-nav   { display: flex; }
    .cds-subheader-uname { display: inline; }
    .cds-subheader-cta   { display: inline-flex; }

    /* Desktop: scroll title após logo — static no flow, não centralizado */
    .cds-subheader-scroll-title {
        position: static;
        transform: translateY(5px);
        left: auto;
        max-width: 300px;
        font-size: 15px;
        flex-shrink: 1;
        min-width: 0;
    }
    .cds-subheader-scroll-title.cds-title-visible {
        transform: translateY(0);
    }
}

/* ── Modal de Busca ──────────────────────────────────────────────────────── */
/* ── Modal de Busca ───────────────────────────────────────────────────────── */
.cds-search-modal {
    display: none;
    position: fixed; inset: 0; z-index: 9999;
    align-items: flex-start; justify-content: center;
    padding-top: 48px;
    opacity: 0; transition: opacity 0.25s ease;
}
.cds-search-modal.cds-search-visible { display: flex; }
.cds-search-modal.cds-search-open    { opacity: 1; }

.cds-search-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.48);
}
.cds-search-modal.cds-search-open .cds-search-overlay {
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

/* Caixa — flex column */
.cds-search-box {
    position: relative; z-index: 1;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 28px 72px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.04);
    width: min(520px, calc(100vw - 32px));
    max-height: calc(100vh - 80px);
    display: flex; flex-direction: column;
    overflow: hidden;
    transform: translateY(-18px);
    transition: transform 0.32s cubic-bezier(.34,1.3,.64,1);
}
.cds-search-modal.cds-search-open .cds-search-box { transform: translateY(0); }

/* Topbar */
.cds-search-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #f0ede8;
    flex-shrink: 0;
}
.cds-search-topbar-title {
    font-size: 15px; font-weight: 700; color: #1a1a1a; letter-spacing: -.01em;
}
.cds-search-close {
    background: #f3f0ec; border: none; border-radius: 50%;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #888;
    transition: background .15s, color .15s; flex-shrink: 0;
}
.cds-search-close:hover  { background: var(--orange-light); color: var(--orange); }
.cds-search-close:focus  { outline: none; }

/* Body — rolável, min-height:0 obrigatório para flex scroll */
.cds-search-body {
    flex: 1; min-height: 0; overflow-y: auto;
    padding: 20px 20px 12px;
    background: #FFFAF8;
}
.cds-search-body::-webkit-scrollbar { width: 4px; }
.cds-search-body::-webkit-scrollbar-thumb { background: #e0d8d4; border-radius: 2px; }

.cds-search-hint {
    font-size: 13px; color: #999; line-height: 1.55;
    margin: 0 0 16px;
}

/* Form */
.cds-search-form { display: flex; flex-direction: column; gap: 0; }

/* Campo principal — ícone à direita */
.cds-search-main-field {
    position: relative; display: flex; align-items: center;
    margin-bottom: 14px;
}
.cds-search-main-icon {
    position: absolute; right: 14px; color: var(--orange);
    pointer-events: none; opacity: .7;
}
.cds-search-main-field input {
    width: 100%; height: 54px;
    border: 2px solid #e8e0d8; border-radius: 13px;
    padding: 0 46px 0 16px;
    font-size: 15px; color: #1a1a1a;
    background: #fff; outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.cds-search-main-field input:focus {
    border: 1px solid #D85A30;
    box-shadow: 0 0 0 4px rgba(216,90,48,.1);
}
.cds-search-main-field input::placeholder { color: #bbb; }

/* Toggle busca avançada */
.cds-search-adv-row {
    display: flex; align-items: center;
    padding: 13px 16px;
    background: #fff; border: 1.5px solid #e8e0d8; border-radius: 12px;
    margin-bottom: 0; cursor: pointer; user-select: none;
    transition: border-color .2s, background .2s;
}
.cds-search-adv-row:hover { border-color: var(--orange-mid); background: var(--orange-light); }
.cds-search-adv-row.active { border-color: var(--orange); background: var(--orange-light); }
.cds-search-adv-row .cds-toggle-input {
    position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px;
}
.cds-search-adv-label-text {
    flex: 1; font-size: 13.5px; font-weight: 600; color: #444; cursor: pointer;
}
.cds-search-adv-row.active .cds-search-adv-label-text { color: var(--orange-dark); }
.cds-search-adv-row .cds-filter-track {
    width: 38px; height: 22px; border-radius: 11px;
    background: #ccc; position: relative;
    transition: background .22s; flex-shrink: 0;
}
.cds-search-adv-row .cds-filter-track::after {
    content: ''; position: absolute; top: 3px; left: 3px;
    width: 16px; height: 16px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.3);
    transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
.cds-search-adv-row .cds-toggle-input:checked ~ .cds-filter-track,
.cds-search-adv-row.active .cds-filter-track { background: #D85A30; }
.cds-search-adv-row .cds-toggle-input:checked ~ .cds-filter-track::after,
.cds-search-adv-row.active .cds-filter-track::after { transform: translateX(16px); }

/* Painel avançado */
.cds-search-advanced {
    overflow: hidden; max-height: 0;
    transition: max-height 0.38s ease;
}

/* Seções internas */
.cds-search-section {
    padding: 14px 0;
    border-top: 1px solid #f0ede8;
}
.cds-search-section:first-child { border-top: none; margin-top: 12px; }
.cds-search-section-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; color: var(--orange);
    text-transform: uppercase; letter-spacing: .07em;
    margin-bottom: 10px;
}

/* Pills tipo de profissional */
.cds-search-prof-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cds-prof-pill {
    background: #fff;
    border: 2px solid #e8e0d8;
    border-radius: 10px; padding: 9px 16px;
    font-size: 13px; font-weight: 500; color: #555;
    cursor: pointer; transition: all .18s; white-space: nowrap; line-height: 1;
}
.cds-prof-pill:hover {
    border-color: var(--orange); background: var(--orange-light);
    color: var(--orange-dark);
}
.cds-prof-pill.active {
    background: #D85A30; border-color: #D85A30;
    color: #fff; font-weight: 700;
    box-shadow: 0 3px 10px rgba(216,90,48,.3);
}
.cds-prof-pill:focus { outline: none; }

/* Autocomplete */
.cds-ac-wrap { position: relative; }
.cds-ac-icon {
    position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
    color: var(--orange); pointer-events: none; opacity: .6;
}
.cds-ac-input {
    width: 100%; height: 48px;
    border: 2px solid #e8e0d8; border-radius: 11px;
    padding: 0 40px 0 14px;
    font-size: 14px; color: #1a1a1a;
    background: #fff; outline: none; box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
.cds-ac-input:focus {
    border: 1px solid #D85A30;
    box-shadow: 0 0 0 4px rgba(216,90,48,.1);
}
.cds-ac-input.cds-ac-selected {
    border: 1px solid #D85A30; background: var(--orange-light);
    color: var(--orange-dark); font-weight: 500;
}
.cds-ac-input::placeholder { color: #bbb; }

.cds-ac-list {
    position: absolute; bottom: calc(100% + 6px); top: auto; left: 0; right: 0;
    background: #fff;
    border: 1.5px solid #e8e0d8; border-radius: 13px;
    box-shadow: 0 10px 32px rgba(0,0,0,.14);
    list-style: none; margin: 0; padding: 6px;
    z-index: 10001; max-height: 220px; overflow-y: auto;
}
.cds-ac-list::-webkit-scrollbar { width: 4px; }
.cds-ac-list::-webkit-scrollbar-thumb { background: #e0d8d4; border-radius: 2px; }
.cds-ac-item {
    padding: 10px 14px; border-radius: 8px;
    font-size: 13.5px; color: #333; cursor: pointer;
    transition: background .1s;
}
.cds-ac-item:hover, .cds-ac-item.active {
    background: var(--orange-light); color: var(--orange-dark);
}

/* Footer sempre visível */
.cds-search-footer {
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #f0ede8;
    background: #fff; flex-shrink: 0;
}
.cds-search-submit {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; height: 54px;
    background: #D85A30; color: #fff;
    border: none; border-radius: 14px;
    font-size: 15px; font-weight: 700; cursor: pointer;
    transition: background .18s, transform .1s, box-shadow .18s;
    letter-spacing: .01em;
    box-shadow: 0 4px 16px rgba(216,90,48,.35);
}
.cds-search-submit:hover  { background: #993C1D; box-shadow: 0 6px 20px rgba(216,90,48,.4); }
.cds-search-submit:active { transform: scale(.98); }
.cds-search-submit:focus  { outline: none; }

/* Mobile — bottom sheet */
@media (max-width: 600px) {
    .cds-search-modal { padding-top: 0; align-items: flex-end; }
    .cds-search-box {
        border-radius: 24px 24px 0 0; width: 100%;
        max-height: 92vh;
        max-height: 88dvh;
        transform: translateY(32px);
    }
    .cds-search-modal.cds-search-open .cds-search-box { transform: translateY(0); }
    .cds-search-body { padding: 16px 16px 8px; }
    .cds-search-topbar { padding: 14px 16px; }
    .cds-search-footer { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 16px)); }
}

/* ===== AUTH MODAL ===== */
.cds-auth-modal {
    display: none;
    position: fixed; inset: 0; z-index: 200001;
    align-items: center; justify-content: center;
    padding-top: 60px;
    opacity: 0; transition: opacity 0.25s ease;
}
.cds-auth-modal.cds-auth-visible { display: flex; }
.cds-auth-modal.cds-auth-open    { opacity: 1; }

.cds-auth-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.52);
}
.cds-auth-modal.cds-auth-open .cds-auth-overlay {
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

.cds-auth-box {
    position: relative; z-index: 1;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 28px 72px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.04);
    width: min(460px, calc(100vw - 32px));
    max-height: calc(100vh - 120px);
    display: flex; flex-direction: column;
    overflow: hidden;
    transform: translateY(-18px);
    transition: transform 0.32s cubic-bezier(.34,1.3,.64,1);
}
.cds-auth-modal.cds-auth-open .cds-auth-box { transform: translateY(0); }

.cds-auth-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid #f0ede8;
    flex-shrink: 0;
}
.cds-auth-topbar-title {
    font-size: 16px; font-weight: 700; color: #1a1a1a;
    flex: 1; text-align: center;
}
.cds-auth-nav-btn {
    background: #f3f0ec; border: none; border-radius: 50%;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #888; flex-shrink: 0;
    transition: background .15s, color .15s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.cds-auth-nav-btn:hover { background: var(--orange-light); color: var(--orange); }
.cds-auth-nav-btn:focus { outline: none; }

.cds-auth-view {
    display: none; flex-direction: column;
    flex: 1; min-height: 0;
}
.cds-auth-view.active { display: flex; }

.cds-auth-body {
    flex: 1; overflow-y: auto;
    padding: 24px 20px 28px;
    background: #FFFAF8;
    -webkit-overflow-scrolling: touch;
}
.cds-auth-body::-webkit-scrollbar { width: 4px; }
.cds-auth-body::-webkit-scrollbar-thumb { background: #e0d8d4; border-radius: 2px; }

.cds-auth-welcome {
    font-size: 14px; color: #888; text-align: center;
    margin: 0 0 22px; line-height: 1.5;
}

.cds-auth-choices { display: flex; flex-direction: column; gap: 12px; }

.cds-auth-choice-card {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 16px;
    background: #fff; border: 2px solid #e8e0d8;
    border-radius: 16px;
    cursor: pointer; text-decoration: none; color: inherit;
    transition: border-color .18s, background .18s, transform .12s, box-shadow .18s;
    text-align: left; width: 100%;
    font-family: inherit; font-size: inherit;
}
.cds-auth-choice-card:hover,
.cds-auth-choice-card:focus {
    border-color: var(--orange); background: var(--orange-light);
    text-decoration: none; color: inherit;
    box-shadow: 0 4px 16px rgba(216,90,48,.14);
    outline: none;
}
.cds-auth-choice-card:active { transform: scale(.98); }

.cds-auth-choice-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--orange-light); color: var(--orange);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cds-auth-choice-icon-register { background: #E1F5EE; color: #085041; }

.cds-auth-choice-text {
    flex: 1; display: flex; flex-direction: column; gap: 3px;
}
.cds-auth-choice-text strong { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.cds-auth-choice-text span   { font-size: 13px; color: #888; }

.cds-auth-choice-arrow { color: #ccc; flex-shrink: 0; }
.cds-auth-choice-card:hover .cds-auth-choice-arrow { color: var(--orange); }

.cds-auth-register-link {
    text-align: center; font-size: 13px; color: #888;
    margin-top: 20px; margin-bottom: 0;
}
.cds-auth-register-link a { color: var(--orange); font-weight: 600; text-decoration: none; }
.cds-auth-register-link a:hover { text-decoration: underline; }

/* Active tab state — center button (Menu) */
.mobile-tab-center-btn.active {
    background: linear-gradient(145deg, #C44E26, #993C1D) !important;
    animation: none !important;
}
.mobile-tab-center-btn.active::before { animation: none !important; }

/* Sheet de auth (mobile) — multi-view dentro do sheet */
.cds-auth-sheet-view          { display: none; }
.cds-auth-sheet-view.active   { display: block; padding: 20px 20px 28px; }
/* Remove o spacer ::before do header (back button já faz o espaçamento) */
.cds-auth-sheet-header::before { display: none !important; }
/* Boas-vindas e escolhas dentro do sheet body */
.cds-auth-sheet-view .cds-auth-welcome  { padding-top: 0; margin-bottom: 20px; font-size: 15px; color: #555; text-align: center; }
.cds-auth-sheet-view .cds-auth-choices  { padding-bottom: 8px; }
/* Subtext acima do botão Google na view de login */
.cds-auth-login-hint {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin: 0 0 16px;
    line-height: 1.5;
}


/* Elementos externos desnecessários no /encontre/ */
.elementor-location-footer,
#photoswipe-fullscreen-dialog { display: none !important; }
