#container {
    display: flex;
    gap: 20px;
    max-width: 100%;
}

#sidebar {
    width: 560px;
}

.map-countries-outter-wrp {
    display: flex;
    gap: 20px
}

.map-outter-wrp {
    width: calc(100% - 545px);
    border-top-left-radius: 80px;
    overflow: hidden;
}

@media (min-width: 2500px) {
    #map {
        width: calc(100% - 70%) !important;
        right: 23% !important;
    }
}

#map {
    height: calc(100vh - 135px);
    width: calc(100% - 45%);
    border-top-left-radius: 80px;
    overflow: hidden;
    position: fixed !important;
    top: 100px;
    right: 0px;
}


/* View Switch Buttons */
.view-switch {
    display: flex;
    gap: 10px;
    padding: 0;
    list-style: none;
    margin: 20px 0px 30px 0px;
}

.view-switch button {
    padding: 11px 24px;
    background: #F1F2F4;
    border: 0;
    color: #162A4D;
    border-radius: 50px;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 20.49px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.view-switch button#mapViewBtn:before {
    content: "";
    background: url(https://kansenvlucht.com/wp-content/uploads/2025/01/location.svg);
    width: 24px;
    height: 24px;
    display: inline-block;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.view-switch button#countryViewBtn:before {
    content: "";
    background: url(https://kansenvlucht.com/wp-content/uploads/2025/01/flag.svg);
    width: 24px;
    height: 24px;
    display: inline-block;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.view-switch button.active {
    background-color: #162A4D;
    color: #fff;
}

.view-switch button#mapViewBtn.active:before {
    background: url(https://kansenvlucht.com/wp-content/uploads/2025/01/location-active.svg);
}

.view-switch button#countryViewBtn.active:before {
    background: url(https://kansenvlucht.com/wp-content/uploads/2025/01/flag-active.webp);
}


/* Map View Panel */
#mapViewPanel {
    display: none;
    position: relative;
    z-index: 1;
}

.top-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 5px;
}

.top-row input[type="text"] {
    padding: 0px 60px 0px 20px;
    font-size: 14px;
    border: 1px solid #162A4D;
    border-radius: 10px;
    height: 54px;
    color: #162A4D;
    outline: none;
    width: 100%;
}

.enter-address {
    color: #162A4D;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.top-row input::placeholder {
    color: #162A4D;
}

.icon-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn img {

    object-fit: contain;
}

.search-row {
    margin-bottom: 8px;
}

.search-row button {
    padding: 6px 12px;
    cursor: pointer;
}

/* EMAIL, PHONE, GET DRIRECTION */

.btn-info-links {
    display: flex;
    gap: 47px;
    align-items: center;
}

.info-list-wrp {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 10px;
    align-items: center;
    width: 100%;

}

.info-list-wrp a {
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    font-weight: normal;
    word-break: break-all;
}

.info-list-wrp li.mail-icon {
    border-right: 1px solid #A6A6A6;
    padding-right: 20px;
}

.info-list-wrp li:last-child {
    border-right: 0;
}

.store-item ul.info-list-wrp a {
    position: relative;
}

.store-item ul.info-list-wrp span {
    position: absolute;
    background-color: black;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, transform 0.2s;
    bottom: 100%;
    left: 50%;
    transform: translateX(-42%) translateY(-5px);
    user-select: none;
    pointer-events: none;
}

.store-item ul.info-list-wrp a:hover span {
    visibility: visible;
    opacity: 1;
    transform: translateX(-42%) translateY(-10px);
}

/* Filters Panel */
.filters-panel {
    border: 1px solid #ccc;
    padding: 40px;
    display: none;
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
    position: absolute;
    background: #fff;
    width: 100%;
    z-index: 1;
}

.filters-panel h4 {
    margin: 10px 0 5px;
}

.filters-panel input[type="range"] {
    width: 100%;
}

/* Store List */
.store-item {
    background: #F1F2F4;
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
    padding: 40px 30px;
    margin-top: 24px;
    cursor: pointer;
}

.store-item h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: 32.78px;
    color: #162A4D;
}

.store-item p {
    color: #162A4D;
    font-size: 18px;
}

.store-item .wp-block-button a {
    white-space: nowrap;
}

/* Country View Panel */
#countryViewPanel {
    display: none;
}

#countryViewPanel select {
    padding: 0px 60px 0px 20px;
    font-size: 20px;
    border: 1px solid #162A4D;
    border-radius: 10px;
    height: 54px;
    color: #162A4D;
    outline: none;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(https://kansenvlucht.com/wp-content/uploads/2025/01/arrow_drop_down.svg);
    background-repeat: no-repeat;
    background-position-x: 97%;
    background-position-y: center;
}

.country-item {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    cursor: pointer;
}

.country-header {
    display: none;
    margin: 10px 0;
}

.country-header .back-link {
    color: #007BFF;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 10px;
}

.state-item {
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    cursor: pointer;
}

.accordion-content {
    display: none;
}

.section-title-wrp .wp-block-heading {
    font-size: 48px !important;
    font-weight: 400;
    line-height: 1.2 !important;
    color: #162a4d;
    margin-top: 0;
    margin-bottom: 23px;
}

.section-title-wrp .wp-block-heading strong {
    background: linear-gradient(90deg, #8BC53F 23.41%, #3362B3 52.46%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 300;
}

.section-title-wrp p {
    font-size: 20px !important;
    font-weight: 400;
    line-height: 27.32px;
    color: #162a4d;
    margin: 0;
}

.search-input {
    position: relative;
    flex: 1;

}

#submitBtn {
    background-color: transparent;
    outline: none !important;
    border: 0;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 15px;
}

#clearSearchBtn {
    color: red;
    font-size: 12px;
    cursor: pointer;
}

.location_type {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.location_type li {
    font-size: 14px;
    color: #162A4D;
    font-weight: 400;
    line-height: 19.12px;
    border: 1px solid #162A4D;
    border-radius: 50px;
    padding: 8px 10px;
}

/* Marker */
.gm-style-iw h4 {
    margin: 0 !important;
    font-weight: bold;
}

.gm-style-iw .wp-block-buttons,
.gm-style-iw .location_type {
    display: none !important;
}

.gm-style .gm-style-iw-c {
    padding: 15px !important;
    overflow: initial;
}

.gm-ui-hover-effect {
    width: 30px !important;
    height: 30px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.gm-ui-hover-effect>span {
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;
}

.gm-style .gm-style-iw-d {
    overflow: auto !important;
    font-family: Manrope, sans-serif;
}

.gm-style-iw-chr {
    position: absolute;
    top: -20px;
    right: -18px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 100%;
}

.gm-style-iw .info-list-wrp {
    display: inline-block;
}

.gm-style-iw .info-list-wrp li {
    width: 100%;
}

.gm-style-iw .info-list-wrp li.mail-icon {
    border: 0;
    padding: 0;
}

.gm-style-iw .info-list-wrp li a {
    padding-bottom: 15px;
    width: max-content;
}

.gm-style-iw .info-list-wrp li:last-child a {
    padding-bottom: 0px;
}

.gm-style img {
    max-width: 15px;
}

.gm-style-iw .info-list-wrp li a span:before {
    display: inline-block !important;
    content: "-";
    margin-right: 10px
}

.filter-scroll {
    overflow-y: auto;
    height: 300px;
}

/* Mobile Resolution */
@media (max-width: 1025px) {
    #container {
        display: inline-block;
    }

    #sidebar {
        width: 100%;
    }

    .map-outter-wrp {
        width: auto;
        border-radius: 0px;
        top: 125px;
        position: relative;
        margin: 0 -32px -500px;
    }

    #map {
        height: 500px;
        width: 100%;
        border-radius: 0px;
        overflow: hidden;
        position: relative !important;
        top: 0;
        right: 0;
    }

    .store-item .wp-block-button a {
        min-width: max-content;
        max-width: max-content;
    }

    #storeList {
        margin-top: 600px;
    }

    #stateAccordionWrapper {
        margin-top: 600px;
    }
}

.no-results {
    border-radius: 10px;
    padding: 20px 30px;
    margin-top: 24px;
    cursor: pointer;
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: red;
    font-size: 14px;
    background: #ffefef;
}