.hubpet-adopt-pets {
    max-width: 920px;
    margin: 0 auto;
    color: #214b4a;
}

.hubpet-adopt-top-location {
    border: 0;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6f6f6f;
    cursor: pointer;
}

.hubpet-adopt-top-location-icon,
.hubpet-adopt-top-location-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hubpet-adopt-top-location i,
.hubpet-adopt-top-location svg {
    width: 12px;
    height: 12px;
    font-size: 12px;
}

.hubpet-adopt-userbar {
    margin-top: 12px;
    border-radius: 14px;
    background: #f2f0ec;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hubpet-adopt-user-name {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    color: #2f2f2f;
}

.hubpet-adopt-user-subtitle {
    margin: 2px 0 0;
    color: #898989;
    font-size: 15px;
}

.hubpet-adopt-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.hubpet-adopt-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hubpet-adopt-user-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(180deg, #ece7df 0%, #d9d4cb 100%);
}

.hubpet-adopt-tabs {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #d9d9d9;
}

.hubpet-adopt-tab {
    text-align: center;
    display: inline-flex;
    justify-content: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #6a6a6a;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.hubpet-adopt-tab.is-active {
    color: #292929;
    border-bottom-color: #ea831d;
}

.hubpet-adopt-banner {
    margin-top: 14px;
    border-radius: 14px;
    background: #ead2af;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 54% auto;
    min-height: 130px;
}

.hubpet-adopt-banner.has-bg-image {
    background-image: var(--hubpet-banner-image);
}

a.hubpet-adopt-banner {
    text-decoration: none;
}

.hubpet-adopt-banner-content {
    min-width: 0;
    max-width: 42%;
    position: relative;
    z-index: 1;
}

.hubpet-adopt-banner-title {
    margin: 0;
    color: #1f3130;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.1;
}

.hubpet-adopt-banner-subtitle {
    margin: 6px 0 0;
    color: #3f4f4f;
    font-size: 14px;
    line-height: 1.25;
}

.hubpet-adopt-categories-title {
    margin: 18px 0 10px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
}

.hubpet-adopt-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hubpet-adopt-category-btn {
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #2f5958;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(33, 60, 59, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hubpet-adopt-category-btn.is-active {
    background: #ea831d;
    color: #fff;
}

.hubpet-adopt-category-image {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.hubpet-adopt-category-label {
    display: inline-block;
    line-height: 1.1;
}

.hubpet-adopt-search {
    margin-top: 12px;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    padding: 0 14px;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 22px rgba(33, 60, 59, 0.07);
}

.hubpet-adopt-search-icon {
    color: #b5b5b5;
    line-height: 1;
    display: inline-flex;
}

.hubpet-adopt-search-icon i,
.hubpet-adopt-search-icon svg {
    width: 17px;
    height: 17px;
    font-size: 17px;
}

.hubpet-adopt-search input {
    border: 0;
    outline: 0;
    width: 100%;
    min-width: 0;
    background: transparent;
    color: #375e5d;
    font-size: 14px;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
}

.hubpet-adopt-search input::placeholder {
    color: #c3c3c3;
}

.hubpet-adopt-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hubpet-adopt-card {
    background: #fff;
    border-radius: 16px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(33, 60, 59, 0.08);
}

.hubpet-adopt-card[hidden],
.hubpet-adopt-empty[hidden],
.hubpet-adopt-pagination[hidden] {
    display: none !important;
}

.hubpet-adopt-card-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.hubpet-adopt-card-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.hubpet-adopt-card-photo {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.hubpet-adopt-card-name {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    color: #2f5958;
}

.hubpet-adopt-card-meta {
    margin: 3px 0 0;
    font-size: 13px;
    color: #959595;
}

.hubpet-adopt-card-tags {
    margin-top: 5px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.hubpet-adopt-card-tag {
    display: inline-flex;
    border-radius: 8px;
    background: #f4f1ed;
    color: #c7a16b;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
}

.hubpet-adopt-card-favorite {
    border: 0;
    background: transparent;
    color: #e59a41;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
}

.hubpet-adopt-card-favorite i,
.hubpet-adopt-card-favorite svg {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.hubpet-adopt-favorite-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hubpet-adopt-favorite-icon-active {
    display: none;
}

.hubpet-adopt-card-favorite.is-favorited .hubpet-adopt-favorite-icon-default {
    display: none;
}

.hubpet-adopt-card-favorite.is-favorited .hubpet-adopt-favorite-icon-active {
    display: inline-flex;
}

.hubpet-adopt-empty {
    margin: 20px 0 0;
    text-align: center;
    color: #8f8f8f;
    font-size: 14px;
}

.hubpet-adopt-pagination {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hubpet-adopt-pagination-btn {
    border: 1px solid #d7d7d7;
    background: #fff;
    color: #2f5958;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.hubpet-adopt-pagination-btn.is-active {
    background: #ea831d;
    border-color: #ea831d;
    color: #fff;
}

.hubpet-adopt-pagination-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .hubpet-adopt-banner.has-mobile-image {
        background-image: var(--hubpet-banner-image-mobile);
    }

    .hubpet-adopt-user-name {
        font-size: 16px;
    }

    .hubpet-adopt-user-subtitle {
        font-size: 12px;
    }

    .hubpet-adopt-banner-title {
        font-size: 19px;
    }

    .hubpet-adopt-banner-subtitle {
        font-size: 12px;
    }

    .hubpet-adopt-banner {
        min-height: 104px;
        background-size: 58% auto;
    }

    .hubpet-adopt-banner-content {
        max-width: 48%;
    }

    .hubpet-adopt-categories-title {
        font-size: 20px;
    }

    .hubpet-adopt-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0px 0px 20px 0px;
    }

    .hubpet-adopt-categories::-webkit-scrollbar {
        display: none;
    }

    .hubpet-adopt-category-btn {
        flex: 0 0 auto;
        padding: 8px 14px;
        font-size: 13px;
    }

    .hubpet-adopt-card {
        border-radius: 14px;
    }

    .hubpet-adopt-card-photo {
        width: 50px;
        height: 50px;
    }

    .hubpet-adopt-card-name {
        font-size: 18px;
    }

    .hubpet-adopt-pagination-btn {
        min-width: 32px;
        height: 32px;
        padding: 0 10px;
        font-size: 12px;
    }
}
