/* =====================================================
   YANDEX MAPS BALLOON CUSTOM STYLES
   ===================================================== */

.ymap-balloon-custom {
    width: 280px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ymap-balloon-image {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px 8px 0 0;
}

.ymap-balloon-body {
    padding: 16px;
}

.ymap-balloon-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.ymap-balloon-address {
    font-size: 13px;
    color: #717171;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ymap-balloon-address i {
    color: #ff385c;
    font-size: 12px;
}

.ymap-balloon-params {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #717171;
}

.ymap-balloon-params span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ymap-balloon-params i {
    font-size: 12px;
    color: #717171;
}

.ymap-balloon-price {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.ymap-balloon-price span {
    font-size: 14px;
    font-weight: 400;
    color: #717171;
}

.ymap-balloon-link {
    display: inline-block;
    padding: 10px 16px;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.ymap-balloon-link:hover {
    background: #e85a28;
    text-decoration: none;
}

/* Переопределяем стили стандартного балуна Яндекс Карт */
.ymaps-2-1-79-balloon__content {
    padding: 0 !important;
    margin: 0 !important;
}

.ymaps-2-1-79-balloon__layout {
    border-radius: 12px !important;
    overflow: hidden !important;
}
