.hubpet-location-widget {
    max-width: 920px;
    margin: 0 auto;
    background: #f2f2f0;
    position: relative;
    padding: 20px 14px 28px;
}

.hubpet-location-hero {
    text-align: center;
    margin: 0 auto -34px;
    position: relative;
    z-index: 1;
}

.hubpet-location-hero img {
    max-width: 260px;
    width: 100%;
    display: inline-block;
}

.hubpet-location-card {
    background: #fff;
    border-radius: 28px;
    padding: 58px 28px 34px;
    box-shadow: 0 10px 24px rgba(32, 57, 56, 0.08);
    position: relative;
    z-index: 2;
    text-align: center;
}

.hubpet-location-badge {
    position: absolute;
    left: 50%;
    top: -34px;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f0efeb;
    color: #2f5958;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hubpet-location-badge i {
    font-size: 30px;
}

.hubpet-location-badge svg {
    width: 30px;
    height: 30px;
}

.hubpet-location-title {
    margin: 0;
    color: #1f4f4e;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 700;
}

.hubpet-location-subtitle {
    margin: 8px 0 18px;
    color: #8a8a8a;
    font-size: 24px;
}

.hubpet-location-city-trigger {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    min-height: 54px;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    background: #fff;
    color: #8d8d8d;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    text-align: left;
    cursor: pointer;
}

.hubpet-location-city-trigger-icon i {
    font-size: 14px;
}

.hubpet-location-city-label {
    font-size: 18px;
    font-weight: 500;
}

.hubpet-location-city-label[data-empty="1"] {
    color: #b0b0b0;
}

.hubpet-location-start {
    width: 100%;
    max-width: 470px;
    margin: 12px auto 0;
    min-height: 54px;
    border: 0;
    border-radius: 10px;
    background: #ea831d;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.hubpet-location-start:disabled {
    background: #f2d7be;
    cursor: not-allowed;
}

.hubpet-location-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.hubpet-location-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(47, 89, 88, 1);
}

.hubpet-location-modal-panel {
    position: relative;
    margin: 56px auto 0;
    width: min(100%, 1040px);
    min-height: calc(100vh - 56px);
    background: #fff;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    padding: 18px 20px 20px;
}

.hubpet-location-modal-header {
    display: grid;
    grid-template-columns: 40px 1fr 70px;
    align-items: center;
    gap: 8px;
}

.hubpet-location-back,
.hubpet-location-exit {
    border: 0;
    background: transparent;
    color: #2f2f2f;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
}

.hubpet-location-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1100px){
    .hubpet-location-back{
        position: relative;
        left: 120px;
    }
}

.hubpet-location-back i,
.hubpet-location-back svg {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.hubpet-location-modal-title {
    text-align: center;
    font-size: 22px;
    color: #2f2f2f;
}

.hubpet-location-modal-body {
    max-width: 460px;
    margin: 52px auto 0;
}

.hubpet-location-search-wrap {
    position: relative;
}

.hubpet-location-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #c8c8c8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.hubpet-location-search {
    width: 100%;
    min-height: 50px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    padding: 0 12px 0 34px;
    font-size: 18px;
    color: #5a5a5a;
}

.hubpet-location-search::placeholder {
    color: #b7b7b7;
}

.hubpet-location-helper {
    margin: 8px 0 14px;
    color: #b8b8b8;
    font-size: 14px;
}

.hubpet-location-use-geo {
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2f2f2f;
    cursor: pointer;
    text-align: left;
    margin: 26px 0px 40px 0px;
}

.hubpet-location-geo-icon {
    color: #ea831d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hubpet-location-geo-icon i,
.hubpet-location-geo-icon svg {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.hubpet-location-geo-title {
    display: block;
    font-size: 32px;
    font-weight: 600;
    color: #2f2f2f;
    line-height: 1;
}

.hubpet-location-geo-subtitle {
    display: block;
    margin-top: 4px;
    color: #8f8f8f;
    font-size: 18px;
}

.hubpet-location-results-count {
    margin: 18px 0 8px;
    color: #8f8f8f;
    font-size: 16px;
}

.hubpet-location-results-item {
    border-bottom: 1px solid #ececec;
    padding: 10px 0;
}

.hubpet-location-results-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #323232;
    font-size: 34px;
    font-weight: 600;
}

.hubpet-location-results-label input {
    margin: 0;
}

.hubpet-location-confirm {
    margin-top: 22px;
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 10px;
    background: #ea831d;
    color: #fff;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
}

.hubpet-location-confirm:disabled {
    background: #f2d7be;
    cursor: not-allowed;
}

.hubpet-location-empty,
.hubpet-location-error {
    color: #8f8f8f;
    font-size: 16px;
    margin: 8px 0;
}

@media (max-width: 767px) {
.hubpet-location-widget {
        padding: 14px 10px 20px;
    }

    .hubpet-location-hero {
        margin-bottom: -28px;
    }

    .hubpet-location-hero img {
        max-width: 160px;
    }

    .hubpet-location-card {
        border-radius: 24px;
        padding: 52px 16px 20px;
    }

    .hubpet-location-badge {
        width: 66px;
        height: 66px;
        top: -33px;
    }

    .hubpet-location-title {
        font-size: 24px;
        max-width: 200px;
        margin: 0 auto;
    }

    .hubpet-location-subtitle {
        font-size: 14px;
        line-height: 1.35;
        margin-bottom: 14px;
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }

    .hubpet-location-city-trigger,
    .hubpet-location-start,
    .hubpet-location-confirm {
        min-height: 44px;
    }

    .hubpet-location-city-label,
    .hubpet-location-search {
        font-size: 16px;
    }

    .hubpet-location-modal-panel {
        margin-top: 56px;
        min-height: calc(100vh - 56px);
        border-top-left-radius: 26px;
        border-top-right-radius: 26px;
        padding: 20px 24px 18px;
    }

    .hubpet-location-modal-header {
        grid-template-columns: 28px 1fr 58px;
    }

    .hubpet-location-modal-title {
        font-size: 22px;
    }

    .hubpet-location-exit {
        font-size: 0;
    }

    .hubpet-location-modal-body {
        margin-top: 14px;
        min-height: calc(100vh - 120px);
        display: flex;
        flex-direction: column;
    }

    .hubpet-location-helper {
        font-size: 13px;
    }

    .hubpet-location-geo-title {
        font-size: 24px;
    }

    .hubpet-location-geo-subtitle {
        font-size: 14px;
    }

    .hubpet-location-results-label {
        font-size: 34px;
    }

    .hubpet-location-results-count {
        font-size: 18px;
    }

    .hubpet-location-start,
    .hubpet-location-confirm {
        font-size: 18px;
    }

    .hubpet-location-confirm {
        margin-top: 60px;
        margin-bottom: 60px;
    }
}

body.hubpet-location-modal-open {
    overflow: hidden;
}
