﻿.zyne-home-page {
    width: 100%;
    padding: 0 0 130px;
    background: #fff;
}

.zyne-home-search {
    max-width: 490px;
    height: 36px;
    margin: 32px auto 26px;
    background: #d9d9d9;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}

    .zyne-home-search i {
        font-size: 1.25rem;
        color: #000;
    }

    .zyne-home-search input {
        width: 100%;
        border: none;
        background: transparent;
        outline: none;
        font-size: .88rem;
        color: #333;
    }

.zyne-home-content {
    width: 100%;
    max-width: 735px;
    margin: 0 auto;
}

.zyne-home-header {
    margin: 28px 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.zyne-home-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 500;
    color: #111;
}

.zyne-category-filter-area {
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.zyne-category-open-btn {
    border: none;
    background: #5f7adb;
    color: #fff;
    min-width: 230px;
    height: 42px;
    border-radius: 999px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: .9rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(95, 122, 219, .28);
    cursor: pointer;
}

    .zyne-category-open-btn i {
        font-size: 1.25rem;
    }

.zyne-category-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(20, 20, 20, .35);
    backdrop-filter: blur(5px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 140px 18px 30px;
}

    .zyne-category-modal-overlay.active {
        display: flex;
    }

.zyne-category-modal {
    width: 100%;
    max-width: 720px;
    min-height: 300px;
    max-height: 72vh;
    overflow-y: auto;
    position: relative;
    border-radius: 18px;
    background: rgba(40, 40, 40, .55);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .30);
    padding: 24px 26px 28px;
    color: #fff;
}

    .zyne-category-modal h3 {
        margin: 0 42px 24px;
        text-align: center;
        font-size: 1.05rem;
        font-weight: 500;
    }

.zyne-category-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #111;
    font-weight: 800;
    cursor: pointer;
}

.zyne-category-modal-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.zyne-category-modal-item {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.25rem;
    padding: 6px 8px;
    border-radius: 10px;
    transition: .2s ease;
}

    .zyne-category-modal-item:hover,
    .zyne-category-modal-item.active {
        color: #fff;
        background: rgba(95, 122, 219, .75);
    }

.zyne-modal-open {
    overflow: hidden;
}

.zyne-prof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px 35px;
}

.zyne-prof-card {
    width: 146px;
    min-height: 188px;
    background: #5f7adb;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    padding: 12px 10px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

    .zyne-prof-card:hover {
        color: #fff;
        background: #536bc8;
        transform: translateY(-2px);
    }

.zyne-prof-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #252525;
    overflow: hidden;
    margin-bottom: 9px;
}

    .zyne-prof-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.zyne-prof-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
}

.zyne-prof-name {
    font-size: .9rem;
    line-height: 1.05rem;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zyne-prof-stars {
    margin: 5px 0 9px;
    font-size: .86rem;
    letter-spacing: 1px;
    color: #fff;
}

.zyne-prof-category {
    width: 100%;
    background: #fff;
    color: #111;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: .78rem;
    line-height: 1.05rem;
    margin-top: auto;
}

.zyne-home-empty {
    margin: 30px 0;
    text-align: center;
    color: #555;
}

.home-anuncio-box {
    width: 100%;
    max-width: 535px;
    height: 200px;
    margin: 0 auto 28px;
    background: #282828;
    border-radius: 18px;
    padding: 20px;
}

.home-anuncio-content {
    width: 100%;
    height: 100%;
    border: 2px solid #b08a32;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px;
    font-weight: 800;
    font-size: .88rem;
}

@media (max-width: 768px) {
    .zyne-home-search {
        max-width: 340px;
        margin-top: 24px;
    }

    .home-anuncio-box {
        max-width: 340px;
        height: 150px;
    }

    .zyne-home-content {
        max-width: 340px;
    }

    .zyne-home-header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .zyne-home-title {
        font-size: 1.05rem;
    }

    .zyne-category-filter-area {
        width: 100%;
    }

    .zyne-category-open-btn {
        width: 100%;
        min-width: unset;
    }

    .zyne-category-modal-overlay {
        align-items: flex-start;
        padding-top: 110px;
    }

    .zyne-category-modal {
        max-width: 340px;
        border-radius: 18px;
        padding: 22px 18px 24px;
    }

        .zyne-category-modal h3 {
            font-size: 1rem;
        }

    .zyne-category-modal-item {
        font-size: .95rem;
    }

    .zyne-prof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 18px;
    }

    .zyne-prof-card {
        width: 100%;
        min-height: 178px;
    }

    .zyne-prof-photo {
        width: 64px;
        height: 64px;
    }
}
