.py-store_wrapper {
    --clr-bright: #fff;
    --clr-primary: #006fb5;
    --clr-text-grey: #6f6f6f;
}

a.py-store__btn {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    text-decoration: none;
    padding: 9px 35px;
    border-radius: 4px;
    max-width: max-content;
    min-width: 100px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

a.py-store__btn--primary {
    color: var(--clr-bright, #fff) !important;
    border: 0 !important;
	background-color: var(--clr-primary, #002e5f) !important;
}

a.py-store__btn--outline {
	color: var(--clr-primary, #002e5f) !important;
    border: 1px solid #b9b9b9 !important;
	background-color: transparent !important;
}

.py-store_wrapper #map {
    height: 500px;
    border: 1px solid #e8edf0;
    border-top: 0;
}

.py-store_sidebar {
    grid-area: sidebar;
    max-height: 500px;
    border-bottom: 1px solid #e8edf0;
    border-left: 1px solid #e8edf0;
    overflow-y: auto;
}

.py-store_sidebar::-webkit-scrollbar {
    width: 4px;
}
   
.py-store_sidebar::-webkit-scrollbar-track {
    box-shadow: inset 0 0 4px #f7f7f7;
}

.py-store_sidebar::-webkit-scrollbar-thumb {
    background-color: #898989;
    outline: none;
}

.py-store_wrapper {
    display: grid;
    grid-template-areas:
        'header header'
        'sidebar map';
    grid-template-columns: 450px 1fr;
    margin-bottom: 100px;
}

.py-store_header {
    grid-area: header;
    display: flex;
    flex-wrap: wrap;
    padding: 30px 15px;
    background: #f7f7f7;
    row-gap: 20px;
}

.py-store_header .inner-left {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
    max-width: 66.67%;
    flex: 0 0 66.67%
}

.py-store_header .inner-right,
.py-store_header-option {
    position: relative;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

button.py-store_header-search-icon {
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: var(--clr-bright, #fff);
    height: 100%;
    border: none;
    border-radius: 0 5px 5px 0;
    background: var(--clr-primary, #002e5f);
    padding: 0 15px;
    z-index: 2;
    font-size: 15px;
}

.py-store_header-option select {
    width: 100%;
    height: 38px;
    padding: 2px 25px 2px 10px;
    line-height: inherit;
    text-align: left !important;
    border-radius: .25rem;
    border: 1px solid #ced4da;
    color: #6f6f6f;
    display: block;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    text-transform: capitalize;
    appearance: none; /* hide arrow-down */
    background: var(--clr-bright, #fff) url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAAcklEQVQokd3RMQqDUBAE0CdJ4SlscpI0wSZtwDtY5CweIUezsEgXMCA2EWGFXyimTQam2dlhd2f9IbLkpBp3tPgk9bmnQBN0TMQep+Aa3luZnTHEpIUjLnshl3iFYZ5+/fYrNzxRrYmHDVOHHI9Y92eACfzbE0iumIcIAAAAAElFTkSuQmCC") no-repeat right 0.75rem center/12px 12px;
}

input.py-store_header-search {
    font-size: 14px;
    font-weight: 400;
    color: var(--clr-text-grey) !important;
    height: 38px;
    line-height: inherit;
    padding: 5px 30px 5px 10px !important;
    background-color: var(--clr-bright, #fff);
    border-radius: .25rem !important;
    border: 1px solid #ced4da !important;
    min-height: 38px;
    margin-bottom: 0;
    width: 100%;
}

.py-store_wrapper .store-info {
    font-size: 13px;
    font-weight: 400;
    color: var(--clr-text-grey);
    line-height: normal;
    background-color: transparent;
    margin-block: 0;
}

.py-store_wrapper .store-details .store-info__contact {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.py-store_wrapper .store-details .store-info__contact .inner-right {
    flex: 0 0 120px;
}

.py-store_wrapper .store-details .store-name {
    color: #32373c;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

.py-store_wrapper .store-details .store-location,
.py-store_wrapper .store-details .store-contact {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 10px;
    font-weight: 400;
}

.py-store_wrapper .store-details .store-location i {
    font-size: 15px;
}
.py-store_wrapper .store-details .store-contact i {
    font-size: 15px;
}

.py-store_wrapper .store-details .store-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.py-store_wrapper .store-details .store-info__action {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.py-store_wrapper .store-details .store-phone {
    text-decoration: none;
}

/* stores-listing */
.py-store_wrapper .stores-listing {}

.py-store_wrapper .stores-listing_item {
    cursor: pointer;
    padding: 15px 20px;
    background-color: var(--clr-bright, #fff);
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #e8edf0;
    margin-bottom: 0;
}

.py-store_wrapper .stores-listing_item.highlighted {
    background-color: #e6eaef;
}

/* Marker Popup */
.py-store_wrapper .leaflet-popup-content-wrapper {
    position: relative;
    width: 300px;
    border-radius: 0 !important;
    overflow: visible;
}

.py-store_wrapper .leaflet-popup-content-wrapper .btn {
    padding: 8px 18px !important;
    border-radius: 4px;
    font-weight: 500 !important;
}

.py-store_wrapper .leaflet-popup-content-wrapper .store-info__action  {
    justify-content: center;
}

.py-store_wrapper .leaflet-popup-content-wrapper .store-phone {
    color: var(--clr-primary, #002e5f) !important;
}

.py-store_wrapper .leaflet-popup-content-wrapper .store-address {
    margin-bottom: 18px;
}

.py-store_wrapper .leaflet-popup-content-wrapper .store-info__contact .inner-right {
    flex: 0 0 90px;
}

/* Media Queries */
@media (max-width: 1023px) {
    .py-store_wrapper {
        grid-template-columns: 3fr 4fr;
    }

    .py-store_wrapper .store-details .store-info__contact .inner-right {
        flex: 0 0 90px;
    }
}

@media (max-width: 991px) {
    .py-store_header-option {
        flex: 0 0 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
}

@media (max-width: 767px) {
    .py-store_wrapper #map {
        height: 400px;
    }

    .py-store_wrapper {
        grid-template-areas: 
            'header'
            'map'
            'sidebar';
        grid-template-columns: 1fr;
    }

    .py-store_header .inner-left,
    .py-store_header .inner-right,
    .py-store_header-option {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.store-name-search {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 9999;
    background: #FFF;
    max-height: 180px;
    overflow-y: auto;
}
.store-name-search .search-item {
    font-size: 14px;
    font-weight: normal;
    padding: 10px;
	cursor: pointer;
}
.store-name-search .search-item:hover {
background: #000;
  color: #FFF;
}