/* Frontend Styles */
.trontek-map-wrapper {
    width: 100%;
    margin: 20px 0;
}

.trontek-map-wrapper .map-container {
    position: relative;
    width: 500px;
    height: 60vh;
    /* responsive height using viewport unit */
    max-height: 800px;
    min-height: 300px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



.trontek-map-wrapper .map-pin {
    position: absolute;
    cursor: pointer;
    z-index: 20;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trontek-map-wrapper .map-pin:hover {
    transform: translate(-50%, -100%) scale(1.1);
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3); */
    z-index: 300;
}

.trontek-map-wrapper .map-pin .pin-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.static-pin-wrap .pin-wrap p {
    color: #2f302f;
    font-weight: bold;
    font-size: 14px;
    width: 100px;
    text-transform: uppercase;
}
.static-pin-wrap .pin-icon-box {
    width: 75px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.static-pin-wrap .pin-wrap {
        /* width: 55px;
    height: 55px; */
    display: flex;
    align-items: center;
}

.static-pin-wrap {
    position: absolute;
    right: 0;
    bottom: 0;
}

.trontek-map-wrapper .map-pin .pin-stem {
    width: 2px;
    height: 14px;
    background: #2b2b2b;
    margin-top: 4px;
}

.trontek-map-wrapper .map-pin .pin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.trontek-map-wrapper .map-pin .pin-inner,
.static-pin-wrap .pin-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.trontek-map-wrapper .map-pin .pin-inner span {
    font-size: 6px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #e8621a;
    line-height: 1.2;
}

.trontek-map-wrapper .map-pin.pin-plus .pin-icon {
    width: 52px;
    height: 52px;
    background: #2b2b2b;
    border-radius: 50%;
    border: 2.5px solid #e8621a;
}

.trontek-map-wrapper .map-pin.pin-plus .pin-inner {
    width: 36px;
    height: 36px;
    background: #1a1a1a;
    border: 1.5px solid #e8621a;
    border-radius: 50%;
}

.trontek-map-wrapper .map-pin.pin-service .pin-icon {
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 50%;
    border: 3px solid #2b2b2b;
}

.trontek-map-wrapper .map-pin.pin-service .pin-inner {
    width: 10px;
    height: 10px;
    background: #e8621a;
    border-radius: 50%;
}

.trontek-map-wrapper .map-pin.pin-upcoming .pin-icon {
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    border: 3px solid #2b2b2b;
}

.trontek-map-wrapper .map-pin.pin-upcoming .pin-inner {
    width: 10px;
    height: 10px;
    background: #6dffc9;
    border-radius: 50%;
}

/* Alternate pin markup (match interactive HTML styles) */
.trontek-map-wrapper .map-pin.pin-plus .cp-outer,
.static-pin-wrap .cp-outer {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #2b2b2b;
    border: 2.5px solid #e8621a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trontek-map-wrapper .map-pin.pin-plus .cp-inner,
.static-pin-wrap .cp-inner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1.5px solid #e8621a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trontek-map-wrapper .map-pin.pin-plus .cp-inner span,
.static-pin-wrap .cp-inner span {
    font-size: 6px;
    font-weight: 900;
    color: #e8621a;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: center;
    line-height: 1.2;
}

.trontek-map-wrapper .map-pin.pin-service .svc-outer,
.static-pin-wrap .svc-outer {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #2b2b2b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trontek-map-wrapper .map-pin.pin-service .svc-inner,

.static-pin-wrap .svc-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e8621a;
}

.trontek-map-wrapper .map-pin.pin-upcoming .upc-outer,
.static-pin-wrap .upc-outer {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #2b2b2b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trontek-map-wrapper .map-pin.pin-upcoming .upc-inner,
.static-pin-wrap .upc-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6dffc9;
}

.trontek-map-wrapper .map-popup {
    display: none;
    position: fixed;
    background: #2b2b2b;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
    z-index: 401;
    width: 290px;
    max-width: 95%;
    color: white;
    font-size: 12px;
}

.trontek-map-wrapper .map-popup.active {
    display: block;
    animation: popupSlide 0.3s ease;
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trontek-map-wrapper .popup-header {
    padding: 9px 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    color: #fff;
    text-transform: uppercase;
}

.trontek-map-wrapper .map-popup table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
    font-size: 10px;
}

.trontek-map-wrapper .map-popup th {
    text-align: left;
    padding: 6px 8px;
    border-bottom: 1px solid #555;
    font-weight: 700;
    color: #aaa;
}

.trontek-map-wrapper .map-popup td {
    padding: 4px 8px;
    color: #fff;
}

.trontek-map-wrapper .popup-addr,
.trontek-map-wrapper .popup-contact {
    padding: 0 14px;
    font-size: 10px;
    color: #ccc;
    line-height: 1.4;
    margin-bottom: 8px;
}

.trontek-map-wrapper .popup-contact {
    margin-bottom: 14px;
}

.static-pin-wrap {}

/* Responsive */
@media (max-width: 768px) {
    .trontek-map-wrapper .map-container {
        height: 400px;
    }

    .trontek-map-wrapper .map-popup {
        width: 260px;
    }
}

@media (max-width: 480px) {
    .trontek-map-wrapper .map-container {
        height: 300px;
    }

    .trontek-map-wrapper .map-pin {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .trontek-map-wrapper .map-popup {
        width: 240px;
        font-size: 10px;
    }
}