/* Home request widget */
.home-request-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: #0f071a;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s;
}
.home-request-mini:hover { border-color: rgba(212, 175, 55, 0.2); }
.home-request-mini__avatar {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.85rem;
    flex-shrink: 0;
}
.home-request-mini__info {
    flex: 1; min-width: 0;
    display: flex; flex-direction: column; gap: 2px;
}
.home-request-mini__info strong { font-size: 0.84rem; color: #fff; }
.home-request-mini__info span { font-size: 0.76rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-request-mini__time { font-size: 0.7rem; color: var(--text-muted); flex-shrink: 0; }
#home-requests-widget-list { display: grid; gap: 8px; }

/* =========================================================
   Provider Home — painel do prestador.
   Paleta Trampix: roxo #8a05be, fundo #07030d, bordas #2a1c3d.
   ========================================================= */

.provider-home { display: none; }
html[data-user-role="prestador"] .provider-home,
body[data-user-role="prestador"] .provider-home,
body.provider-home-mode .provider-home {
    display: block;
    padding: 8px 0 40px;
}
.provider-home[hidden] { display: none; }

html[data-user-role="prestador"] body.page-home .hero-search,
html[data-user-role="prestador"] body.page-home #home-requests-widget,
html[data-user-role="prestador"] body.page-home .discovery-section[aria-labelledby="home-results-title"],
html[data-user-role="prestador"] body.page-home .discovery-request,
body.page-home.provider-home-mode .hero-search,
body.page-home.provider-home-mode #home-requests-widget,
body.page-home.provider-home-mode .discovery-section[aria-labelledby="home-results-title"],
body.page-home.provider-home-mode .discovery-request {
    display: none !important;
}

/* ========== HEADER ========== */
.phome-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0 22px;
    border-bottom: 1px solid rgba(138, 5, 190, 0.1);
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.phome-header h1 {
    margin: 0;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: #f5f0ff;
    letter-spacing: -0.03em;
    font-family: 'Sora', 'Manrope', sans-serif;
}

.phome-header__sub {
    margin: 4px 0 0;
    color: #524a6b;
    font-size: 0.8rem;
    font-weight: 500;
}

.phome-header__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.phome-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(138, 5, 190, 0.15);
    color: #a99fc4;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.phome-action-btn:hover {
    background: rgba(138, 5, 190, 0.08);
    border-color: rgba(138, 5, 190, 0.35);
    color: #f5f0ff;
}
.phome-action-btn .material-symbols-rounded {
    font-size: 1rem;
    color: #8a05be;
    font-variation-settings: 'FILL' 0;
}
.phome-action-btn:hover .material-symbols-rounded { color: #b44dff; }

/* ========== STATS STRIP ========== */
.phome-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-bottom: 24px;
    background: rgba(138, 5, 190, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.phome-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px 10px;
    background: #0a0510;
}

.phome-stat__value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #f5f0ff;
    font-variant-numeric: tabular-nums;
    font-family: 'Sora', 'Manrope', sans-serif;
}

.phome-stat__label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #524a6b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ========== SECTIONS ========== */
.phome-section {
    margin-bottom: 28px;
}

.phome-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.phome-section__head h2 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #f5f0ff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Sora', 'Manrope', sans-serif;
    letter-spacing: -0.01em;
}

.phome-section__head h2 .material-symbols-rounded {
    font-size: 1.05rem;
    color: #8a05be;
    font-variation-settings: 'FILL' 1;
}

.phome-section__link {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #a99fc4;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}
.phome-section__link:hover { color: #f5f0ff; }
.phome-section__link .material-symbols-rounded,
.phome-section__link .bi { font-size: 0.95rem; }

/* ========== SEARCH & FILTERS ========== */
.phome-search {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    background: #0c0614;
    border: 1px solid rgba(138, 5, 190, 0.08);
    margin-bottom: 10px;
    transition: border-color 0.15s;
}

.phome-search:focus-within {
    border-color: rgba(138, 5, 190, 0.35);
}

.phome-search .material-symbols-rounded,
.phome-search .bi {
    font-size: 1.05rem;
    color: #6d6487;
    flex-shrink: 0;
}

.phome-search input {
    flex: 1;
    border: none;
    background: none;
    color: #f5f0ff;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
}
.phome-search input::placeholder { color: #6d6487; }

.phome-filters {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    overflow-x: auto;
}

.phome-filter-chip {
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(138, 5, 190, 0.1);
    background: transparent;
    color: #6d6487;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.phome-filter-chip:hover {
    border-color: rgba(138, 5, 190, 0.25);
    color: #a99fc4;
}
.phome-filter-chip--active {
    background: rgba(138, 5, 190, 0.12);
    border-color: rgba(138, 5, 190, 0.4);
    color: #f5f0ff;
}

/* ========== CARDS ========== */
.phome-cards {
    display: grid;
    gap: 6px;
}

.phome-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #0c0614;
    border: 1px solid rgba(138, 5, 190, 0.08);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.phome-card:hover {
    background: #110820;
    border-color: rgba(138, 5, 190, 0.2);
}

.phome-card--hot {
    border-color: rgba(138, 5, 190, 0.2);
}
.phome-card--hot:hover {
    border-color: rgba(138, 5, 190, 0.4);
}

.phome-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(138, 5, 190, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #a99fc4;
    flex-shrink: 0;
}

.phome-card__body {
    flex: 1;
    min-width: 0;
}

.phome-card__title {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 600;
    color: #f5f0ff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phome-card__client {
    display: block;
    font-size: 0.76rem;
    color: #a99fc4;
    font-weight: 500;
    margin-top: 2px;
}

.phome-card__desc {
    margin: 4px 0 0;
    font-size: 0.75rem;
    color: #6d6487;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.phome-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.phome-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.7rem;
    color: #6d6487;
    font-weight: 500;
}

.phome-card__meta .material-symbols-rounded {
    font-size: 0.78rem;
}

.phome-card__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.phome-card__price {
    font-size: 0.86rem;
    font-weight: 700;
    color: #f5f0ff;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.phome-card__badge {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.phome-card__badge--new {
    background: rgba(138, 5, 190, 0.12);
    color: #9b1ad0;
}
.phome-card__badge--talking {
    background: rgba(99, 102, 241, 0.12);
    color: #818cf8;
}
.phome-card__badge--accepted {
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
}

.phome-card__cta {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 14px;
    border-radius: 999px;
    background: #8a05be;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s;
}
.phome-card:hover .phome-card__cta { background: #9b1ad0; }

.phome-empty {
    padding: 28px 20px;
    border-radius: 12px;
    color: #524a6b;
    font-size: 0.84rem;
    line-height: 1.5;
    text-align: center;
    background: #0c0614;
    border: 1px solid rgba(138, 5, 190, 0.06);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
    .phome-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0 14px;
        gap: 12px;
    }
    .phome-header__actions {
        width: 100%;
    }
    .phome-action-btn {
        flex: 1;
        justify-content: center;
        padding: 7px 8px;
        font-size: 0.76rem;
    }
    .phome-card {
        display: grid;
        grid-template-columns: 36px 1fr;
        grid-template-rows: auto auto;
        gap: 6px 10px;
        padding: 12px;
    }
    .phome-card__avatar {
        grid-row: 1;
        grid-column: 1;
        width: 36px;
        height: 36px;
        font-size: 0.72rem;
        align-self: start;
        margin-top: 2px;
    }
    .phome-card__body {
        grid-row: 1;
        grid-column: 2;
        min-width: 0;
    }
    .phome-card__title {
        white-space: normal;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .phome-card__right {
        grid-row: 2;
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    .phome-stats {
        gap: 1px;
    }
    .phome-stat {
        padding: 14px 8px;
    }
    .phome-stat__value {
        font-size: 1.1rem;
    }
    .phome-stat__label {
        text-align: center;
        font-size: 0.62rem;
    }
}

@media (max-width: 380px) {
    .phome-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1px;
    }
    .phome-stat:last-child {
        grid-column: 1 / -1;
    }
}

body.page-home,
body.page-catalog {
    background:
        radial-gradient(circle at top right, rgba(138, 5, 190, 0.12), transparent 28%),
        linear-gradient(180deg, #07030d 0%, #10061c 58%, #07030d 100%);
    padding-bottom: 48px;
}

body.page-home::before,
body.page-catalog::before {
    display: none;
}

.discovery-main,
.catalog-main {
    width: min(1220px, calc(100% - 28px));
    margin: 0 auto;
    padding-top: 44px;
}

.hero-search,
.catalog-search {
    padding: 14px 0 4px;
}

.catalog-topbar {
    display: grid;
    gap: 16px;
    padding: 18px 0 8px;
}

.catalog-back {
    display: none;
}

.hero-search__layout {
    display: grid;
    gap: 28px;
    min-width: 0;
}

.hero-search__copy,
.catalog-search__copy {
    min-width: 0;
}

.hero-search__copy h1,
.catalog-search__copy h1 {
    max-width: 780px;
    font-family: "Sora", "Manrope", sans-serif;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.hero-search__copy p,
.catalog-search__copy p {
    max-width: 590px;
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.hero-search__form,
.catalog-search__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background:
        linear-gradient(145deg, rgba(26, 14, 46, 0.94), rgba(17, 8, 31, 0.98));
    box-shadow: var(--shadow-sm);
}

.hero-search__field,
.catalog-search__field {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border: 0;
    background: transparent;
}

.hero-search__field .material-symbols-rounded,
.catalog-search__field .material-symbols-rounded {
    display: none;
}

.hero-search__field input,
.catalog-search__field input {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
}

.hero-search__field input::-webkit-search-cancel-button,
.catalog-search__field input::-webkit-search-cancel-button {
    display: none;
}

.hero-search__field input::placeholder,
.catalog-search__field input::placeholder {
    color: var(--text-muted);
}

.hero-search__submit,
.catalog-search__submit,
.discovery-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 0 26px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-weight: 800;
    box-shadow: none;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.hero-search__submit,
.catalog-search__submit {
    width: 54px;
    min-width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-search__submit .material-symbols-rounded,
.catalog-search__submit .material-symbols-rounded {
    font-size: 1.2rem;
}

.hero-search__submit:hover,
.catalog-search__submit:hover,
.discovery-cta:hover {
    background: linear-gradient(135deg, #9a16d1, #6f02b4);
}

.hero-search__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-top: 14px;
}

.hero-search__hint {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-search__secondary {
    color: var(--gold);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-search__secondary:hover {
    color: #f4d97c;
}

.discovery-chip-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.discovery-chip-strip {
    margin-top: 14px;
    min-width: 0;
}

.discovery-chip-scrollbar {
    display: none;
}

.discovery-chip {
    display: grid;
    justify-items: center;
    gap: 10px;
    min-height: 96px;
    padding: 14px 10px 12px;
    border-radius: 20px;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.discovery-chip .material-symbols-rounded,
.discovery-chip .bi {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.05rem;
    line-height: 1;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.discovery-chip:hover,
.discovery-chip.is-active {
    background: rgba(212, 175, 55, 0.06);
    color: var(--gold);
}

.discovery-chip:hover .material-symbols-rounded,
.discovery-chip:hover .bi,
.discovery-chip.is-active .material-symbols-rounded,
.discovery-chip.is-active .bi {
    background: rgba(212, 175, 55, 0.14);
    color: var(--gold);
}

/* ── Filter Bar ── */

.catalog-filter-bar {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.catalog-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.catalog-filter-toggle .material-symbols-rounded {
    font-size: 1.15rem;
}

.catalog-filter-toggle__arrow {
    transition: transform 0.25s var(--ease);
}

.catalog-filter-toggle.is-open {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--gold);
}

.catalog-filter-toggle.is-open .catalog-filter-toggle__arrow {
    transform: rotate(180deg);
}

.catalog-filter-toggle:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
}

.catalog-filter-toggle.is-open:hover {
    background: rgba(212, 175, 55, 0.14);
}

/* Favorites toggle */
.catalog-filter-toggle--fav.is-active {
    background: rgba(255, 77, 77, 0.12);
    border-color: rgba(255, 77, 77, 0.3);
    color: #ff6b6b;
}

.catalog-filter-toggle--fav.is-active .material-symbols-rounded {
    font-variation-settings: "FILL" 1;
}

/* ── Filter Panel (Dropdown) ── */

.catalog-filter-panel {
    margin-top: 14px;
    padding: 22px 24px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: linear-gradient(160deg, rgba(25, 14, 40, 0.96), rgba(16, 8, 28, 0.98));
    box-shadow: var(--shadow-md);
    animation: filterPanelIn 0.25s var(--ease);
}

@keyframes filterPanelIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.catalog-filter-panel__section {
    margin-bottom: 20px;
}

.catalog-filter-panel__section:last-child {
    margin-bottom: 0;
}

.catalog-filter-panel__label {
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

/* Category chips inside panel */
.discovery-chip-list--panel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
}

.discovery-chip-list--panel .discovery-chip {
    min-height: auto;
    padding: 8px 16px;
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font-size: 0.85rem;
}

.discovery-chip-list--panel .discovery-chip .material-symbols-rounded {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    font-size: 1.1rem;
}

/* Price chips */
.catalog-price-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-price-chip {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-family: "Manrope", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.catalog-price-chip:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
}

.catalog-price-chip.is-active {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
    color: var(--gold);
}

/* Favorite heart on cards */
.discovery-card__favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 3, 13, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    line-height: 0;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.discovery-card__favorite .material-symbols-rounded {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    display: block;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    transform: translate(-50%, -50%);
}

.discovery-card__favorite:hover {
    background: rgba(7, 3, 13, 0.7);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
}

.discovery-card__favorite.is-active {
    color: #ff4d6a;
    background: rgba(255, 77, 106, 0.2);
    border-color: rgba(255, 77, 106, 0.3);
}

.discovery-card__favorite.is-active:hover {
    opacity: 0.85;
}

.discovery-card__favorite.is-active .material-symbols-rounded {
    font-variation-settings: "FILL" 1;
    filter: drop-shadow(0 0 6px rgba(255, 77, 106, 0.5));
}

.discovery-section {
    padding-top: 30px;
}

.discovery-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.discovery-section__head h2 {
    font-family: "Sora", "Manrope", sans-serif;
    font-size: clamp(1.4rem, 2vw, 2rem);
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.discovery-section__head p {
    margin-top: 6px;
    color: var(--text-secondary);
}

.discovery-section__link {
    color: var(--gold);
    font-weight: 800;
}

.discovery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.discovery-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: linear-gradient(168deg, rgba(25, 14, 40, 0.96), rgba(13, 6, 24, 0.98));
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s var(--ease);
}

.discovery-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(138, 5, 190, 0.12);
    border-color: rgba(138, 5, 190, 0.25);
}

.discovery-card__cover {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    flex-shrink: 0;
}

.discovery-card__cover::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(13, 6, 24, 0.85));
    z-index: 1;
    pointer-events: none;
}

.discovery-card__cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.discovery-card:hover .discovery-card__cover-image {
    opacity: 0.9;
}

.discovery-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    max-width: calc(100% - 66px);
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(13, 6, 24, 0.85); /* Dark minimal solid */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Clean subtle border */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.discovery-card__badge-icon {
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--gold);
    font-size: 0.95rem;
    line-height: 1;
    font-variation-settings: "FILL" 1;
}

.discovery-card__badge-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.discovery-card__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.discovery-card__provider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.discovery-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(138, 5, 190, 0.2);
    box-shadow: 0 0 0 2px rgba(7, 3, 13, 0.6);
}

.discovery-card__avatar--initials {
    background: linear-gradient(135deg, #3b0d82, #8a05be);
    color: #fff;
    font-weight: 800;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
    user-select: none;
}

.discovery-card__provider-meta {
    min-width: 0;
    overflow: hidden;
}

.discovery-card__name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    transition: color 0.15s;
}
.discovery-card__name:hover {
    color: var(--accent);
}

.discovery-card__role {
    display: block;
    margin-top: 1px;
    color: var(--text-muted);
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.discovery-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: #f3e8ff;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.discovery-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.discovery-rating__stars {
    display: inline-flex;
    gap: 1px;
}

.discovery-rating__stars .material-symbols-rounded {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.14);
}

.discovery-rating__stars .material-symbols-rounded.is-filled {
    color: var(--gold);
    font-variation-settings: "FILL" 1;
}

.discovery-card__rating-value {
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 700;
}

.discovery-card__footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.discovery-card__price {
    color: var(--gold);
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
}

.discovery-card__location {
    color: var(--text-muted);
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

.discovery-request {
    padding-top: 32px;
}

.discovery-request__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 30%),
        linear-gradient(160deg, rgba(20, 8, 36, 0.98), rgba(11, 3, 21, 0.98));
}

.discovery-request__card h2 {
    font-family: "Sora", "Manrope", sans-serif;
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.discovery-request__card p {
    max-width: 520px;
    margin-top: 8px;
    color: var(--text-secondary);
}

.discovery-request__card .discovery-cta {
    align-self: center;
}

.discovery-cta {
    border-radius: 16px;
    min-height: 52px;
    padding: 0 24px;
}

.discovery-empty {
    padding: 40px 24px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    text-align: center;
}

.catalog-search__toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    color: var(--text-muted);
}

.discovery-section--catalog {
    padding-top: 20px;
}

@media (max-width: 1080px) {
    .discovery-chip-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .discovery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .discovery-main,
    .catalog-main {
        width: min(100%, calc(100% - 24px));
        padding-top: 18px;
    }

    .hero-search__form,
    .catalog-search__form {
        grid-template-columns: minmax(0, 1fr) auto;
        border-radius: 999px;
    }

    .hero-search__submit,
    .catalog-search__submit,
    .discovery-cta {
        width: auto;
    }

    .discovery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .discovery-chip-strip {
        position: relative;
        margin-top: 14px;
        overflow: hidden;
    }

    .discovery-chip-list {
        display: flex;
        gap: 10px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-top: 0;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding: 2px 2px 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .discovery-chip-scrollbar {
        position: relative;
        display: block;
        width: 112px;
        height: 4px;
        margin: 10px auto 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.12);
        overflow: hidden;
    }

    .discovery-chip-scrollbar[hidden] {
        display: none;
    }

    .discovery-chip-scrollbar__thumb {
        position: absolute;
        top: 0;
        left: 0;
        width: 36px;
        height: 100%;
        border-radius: inherit;
        background: rgba(255, 255, 255, 0.34);
        transition: transform 0.16s var(--ease), width 0.16s var(--ease);
    }

    .discovery-chip-list::-webkit-scrollbar {
        display: none;
    }

    .discovery-chip {
        flex: 0 0 92px;
        min-height: 86px;
        gap: 8px;
        padding: 10px 8px;
        font-size: 0.82rem;
        scroll-snap-align: start;
    }

    .discovery-chip .material-symbols-rounded,
    .discovery-chip .bi {
        width: 50px;
        height: 50px;
        border-radius: 16px;
        font-size: 1.72rem;
    }

    .discovery-section__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-topbar {
        padding-top: 8px;
        gap: 14px;
    }

    .catalog-back {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        width: fit-content;
        min-height: 40px;
        padding: 0 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-primary);
        font-size: 0.92rem;
        font-weight: 700;
    }

    .catalog-back .material-symbols-rounded {
        font-size: 1.1rem;
    }

    .catalog-search__toolbar {
        margin-top: 10px;
    }

    .discovery-section--catalog {
        padding-top: 14px;
    }

    .discovery-request__card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .hero-search__submit,
    .catalog-search__submit {
        width: 54px;
        min-width: 54px;
        height: 54px;
        padding: 0;
        border-radius: 50%;
    }
}

@media (max-width: 420px) {
    .discovery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    }/* Filtros */
.hero-search__controls {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.hero-search__form {
    flex: 1;
}

.filters-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    background: rgba(138, 5, 190, 0.15);
    border: 1px solid rgba(138, 5, 190, 0.3);
    border-radius: 12px;
    color: #e8e0f2;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filters-btn:hover {
    background: rgba(138, 5, 190, 0.25);
    border-color: rgba(138, 5, 190, 0.5);
}

.filters-btn .material-symbols-rounded {
    font-size: 1.1rem;
}

.filters-badge {
    background: #c084fc;
    color: #1a0a2e;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    line-height: 1;
}

/* Botão de Favoritos na home (ao lado da busca) */
#home-fav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 77, 77, 0.3);
    background: rgba(255, 77, 77, 0.08);
    color: #ff6b6b;
    font-family: "Manrope", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    opacity: 0;
    animation: fadeIn 0.4s ease-out 0.2s forwards;
}

#home-fav-btn:hover {
    background: rgba(255, 77, 77, 0.15);
    border-color: rgba(255, 77, 77, 0.5);
    transform: translateY(-1px);
}

#home-fav-btn.is-active {
    background: rgba(255, 77, 77, 0.18);
    border-color: rgba(255, 77, 77, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.2);
}

#home-fav-btn .material-symbols-rounded {
    font-size: 1.1rem;
    font-variation-settings: 'FILL' 0, 'wght' 500;
}

#home-fav-btn.is-active .material-symbols-rounded {
    font-variation-settings: 'FILL' 1, 'wght' 700;
}

/* Animação suave de aparecimento do texto (tooltip) - caso queira esconder texto inicialmente */
#home-fav-btn .favorites-label {
    transition: opacity 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Drawer de Filtros */
.filters-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.filters-drawer.active {
    opacity: 1;
    visibility: visible;
}

.filters-drawer__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.filters-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: #0f0f1e;
    border-left: 1px solid rgba(138, 5, 190, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.filters-drawer.active .filters-drawer__panel {
    transform: translateX(0);
}

.filters-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(138, 5, 190, 0.15);
}

.filters-drawer__header h2 {
    font-family: "Sora", sans-serif;
    font-size: 1.3rem;
    color: #f5eefa;
    font-weight: 700;
}

.filters-drawer__close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(138, 5, 190, 0.1);
    border: none;
    color: #b09ec8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.filters-drawer__close:hover {
    background: rgba(138, 5, 190, 0.2);
    color: #e8e0f2;
}

.filters-drawer__content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #8b70a8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(20, 10, 30, 0.5);
    border: 1px solid rgba(138, 5, 190, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-option:hover {
    border-color: rgba(138, 5, 190, 0.35);
    background: rgba(138, 5, 190, 0.08);
}

.filter-option input:checked + .filter-option__label {
    color: #c084fc;
}

.filter-option input:checked ~ * .filter-option__label {
    color: #c084fc;
}

.filter-radio {
    width: 18px;
    height: 18px;
    accent-color: #c084fc;
    cursor: pointer;
}

.filter-option__label {
    font-size: 0.95rem;
    color: #c0b0cc;
    flex: 1;
    cursor: pointer;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(20, 10, 30, 0.5);
    border: 1px solid rgba(138, 5, 190, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-toggle:hover {
    border-color: rgba(138, 5, 190, 0.35);
}

.filter-toggle__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.filter-toggle__slider {
    width: 44px;
    height: 24px;
    background: rgba(138, 5, 190, 0.2);
    border-radius: 12px;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.filter-toggle__input:checked + .filter-toggle__slider {
    background: #c084fc;
}

.filter-toggle__slider::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #e8e0f2;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.2s;
}

.filter-toggle__input:checked + .filter-toggle__slider::after {
    transform: translateX(20px);
    background: #1a0a2e;
}

.filter-toggle__label {
    font-size: 0.95rem;
    color: #c0b0cc;
    cursor: pointer;
}

.filters-drawer__actions {
    display: flex;
    gap: 12px;
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(138, 5, 190, 0.15);
    background: rgba(10, 5, 15, 0.3);
}

@media (max-width: 640px) {
    .hero-search__controls {
        flex-direction: column;
    }
    
    .filters-btn {
        justify-content: center;
        padding: 12px;
    }
    
    .filters-text {
        display: none;
    }
    
    .filters-drawer__panel {
        max-width: 100%;
    }
}

/* =============================================
   CATALOG MODAL - Fullscreen overlay
   ============================================= */

.catalog-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
}

.catalog-modal[hidden] {
    display: none;
}

.catalog-modal:not([hidden]) {
    display: block;
}

.catalog-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 0, 8, 0.7);
    backdrop-filter: blur(4px);
    animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.catalog-modal__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 1220px;
    margin: 0 auto;
    background: linear-gradient(180deg, #07030d 0%, #10061c 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.catalog-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 16px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(138, 5, 190, 0.12);
}

.catalog-modal__header h2 {
    font-family: "Sora", "Manrope", sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 0;
}

.catalog-modal__header p {
    margin: 4px 0 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.catalog-modal__close {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.catalog-modal__close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.12);
}

.catalog-modal__search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(138, 5, 190, 0.1);
    flex-shrink: 0;
}

.catalog-modal__search .catalog-search__form {
    margin-top: 0;
    padding: 6px;
}

.catalog-modal__search .catalog-search__field {
    min-height: 48px;
}

.catalog-modal__toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(138, 5, 190, 0.1);
    flex-shrink: 0;
}

.catalog-modal__toolbar .catalog-search__form {
    flex: 1;
    margin-top: 0;
    padding: 5px 6px;
}

.catalog-modal__toolbar .catalog-search__field {
    min-height: 44px;
}

.catalog-modal__toolbar-btns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.catalog-modal__categories {
    padding: 14px 24px 0;
    flex-shrink: 0;
}

.catalog-modal__results {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.15) transparent;
}

.catalog-modal__results::-webkit-scrollbar {
    width: 6px;
}

.catalog-modal__results::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.2);
    border-radius: 10px;
}

/* ========== MARKETPLACE OPPORTUNITY CARDS ========== */
.phome-opp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.phome-opp-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #0c0614;
    border: 1px solid rgba(138, 5, 190, 0.08);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}

.phome-opp-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #8a05be;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.phome-opp-card:hover {
    background: #110820;
    border-color: rgba(138, 5, 190, 0.2);
}

.phome-opp-card:hover::before {
    opacity: 1;
}

.phome-opp-card__strip { display: none; }

.phome-opp-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.phome-opp-card__title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #f5f0ff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.phome-opp-card__row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.phome-opp-card__client {
    font-size: 0.76rem;
    color: #a99fc4;
    font-weight: 500;
}

.phome-opp-card__time {
    font-size: 0.7rem;
    color: #524a6b;
    font-weight: 500;
}

.phome-opp-card__time::before {
    content: '·';
    margin-right: 8px;
    color: #3b2a55;
}

.phome-opp-card__desc {
    margin: 2px 0 0;
    font-size: 0.76rem;
    color: #6d6487;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.phome-opp-card__location {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    color: #6d6487;
    font-weight: 500;
}

.phome-opp-card__location .material-symbols-rounded,
.phome-opp-card__location .bi {
    font-size: 0.8rem;
    color: #8a05be;
}

.phome-opp-card__price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #d4af37;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

.phome-opp-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    background: #8a05be;
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    font-family: inherit;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
    pointer-events: none;
    flex-shrink: 0;
}

.phome-opp-card__cta .material-symbols-rounded,
.phome-opp-card__cta .bi {
    font-size: 0.95rem;
}

.phome-opp-card:hover .phome-opp-card__cta {
    background: #9b1ad0;
    transform: translateX(2px);
}

@media (max-width: 640px) {
    .phome-opp-card {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px;
    }
    .phome-opp-card__cta {
        width: 100%;
        justify-content: center;
        height: 42px;
    }
}

/* Responsive mobile */
@media (max-width: 768px) {
    .catalog-modal__panel {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .catalog-modal__header {
        padding: 18px 16px 12px;
    }

    .catalog-modal__search {
        padding: 12px 16px;
        grid-template-columns: 1fr;
    }

    .catalog-modal__toolbar {
        padding: 10px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .catalog-modal__toolbar .catalog-search__form {
        width: 100%;
    }

    .catalog-modal__toolbar-btns {
        width: 100%;
    }

    .catalog-modal__toolbar-btns .catalog-filter-toggle,
    .catalog-modal__toolbar-btns .filters-btn {
        flex: 1;
        justify-content: center;
    }

    .catalog-modal__categories {
        padding: 10px 16px 0;
    }

    .catalog-modal__results {
        padding: 12px 16px;
    }
}
