.insight-world-map {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    background: #000;
    padding: 20px;
    box-sizing: border-box;
}

.insight-world-map__stage {
    position: relative;
    width: 100%;
}

.insight-world-map__image {
    display: block;
    width: 100%;
    height: auto;
}

.insight-world-map__pin {
    position: absolute;
    display: block;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.insight-world-map__pin img {
    display: block;
    width: 20px !important;
    height: 20px !important;
    /* object-fit: cover !important; */
    filter: drop-shadow(0 0 10px rgba(0, 180, 220, .9));
}

.insight-world-map__tooltip {
    position: absolute;
    left: 50%;
    bottom: 130%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #242424;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: .2s ease;
    pointer-events: none;
}

.insight-world-map__tooltip:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #00a5c8;
}

.insight-world-map__pin:hover .insight-world-map__tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 150%;
}

.insight-retailer-locator {
    background: #000;
    color: #fff;
    padding: 40px 20px;
}

.insight-world-map--locator-top {
    /* max-width: 760px; */
    margin-bottom: 35px;
}

.insight-retailer-locator__title {
    text-align: center;
    color: #fff;
    font-size: 48px;
    line-height: 1.2;
    margin: 0 0 50px;
}

.insight-retailer-locator__layout {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto;
}

.insight-retailer-locator__sidebar {
    min-width: 0;
}

.insight-retailer-locator__search,
.insight-retailer-locator__country {
    width: 100%;
    height: 55px;
    background: #242424;
    border: 1px solid #454545 !important;
    color: #fff;
    margin-bottom: 10px;
    padding: 0 30px 0px 15px !important;
    border-radius: 0;
}

.retailer-search-icon {
    position: relative;
}

.retailer-search-icon:after {
    content: '';
    position: absolute;
    height: 24px;
    width: 24px;
    top: 15px;
    right: 15px;
    background: url('/wp-content/plugins/insight-retailer-locator/assets/icons/search-icon.png');
    background-position: center;
    background-size: contain;
}

.insight-retailer-locator__cards {
    display: grid;
    gap: 12px;
    max-height: 520px;
    overflow: auto;
    padding-right: 4px;
}

.insight-retailer-card {
    background: #1d1d1d;
    color: #fff;
    padding: 18px;
    border-radius: 3px;
    border: 1px solid #333;
    transition: .2s ease;
}

.insight-retailer-card.is-featured,
.insight-retailer-card:hover {
    background: #0097b2;
    border-color: #0097b2;
}

.insight-retailer-card__country {
    display: block;
    color: #08badd;
    font-size: 12px;
    margin-bottom: 10px;
}

.insight-retailer-card.is-featured .insight-retailer-card__country,
.insight-retailer-card:hover .insight-retailer-card__country {
    color: #fff;
}

.insight-retailer-card h3 {
    color: #fff;
    font-size: 17px;
    line-height: 1.25;
    margin: 0 0 13px;
}

.insight-retailer-card p {
    font-size: 16px;
    line-height: 1.45;
    margin: 7px 0;
    color: #fff;
}

.insight-retailer-card a {
    color: #fff;
    text-decoration: none;
}

.insight-retailer-card a:hover {
    text-decoration: underline;
}

.insight-retailer-locator__map-placeholder {
    min-height: 520px;
    background: #252525;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.insight-retailer-locator__map-placeholder:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,.08), rgba(0,0,0,.25));
    opacity: .55;
}

.insight-retailer-locator__map-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #aaa;
    font-size: 14px;
    padding: 20px;
}

.insight-retailer-locator__empty {
    background: #1d1d1d;
    padding: 18px;
    margin: 0;
    color: #fff;
}

.insight-retailer-locator__cards.is-loading {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

ul.retailer-information-list {
    list-style-type: none;
    padding-left: 30px;
}

ul.retailer-information-list li.phone-icon,
ul.retailer-information-list li.mail-icon,
ul.retailer-information-list li.map-icon,
ul.retailer-information-list li.world-icon {
    position: relative;
}

ul.retailer-information-list li {
    padding-bottom: 15px;
}

ul.retailer-information-list li.phone-icon:before,
ul.retailer-information-list li.mail-icon:before,
ul.retailer-information-list li.map-icon:before,
ul.retailer-information-list li.world-icon:before {
    content: '';
    position: absolute;
    top: 5px;
    left: -30px;
    height: 16px;
    width: 16px;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
}

ul.retailer-information-list li.phone-icon:before {
    background: url('/wp-content/plugins/insight-retailer-locator/assets/icons/phone-icon.png');
}

ul.retailer-information-list li.mail-icon:before {
    background: url('/wp-content/plugins/insight-retailer-locator/assets/icons/mail-icon.png');   
}

ul.retailer-information-list li.map-icon:before {
    background: url('/wp-content/plugins/insight-retailer-locator/assets/icons/map-pin.png');   
}

ul.retailer-information-list li.world-icon:before {
    background: url('/wp-content/plugins/insight-retailer-locator/assets/icons/world-icon.png');   
}

/*
============================================
Retailer Cards Scrollbar
============================================
*/

.insight-retailer-locator__cards::-webkit-scrollbar {
    width: 8px;
}

.insight-retailer-locator__cards::-webkit-scrollbar-track {
    background: #111111;
    border-radius: 20px;
}

.insight-retailer-locator__cards::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #007D99 0%,
        #007D99 100%
    );
    border-radius: 20px;
    border: 1px solid #1a1a1a;
}

.insight-retailer-locator__cards::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #007D99 0%,
        #007D99 100%
    );
}

/*
Firefox
*/

.insight-retailer-locator__cards {
    scrollbar-width: thin;
    scrollbar-color: #007D99 #111111;
}

/*
============================================
Custom Select Arrow
============================================
*/

.insight-retailer-locator__country {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url('/wp-content/plugins/insight-retailer-locator/assets/icons/select-field-arrow.png');
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;

    padding-right: 55px;
}

/* Hide IE arrow */
.insight-retailer-locator__country::-ms-expand {
    display: none;
}

@media (max-width: 900px) {

    .insight-retailer-locator__layout {
        grid-template-columns: 1fr;
    }

    .insight-retailer-locator__map-placeholder {
        min-height: 360px;
    }

    .insight-world-map {
        padding: 10px;
    }

    .insight-world-map__pin {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 600px) {

    .insight-retailer-locator {
        padding: 30px 15px;
    }

    .insight-retailer-locator__title {
        font-size: 22px;
    }

    .insight-retailer-locator__cards {
        max-height: none;
        overflow: visible;
    }

    .insight-retailer-locator__map-placeholder {
        min-height: 300px;
    }
}

/* ==================================================
   Leaflet / OpenStreetMap additions
   ================================================== */

/* Insight Retailer Locator - Leaflet version */

.insight-retailer-locator__map-wrap {
    position: relative;
    min-height: 520px;
    background: #202020;
    border: 1px solid rgba(255,255,255,0.12);
    overflow: hidden;
}

.insight-retailer-leaflet-map {
    width: 100%;
    height: 100%;
    min-height: 520px;
    background: #202020;
    filter: grayscale(25%) brightness(0.9);
    transition: filter 0.3s ease;
}

.insight-retailer-locator__map-wrap:hover .insight-retailer-leaflet-map {
    filter: grayscale(10%) brightness(1.05);
}

.insight-retailer-map-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-align: center;
    pointer-events: none;
    padding: 25px;
    background: rgba(32,32,32,0.45);
}

.insight-retailer-locator__cards.is-loading {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.insight-retailer-card {
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.insight-retailer-card.is-active,
.insight-retailer-card:hover {
    border-color: #00a8c7 !important;
    background: #008fa8 !important;
    transform: translateY(-1px);
}

.insight-retailer-card.is-active .insight-retailer-card__country,
.insight-retailer-card:hover .insight-retailer-card__country {
    color: #ffffff;
}

.irl-marker {
    background: transparent;
    border: 0;
}

.irl-marker span {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 0 14px rgba(0,0,0,0.55);
}

.irl-marker span::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.82);
    top: 6px;
    left: 5px;
}

.irl-marker--default span {
    background: #777;
    border: 2px solid #999;
}

.irl-marker--active span {
    width: 30px;
    height: 30px;
    background: #00a8c7;
    border: 2px solid #4ee7ff;
    box-shadow: 0 0 22px rgba(0, 188, 225, 0.85);
}

.irl-marker--active span::after {
    width: 11px;
    height: 11px;
    top: 8px;
    left: 8px;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #1b1b1b;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
}

.leaflet-popup-content {
    font-size: 13px;
    line-height: 1.45;
}

.leaflet-control-attribution {
    background: rgba(0,0,0,0.65) !important;
    color: rgba(255,255,255,0.65) !important;
}

.leaflet-control-attribution a {
    color: rgba(255,255,255,0.8) !important;
}

/* Custom select arrow */
.insight-retailer-locator__country {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('/wp-content/plugins/insight-retailer-locator/assets/icons/select-field-arrow.png');
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
    padding-right: 55px;
}

.insight-retailer-locator__country::-ms-expand {
    display: none;
}

/* Retailer cards scrollbar */
.insight-retailer-locator__cards::-webkit-scrollbar {
    width: 8px;
}

.insight-retailer-locator__cards::-webkit-scrollbar-track {
    background: #111111;
    border-radius: 20px;
}

.insight-retailer-locator__cards::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00bfff 0%, #0099cc 100%);
    border-radius: 20px;
    border: 1px solid #1a1a1a;
}

.insight-retailer-locator__cards::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #33ccff 0%, #00aaff 100%);
}

.insight-retailer-locator__cards {
    scrollbar-width: thin;
    scrollbar-color: #00bfff #111111;
}

@media (max-width: 767px) {
    .insight-retailer-locator__map-wrap,
    .insight-retailer-leaflet-map {
        min-height: 380px;
    }
}


/* Leaflet layout compatibility with existing design */

.insight-retailer-locator__map-wrap {
    min-height: 520px;
    background: #252525;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.insight-retailer-locator__map-wrap.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.insight-retailer-leaflet-map {
    min-height: 520px;
}

.insight-retailer-card.is-active {
    background: #0097b2;
    border-color: #0097b2;
}

.insight-retailer-card.is-active .insight-retailer-card__country {
    color: #fff;
}
