.petsg-trigger {
display: inline-flex;
align-items: center;
gap: 4px;
cursor: pointer;
border-bottom: 1px dashed currentColor;
user-select: none;
color: #474747;
font-size: 15px;
}
.petsg-trigger:hover { opacity: .75; }
.petsg-trigger svg { flex-shrink: 0; } .petsg-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0,0,0,.2);
z-index: 999999;
align-items: center;
justify-content: center;
padding: 16px;
box-sizing: border-box;
}
.petsg-overlay.is-open { display: flex; } .petsg-modal {
background: #fff;
border-radius: 26px;
padding: 40px 48px 36px;
width: 100%;
max-width: 620px;
max-height: 90vh;
overflow-y: auto;
position: relative;
box-shadow: 0 12px 60px rgba(0,0,0,.2);
box-sizing: border-box;
}
.petsg-close {
position: absolute;
top: 16px;
right: 16px;
padding: 5px !important;
background: transparent !important;
font-size: 34px !important;
font-weight: 300 !important;
line-height: 20px !important;
}
.petsg-close:hover { color: #000; }
.petsg-title {
text-align: center;
font-size: 20px;
font-weight: 700;
margin: 0 0 8px;
color: #111;
}
.petsg-subtitle {
text-align: center;
font-size: 14px;
color: #7e7e7e;
margin: 0 0 24px;
font-weight: 500;
} .petsg-field {
position: relative;
margin: 16px 0 28px;
box-sizing: border-box;
}
.petsg-search-input {
border: 1px solid #b6b6b6!important;
border-radius: 7px!important;
outline: none;
font-size: 16px;
box-sizing: border-box;
}
.petsg-search-input:focus { border-color: #555; }
.petsg-field-clear {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
background: #bdbdbd!important;
display: none;
align-items: center;
justify-content: center;
color: #fff!important;
font-size: 18px!important;
line-height: 1!important;
padding: 1px 5px!important;
}
.petsg-field-clear.visible { display: flex; } .petsg-popular-label {
font-size: 12px;
font-weight: 700;
color: #aaa;
text-transform: uppercase;
letter-spacing: .06em;
margin: 0 0 10px;
}
.petsg-cities-grid {
display: grid;
grid-template-columns: 1fr 1fr;
list-style: none;
margin: 0;
padding: 0;
}
.petsg-city-item {
font-size: 16px;
padding: 10px 0;
cursor: pointer;
color: #111;
transition: color .15s;
border-bottom: 1px solid #f2f2f2;
}
.petsg-city-item:hover,
.petsg-city-item.active { color: #608DDB; }
.petsg-city-item.active { font-weight: 600; } .petsg-search-results {
list-style: none;
margin: 0;
padding: 0;
}
.petsg-search-result {
padding: 12px 0;
cursor: pointer;
border-bottom: 1px solid #f2f2f2;
}
.petsg-search-result:last-child { border-bottom: none; }
.petsg-result-city { font-size: 16px; font-weight: 600; color: #111; }
.petsg-result-region { font-size: 13px; color: #999; margin-top: 2px; }
.petsg-search-result:hover .petsg-result-city { color: #2673DD; }
.petsg-no-results {
font-size: 13px;
color: #999;
padding: 16px 0;
text-align: center;
}
@media (max-width: 520px) {
.petsg-modal { padding: 30px 20px 24px; }
.petsg-cities-grid { grid-template-columns: 1fr; }
.petsg-trigger{font-size: 13px;}
}