#ssm-filter-form {
    width: 100%;
}

.ssm-filter-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    background: transparent;
    padding: 14px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.ssm-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    min-height: 48px;
    border: 1px solid #795548;
}

.ssm-icon {
    font-size: 16px;
    color: #6b7280;
}

.ssm-location input {
    border: none;
    outline: none;
    font-size: 14px;
    width: 200px;
}

.ssm-radius {
    gap: 12px;
}

.ssm-radius input[type="range"] {
    width: 120px;
    accent-color: #5a5a5a;
    height: 3px;
}

.ssm-km {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.ssm-submit {
    background: #6d28d9;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ssm-submit:hover {
    background: #5b21b6;
}

#ssm-filter-message {
    display: none;
    margin-top: 8px;
    color: #f87171;
    font-size: 14px;
}

.gm-style .gm-style-iw-c {
    padding: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    outline: none;
}

.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    max-height: none !important;
}

.gm-style .gm-ui-hover-effect {
    top: 0px !important;
    right: 0px !important;
}

.gm-style .gm-ui-hover-effect:focus ,.gm-style .gm-ui-hover-effect:focus-visible{
    outline: none !important;
    border: none !important;
} 


.ssm-infowindow {
    width: 230px;
    background: #ffffff;
    overflow: hidden;
    font-family: inherit;
}

.gm-style .gm-style-iw-ch {
    padding-top: 0 !important;
    height: 0 !important;
}


.gm-style-iw-chr {
    top: 4px;
    position: absolute;
    right: 4px;
    background: #fff;
    border-radius: 56px;
    padding: 0px;
    width: 30px;
    align-items: center;
    text-align: center;
    height: 30px;
}

.ssm-iw-image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.ssm-iw-content {
    padding: 10px 12px;
}

.gm-ui-hover-effect>span {
    width: 20px  !important;
    height: 20px !important;
    margin: 5px !important;
}
.ssm-iw-title {
    font-size: 15px;
    margin: 0;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

a.ssm-iw-btn:focus{
    outline: none !important; 
}

a.ssm-iw-btn:focus-visible{
    outline: none !important; 
}

.ssm-marker {
    font-size: 15px;
    background: #ffffff;
    border-radius: 5px;
    padding: 10px 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.ssm-marker:focus {
    outline: none;
}

.ssm-marker:focus-visible {
    outline: none;
}

gmp-advanced-marker.yNHHyP-marker-view:focus-visible {
    outline: none;
}

gmp-advanced-marker.yNHHyP-marker-view:focus {
    outline: none;
}

.ssm-marker i {
    color: #000000;
    line-height: 1;
}

.ssm-marker:hover {
    transform: scale(1.05);
    transition: transform 0.15s ease;
}

.ssm-marker.active {
    background: #6d28d9;
    color: #fff;
}

.ssm-marker.active i {
    color: #fff;
}

.ssm-infowindow img {
    width: 250px;
    height: 150px;
    object-fit: cover;
}


.ssm-category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ssm-category-tabs button {
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.ssm-category-tabs button:hover {
    background: #f3f4f6;
}

.ssm-category-tabs button.active {
    background: #6d28d9;
    color: #fff;
    border-color: #6d28d9;
}




/* Responsive */

@media (max-width: 768px) {
    .ssm-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .ssm-location input {
        width: 100%;
    }

    .ssm-radius input[type="range"] {
        width: 100%;
    }

    .ssm-submit {
        width: 100%;
    }
}