/* ===== Dealer locator — layout, map + partner cards/popups ===== */
.storelocator{
    display: flex;
    gap: 14px;
    align-items: stretch;
    height: 40em;
}
#storesMap{
    flex: 1 1 68%;
    height: 100%;
    border-radius: .15rem;
}

/* A single partner — shared by the right-hand list and the map popup. */
.storePopup-name{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-family: vdpquicksand,Arial,Verdana;
    color: #769918;
    font-weight: bold;
    font-size: 1.05rem;
    text-transform: uppercase;
    margin: 0 0 3px;
}
.storePopup-name-text{
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* distance badge — green pill, replaces the old #416aa3 blue text */
.storePopup-name .dist{
    flex: none;
    background: #f2f6e7;
    color: #5f7d13;
    border: 1px solid #d6e2b8;
    border-radius: 11px;
    padding: 1px 9px;
    font-size: .72rem;
    font-weight: 600;
    text-transform: none;
    white-space: nowrap;
}
.storePopup-addr{
    color: #6b6b6b;
    font-size: .88rem;
    margin: 0 0 8px;
}
.storePopup-hours{
    display: flex;
    gap: 7px;
    color: #555;
    font-size: .82rem;
    margin: 0 0 8px;
    white-space: pre-line;
}
.storePopup-hours svg{
    color: #769918;
    flex: none;
    margin-top: 2px;
}
.storePopup-services{
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}
.storePopup-services li{
    background: url(../img/icon_circle_5x5.png) left .38462em no-repeat;
    padding-left: 1.15385em;
    color: #5f7d13;
    font-size: .84rem;
}
.storePopup-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.storePopup svg.ic{
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -.125em;
}
/* action buttons reuse the site button style (.form-item.button): solid green, .15rem */
.storePopup .act{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #fff;
    background: #769918;
    border: 1px solid #769918;
    border-radius: .15rem;
    padding: 6px 10px;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.2;
}
.storePopup .act svg{
    color: #fff;
    font-size: .95rem;
}
.storePopup .act:hover{
    background: #5f7d13;
    border-color: #5f7d13;
    text-decoration: none;
}
/* secondary actions: green outline, fills on hover */
.storePopup .act.out{
    background: #fff;
    color: #5f7d13;
}
.storePopup .act.out svg{
    color: #769918;
}
.storePopup .act.out:hover{
    background: #769918;
    color: #fff;
}
.storePopup .act.out:hover svg{
    color: #fff;
}
#storesMap .divIcon{
    border: 6px solid red;
    border-radius: 16px;
}
.tui-editor-defaultUI,
.te-toolbar-section{
    border-color: #dcdcdc !important;
}
.error .tui-editor-defaultUI,
.error .te-toolbar-section{
    border-color: #b30000 !important
}
.error .te-ww-container{
    background-color: #fef6f4;
}
.tui-editor-defaultUI.focused,
.tui-editor-defaultUI.focused .te-toolbar-section{
    border-color: #769918 !important;
}
.tui-popup-color .te-apply-button{
    color: initial;
    bottom: 134px !important;
}
.tui-colorpicker-palette-hex{
    width: 60px !important;
    padding: 2px 10px !important;
    font-size: 13px !important;
    box-sizing: content-box !important;
}
.tui-editor-contents b{
    font-family: vdpubuntu,Arial,Verdana;
}
.tui-editor-contents b{
    font-weight: bold;
}
#SpecificMessage textarea[name=Message]{
    display: none;
}
#SpecificMessageCondition .form-label{
    padding-top: 0;
    line-height: 1.4em;
}
.block-share-links{
    margin-bottom: 20px;
}
.block-share-links .share-links-inner{
    padding: 0;
}
.block-share-links .share-link{
    padding-top: 0;
}
#specificMessages{
    width: 100%;
    max-width: 1140px;
    margin: -20px auto 8px auto;
    background: #769918;
}
#specificMessages>div{
    margin: 5px;
    padding: 5px;
    text-align: center;
    background: white;
    font-family: vdpubuntu,Arial,Verdana;
    font-size: 14px;
    line-height: 1.3em;
}
#specificMessages>div h1{
    font-size: 1.6rem;
    line-height: 28px;
    border-bottom: 3px double #999;
    margin: 14px 0 15px 0;
    padding-top: 0;
    padding-bottom: 7px;
    color: #000;
    font-weight: 700;
}
#specificMessages>div h2{
    font-size: 1.3rem;
    line-height: 23px;
    border-bottom: 1px solid #dbdbdb;
    margin: 30px 0 13px 0;
    padding-top: 0;
    padding-bottom: 7px;
    color: #333;
    font-weight: 700;
}
#specificMessages>div h3,
#specificMessages>div h4{
    font-size: 1.2rem;
    line-height: 18px;
    padding-top: 0;
    margin: 20px 0 2px;
    color: #333;
}
#specificMessages>div h3{
    font-weight: 700;
}
#specificMessages>div h5,
#specificMessages>div h6{
    font-size: 1rem;
    line-height: 17px;
    margin: 10px 0 -4px;
    color: #333;
}
#specificMessages>div h5{
    font-weight: 700;
}
#specificMessages>div em{
    font-style: italic;
}
#specificMessages>div ul,
#specificMessages>div ol{
    display: inline-block;
    text-align: left;
    list-style-type: disc;
    padding-left: 17px;
    margin: 6px 0 10px;
    color: #555;
}
#specificMessages>div ol{
    list-style-type: decimal;
}
#specificMessages>div .task-list-item{
    border: 0;
    list-style: none;
    padding-left: 22px;
    margin-left: -22px;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: 0 2px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAADdJREFUKBVjvHv37n8GMgALSI+SkhJJWu/du8fARJIOJMWjGpECA505GjjoIYLEB6dVUNojFQAA/1MJUFWet/4AAAAASUVORK5CYII=);
}
#specificMessages>div .task-list-item.checked{
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAMpJREFUKBVjjJ/64D8DGYCJDD1gLbTVyM3OxJDiJMzAxcYIdyALnIWDAdJU7i/OICfCxsDMxMgwc88bwk5F1vTs/W+GFUffwY2H+1FBlI2hLliCQYCbGSyJrqlzwwuGj9//YWoMtRBgUBJnZ6gMEGeQFWaFOw9kE7omkG5GWDyCPF7mJ86gIMbO8P//fwZGRkYGXJpAGuFO/fbrP0PXppcMD179JKgJRSOIA9N8/NZXrM4DqYEBjOgAaYYFOUwRNhruVGyS+MTI1ggAx8NTGcUtFVQAAAAASUVORK5CYII=);
}
/* ===== Dealer locator — results panel (to the right of the map) ===== */
#dealers{
    flex: 0 0 32%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: .15rem;
    line-height: 1.3;
    font-family: inherit;
}
.dealers-head{
    background: #769918;
    color: #fff;
    padding: 10px 14px;
    font-family: MontserratBold, sans-serif;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
#dealers-list{
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 4px;
}
.dealers-hint{
    color: #6b6b6b;
    font-size: .88rem;
    padding: 14px;
    margin: 0;
}
#dealers .storePopup{
    border-bottom: 1px solid #e3e3e3;
    border-radius: .15rem;
    padding: 11px 12px 12px;
    cursor: pointer;
    transition: background .12s;
}
#dealers .storePopup:last-child{
    border-bottom: 0;
}
#dealers .storePopup:hover{
    background: #f2f6e7;
}

@media (max-width: 768px){
    .storelocator{
        flex-direction: column;
        height: auto;
    }
    #storesMap{
        height: 24em;
        min-height: 300px;
        order: 2;
    }
    #dealers{
        flex-basis: auto;
        width: 100%;
        height: auto;
        max-height: 26em;
        order: 1;
    }
}