#gm-service-areas {
    width: 100%;
    padding: 25px 0;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    color: #111111;
}

#gm-service-areas *,
#gm-service-areas *::before,
#gm-service-areas *::after {
    box-sizing: border-box;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

#gm-service-areas .gm-sa-layout {
    width: 100%;
    max-width: 1400px;
    min-height: 800px;
    margin: 0 auto;
    padding: 0 15px;

    display: grid;

    grid-template-columns:
        minmax(320px, 30%)
        minmax(0, 70%);

    gap: 20px;
}


/* =========================================================
   SIDEBAR
========================================================= */

#gm-service-areas .gm-sa-sidebar {
    min-width: 0;
    height: 800px;

    padding: 25px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid #e1e1e1;

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.05);

    overflow: hidden;
}


/* =========================================================
   HEADER
========================================================= */

#gm-service-areas .gm-sa-header {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 25px;
}

#gm-service-areas .gm-sa-header-icon {
    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #E00000;

    border-radius: 12px;

    color: #ffffff;
}

#gm-service-areas .gm-sa-header-icon svg {
    width: 27px;
    height: 27px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}

#gm-service-areas .gm-sa-header h2 {
    margin: 0 0 5px;

    font-size: 20px;

    line-height: 1.2;

    font-weight: 800;

    color: #111111;
}

#gm-service-areas .gm-sa-header p {
    margin: 0;

    font-size: 11px;

    line-height: 1.4;

    color: #777777;
}


/* =========================================================
   SEARCH
========================================================= */

#gm-service-areas .gm-sa-search {
    position: relative;

    width: 100%;

    margin-bottom: 12px;
}

#gm-service-areas .gm-sa-search svg {
    position: absolute;

    top: 50%;
    left: 15px;

    width: 19px;
    height: 19px;

    transform: translateY(-50%);

    fill: none;

    stroke: #777777;

    stroke-width: 2;

    stroke-linecap: round;

    pointer-events: none;
}

#gm-service-areas .gm-sa-search input {
    width: 100%;
    height: 48px;

    padding:
        0 15px 0 44px;

    background: #ffffff;

    border: 1px solid #dddddd;

    border-radius: 10px;

    outline: none;

    font-family: inherit;

    font-size: 14px;

    color: #111111;
}

#gm-service-areas .gm-sa-search input:focus {
    border-color: #E00000;

    box-shadow:
        0 0 0 3px
        rgba(224,0,0,.08);
}


/* =========================================================
   TABS
========================================================= */

#gm-service-areas .gm-sa-tabs {
    width: 100%;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 5px;

    padding: 4px;

    margin-bottom: 14px;

    background: #f2f2f2;

    border-radius: 10px;
}

#gm-service-areas .gm-sa-tab {
    height: 40px;

    border: 0;

    border-radius: 7px;

    background: transparent;

    color: #444444;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition:
        all .25s ease;
}

#gm-service-areas .gm-sa-tab:hover {
    color: #E00000;
}

#gm-service-areas .gm-sa-tab.active {
    background: #E00000;

    color: #ffffff;

    box-shadow:
        0 7px 18px
        rgba(224,0,0,.22);
}


/* =========================================================
   AREA LIST
========================================================= */

#gm-service-areas .gm-sa-list {
    flex: 1;

    min-height: 0;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-content: start;

    gap: 3px;

    padding-right: 5px;

    overflow-y: auto;

    scrollbar-width: thin;

    scrollbar-color:
        #E00000
        #eeeeee;
}

#gm-service-areas .gm-sa-list::-webkit-scrollbar {
    width: 5px;
}

#gm-service-areas .gm-sa-list::-webkit-scrollbar-track {
    background: #eeeeee;
}

#gm-service-areas .gm-sa-list::-webkit-scrollbar-thumb {
    background: #E00000;

    border-radius: 10px;
}


/* =========================================================
   AREA ITEM
========================================================= */

#gm-service-areas .gm-sa-area {
    min-height: 38px;

    display: flex;

    align-items: center;

    padding:
        8px 10px;

    border-radius: 7px;

    color: #222222;

    font-size: 13px;

    line-height: 1.3;

    cursor: pointer;

    transition:
        all .2s ease;
}

#gm-service-areas .gm-sa-area::before {
    content: "";

    width: 7px;
    height: 7px;

    flex:
        0 0 7px;

    margin-right: 9px;

    background: #E00000;

    border-radius: 50%;
}

#gm-service-areas .gm-sa-area:hover {
    background: #fff0f0;

    color: #E00000;

    transform:
        translateX(3px);
}

#gm-service-areas .gm-sa-area.active {
    background: #fff0f0;

    color: #E00000;

    font-weight: 700;
}


/* =========================================================
   EMPTY
========================================================= */

#gm-service-areas .gm-sa-empty {
    padding: 30px 10px;

    text-align: center;

    color: #777777;

    font-size: 14px;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

#gm-service-areas .gm-sa-bottom {
    flex-shrink: 0;

    display: flex;

    align-items: center;

    gap: 10px;

    padding-top: 20px;

    margin-top: 15px;

    border-top:
        1px solid #eeeeee;
}

#gm-service-areas .gm-sa-bottom-icon {
    width: 36px;
    height: 36px;

    flex:
        0 0 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid #E00000;

    border-radius: 50%;

    color: #E00000;
}

#gm-service-areas .gm-sa-bottom-icon svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;
}

#gm-service-areas .gm-sa-bottom-text {
    flex: 1;

    min-width: 0;
}

#gm-service-areas .gm-sa-bottom-text strong {
    display: block;

    margin-bottom: 3px;

    font-size: 11px;

    line-height: 1.3;
}

#gm-service-areas .gm-sa-bottom-text span {
    display: block;

    font-size: 9px;

    line-height: 1.4;

    color: #777777;
}

#gm-service-areas .gm-sa-contact {
    min-height: 40px;

    padding:
        10px 14px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    background: #E00000;

    border-radius: 7px;

    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        all .25s ease;
}

#gm-service-areas .gm-sa-contact:hover {
    background: #111111;

    color: #ffffff !important;

    transform:
        translateY(-2px);
}


/* =========================================================
   MAP CONTAINER
========================================================= */

#gm-service-areas .gm-sa-map-container {
    position: relative;

    min-width: 0;

    height: 800px;

    overflow: hidden;

    border:
        1px solid #dddddd;

    border-radius: 18px;

    background: #f5f5f5;
}


/* =========================================================
   MAP
========================================================= */

#gm-service-areas .gm-sa-map {
    position: relative;

    width: 100%;
    height: 100%;

    min-height: 500px;

    background:
        #eeeeee;
}


/* =========================================================
   MAP LOADING
========================================================= */

#gm-service-areas .gm-sa-map-loading {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 1;

    padding: 12px 18px;

    background: #ffffff;

    border-radius: 8px;

    box-shadow:
        0 5px 20px
        rgba(0,0,0,.1);

    color: #555555;

    font-size: 13px;

    transform:
        translate(-50%,-50%);
}


/* =========================================================
   CUSTOM SVG PINS
========================================================= */

#gm-service-areas .gm-sa-pin {
    position: absolute;

    width: 34px;
    height: 42px;

    cursor: pointer;

    transform:
        translate(-50%,-100%);

    z-index: 10;

    transition:
        transform .2s ease;
}

#gm-service-areas .gm-sa-pin:hover {
    transform:
        translate(-50%,-100%)
        scale(1.2);

    z-index: 100;
}

#gm-service-areas .gm-sa-pin.active {
    transform:
        translate(-50%,-100%)
        scale(1.35);

    z-index: 200;
}

#gm-service-areas .gm-sa-pin svg {
    display: block;

    width: 100%;
    height: 100%;

    overflow: visible;
}


/* =========================================================
   POPUP
========================================================= */

#gm-service-areas .gm-sa-popup {
    position: absolute;

    top: 25px;
    left: 25px;

    z-index: 1000;

    width: 290px;

    padding: 22px;

    display: none;

    background:
        rgba(255,255,255,.98);

    border-radius: 14px;

    box-shadow:
        0 15px 45px
        rgba(0,0,0,.18);
}

#gm-service-areas .gm-sa-popup.show {
    display: block;

    animation:
        gmSaPopupIn .25s ease;
}

@keyframes gmSaPopupIn {

    from {
        opacity: 0;

        transform:
            translateY(-10px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}

#gm-service-areas .gm-sa-popup-close {
    position: absolute;

    top: 7px;
    right: 10px;

    width: 30px;
    height: 30px;

    padding: 0;

    background: transparent;

    border: 0;

    color: #777777;

    font-size: 25px;

    line-height: 30px;

    cursor: pointer;
}

#gm-service-areas .gm-sa-popup-close:hover {
    color: #E00000;
}


/* Popup pin */

#gm-service-areas .gm-sa-popup-pin {
    width: 45px;
    height: 45px;

    margin-bottom: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #E00000;

    border-radius: 50%;

    color: #ffffff;
}

#gm-service-areas .gm-sa-popup-pin svg {
    width: 23px;
    height: 23px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}

#gm-service-areas .gm-sa-popup-content > span {
    display: block;

    margin-bottom: 5px;

    color: #E00000;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

#gm-service-areas .gm-sa-popup-content h3 {
    margin: 0 0 8px;

    font-size: 25px;

    font-weight: 800;

    line-height: 1.2;
}

#gm-service-areas .gm-sa-popup-content p {
    margin: 0 0 18px;

    color: #666666;

    font-size: 13px;

    line-height: 1.6;
}


/* View More */

#gm-service-areas .gm-sa-view-more {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding:
        12px 18px;

    background: #E00000;

    border-radius: 7px;

    color: #ffffff !important;

    text-decoration: none !important;

    font-size: 12px;

    font-weight: 700;

    transition:
        all .25s ease;
}

#gm-service-areas .gm-sa-view-more:hover {
    background: #111111;

    color: #ffffff !important;
}


/* =========================================================
   MAP LABEL
========================================================= */

#gm-service-areas .gm-sa-map-label {
    position: absolute;

    right: 20px;
    bottom: 20px;

    z-index: 500;

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        10px 15px;

    background:
        rgba(255,255,255,.96);

    border-radius: 8px;

    box-shadow:
        0 5px 20px
        rgba(0,0,0,.12);

    font-size: 12px;

    font-weight: 600;
}

#gm-service-areas .gm-sa-map-label span {
    width: 10px;
    height: 10px;

    border:
        2px solid #E00000;

    border-radius: 50%;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    #gm-service-areas .gm-sa-layout {
        grid-template-columns:
            38% 62%;
    }

    #gm-service-areas .gm-sa-sidebar {
        padding: 20px;
    }

    #gm-service-areas .gm-sa-list {
        grid-template-columns:
            1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

    #gm-service-areas .gm-sa-layout {
        grid-template-columns:
            1fr;

        min-height: auto;
    }

    #gm-service-areas .gm-sa-sidebar {
        height: auto;

        min-height: 650px;
    }

    #gm-service-areas .gm-sa-map-container {
        height: 550px;
    }

    #gm-service-areas .gm-sa-list {
        max-height: 400px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    #gm-service-areas {
        padding: 15px 0;
    }

    #gm-service-areas .gm-sa-layout {
        padding:
            0 10px;
    }

    #gm-service-areas .gm-sa-sidebar {
        padding: 18px;

        border-radius: 14px;
    }

    #gm-service-areas .gm-sa-list {
        grid-template-columns:
            1fr;

        max-height: 350px;
    }

    #gm-service-areas .gm-sa-bottom {
        flex-wrap: wrap;
    }

    #gm-service-areas .gm-sa-contact {
        width: 100%;
    }

    #gm-service-areas .gm-sa-map-container {
        height: 450px;

        border-radius: 14px;
    }

    #gm-service-areas .gm-sa-popup {
        top: 15px;
        left: 15px;
        right: 15px;

        width: auto;
    }

}