/* =========================================================
   БЛОК КАРТЫ
   ========================================================= */

.selected-marker {
    transform: scale(1.25);
    filter: drop-shadow(0 0 6px rgba(30,107,255,0.7));
    z-index: 1000 !important;
}

//маркеры
.city-marker .marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

/* обычная точка */
.city-marker .default {
    background: #1e6bff;
    box-shadow: 0 0 6px rgba(30, 107, 255, 0.4);
}

/* выбранная точка */
.city-marker .selected {
    background: #ffffff;
    border: 2px solid #1e6bff;
    box-shadow:
        0 0 0 4px rgba(30, 107, 255, 0.15),
        0 0 10px rgba(30, 107, 255, 0.6);
}

.city-marker .marker {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.city-marker .selected {
    background: #ffffff;
    border: 2px solid #1e6bff;
}

//маркеры конец
//маркеры новые стили

.leaflet-marker-icon {
    transition: transform 0.2s ease, filter 0.2s ease;
}

/* выбранный маркер */
.selected-marker {
    transform: scale(1.3);
    filter:
        drop-shadow(0 0 6px rgba(30,107,255,0.7))
        drop-shadow(0 2px 2px rgba(0,0,0,0.2));
    z-index: 999 !important;
}



#delivery-message {

    position: fixed;

    top: 30px;
    right: 30px;

    min-width: 320px;

    padding: 15px;

    background: #ffffff;

    border: 1px solid #ccc;

    border-radius: 8px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.15);

    display: none;

    z-index: 9999;

}


#delivery-map {

    width: 98%;
    height: 490px;

    background: #ffffff;
    border-radius: 12px;

	margin: 20px auto 30px;
    display: block;

   // border: 1px solid #ddd;
   // border-radius: 8px;
}




/* =========================================================
   БЛОК СТРАНЫ
   ========================================================= */

.delivery-country {

    width: 100%;

}


/* =========================================================
   СПИСОК ГОРОДОВ
   ========================================================= */

.delivery-city-list {

    display: none;

    padding-left: 14px;

}


/* =========================================================
   СПИСОК ГОРОДОВ — ОТКРЫТ
   ========================================================= */

.delivery-city-list.open {

    display: block;

}


/* =========================================================
   ГОРОД
   ========================================================= */

.delivery-city-link {

    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    min-height: 36px;

    padding: 7px 12px 7px 24px;

    box-sizing: border-box;

    border: none;

    border-radius: 7px;

    background: transparent;

    font-family:
        Inter,
        system-ui,
        sans-serif;

    font-size: 17px;

    font-weight: 400;

    line-height: 1.4;

    color: #4B5563;

    text-align: left;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;

}


/* =========================================================
   ЛИНИЯ ГОРОДА
   ========================================================= */

.delivery-city-link::before {

    content: "";

    position: absolute;

    left: 8px;

    top: 50%;

    width: 7px;

    height: 2px;

    transform: translateY(-50%);

    background: currentColor;

    border-radius: 2px;

}


/* =========================================================
   НАВЕДЕНИЕ
   ========================================================= */

.delivery-city-link:hover {

    background: #F5F7FA;

    color: var(--text-main);

}


/* =========================================================
   ВЫБРАННЫЙ ГОРОД
   ========================================================= */

.delivery-city-link.active {

    color: #1D4ED8;

}



/* =========================================================
   ОДНОСТРОЧНЫЕ ПОЛЯ В МЕНЮ DELIVERY
   ========================================================= */

.city-delivery-menu-field {

    width: 189px;

    padding: 9px 15px;

    box-sizing: border-box;

    border: 1px solid #D1D5DB;

    border-radius: 8px;

    background: #FFFFFF;

    color: #374151;

    font-family:
        Inter,
        system-ui,
        sans-serif;

    font-size: 17px;

    font-weight: 400;

    line-height: 1.3;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;

}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.city-delivery-menu-field::placeholder {

    color: #6B7280;

}


/* =========================================================
   HOVER
   ========================================================= */

.city-delivery-menu-field:hover {

    border-color: #9CA3AF;

}


/* =========================================================
   FOCUS
   ========================================================= */

.city-delivery-menu-field:focus {

    border-color: var(--blue);

    box-shadow:
        0 0 0 2px rgba(59, 130, 246, .12);

}





/* =========================================================
   ТЕКСТОВАЯ ЧАСТЬ МЕНЮ DELIVERY
   ========================================================= */

.city-delivery-blue-text {

    margin: 0 0 6px 0;

    font-family:
        Inter,
        system-ui,
        sans-serif;

    font-size: 17px;

    font-weight: 600;

    line-height: 1.4;

    color: #1D4ED8;

    letter-spacing: .05px;

    text-align: center;

}


.city-delivery-gray-text {

    margin: 0 0 6px 0;

    font-family:
        Inter,
        system-ui,
        sans-serif;

    font-size: 17px;

    font-weight: 600;

    line-height: 1.4;

    color: #4B5563;

    letter-spacing: .05px;

    text-align: justify;

}


/* =========================================================
   DELIVERY showCityPopup
   ========================================================= */
   
.leaflet-popup-content .delivery-popup {

    font-family:
        Inter,
        system-ui,
        sans-serif;

    font-size: 16px;

    font-weight: 600;

    line-height: 1.4;

    color: #4B5563;

}

.leaflet-popup-content .delivery-popup-title {

    font-family:
        Inter,
        system-ui,
        sans-serif;

    font-size: 16px;

    font-weight: 600;

    line-height: 1.4;

    color: #1D4ED8;

}


.leaflet-popup-content .delivery-popup-price {

    margin-top: 10px;

    font-family:
        Inter,
        system-ui,
        sans-serif;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.4;

    color: #4B5563;

}

/* =========================================================
   КНОПКА ЗАКРЫТИЯ POPUP
   ========================================================= */

.leaflet-popup-close.delivery-popup-close {

    width: 28px !important;

    height: 28px !important;

    top: 6px !important;

    right: 6px !important;

    display: flex !important;

    align-items: center;

    justify-content: center;

    padding: 0 !important;

    border: none !important;

    background: transparent !important;

    cursor: pointer;

}


/* =========================================================
   ИКОНКА
   ========================================================= */

.delivery-popup-close-icon {

    display: block;

    width: 16px;

    height: 16px;

    position: relative;

    top: 6px;

}


/* =========================================================
   ЦВЕТ КРЕСТИКА
   ========================================================= */

.delivery-popup-close-icon path {

    stroke: #6B7280;

    transition: stroke .15s ease;

}

/* =========================================================
   CURRENCY НАСТРОЙКИ
   ========================================================= */

.delivery-popup-amount {
    white-space: nowrap;
}
