.header-logo a img {
    width: 200px !important;
}

.apart-detay-form-check {
    padding-left: 0px !important;
}

.apart-detay-form-check-label {
    font-size: 12px !important;
}

.apartim-wp-btn {
    display: inline-flex;
    align-items: center;
    background: #25d366;
    color: #fff !important;
    font-weight: 600;
    border-radius: 30px;
    padding: 7px 18px 7px 12px;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.12);
    transition: background 0.2s, box-shadow 0.2s;
    margin-left: 8px;
    gap: 7px;
}

.apartim-wp-btn:hover {
    background: #1ebe5d;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.18);
}

.apartim-wp-icon {
    width: 20px;
    height: 20px;
    margin-right: 3px;
    vertical-align: middle;
}

.apartim-directions-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #1C2D37;
    color: #fff !important;
    font-weight: 600;
    border-radius: 30px;
    padding: 7px 18px 7px 12px;
    font-size: 15px;
    text-decoration: none !important;
    margin-left: 8px;
    gap: 7px;
    box-shadow: 0 2px 8px rgba(28, 45, 55, 0.10);
    transition: background 0.2s, box-shadow 0.2s;
    min-width: 120px;
    height: 40px;
}

.apartim-directions-btn:hover {
    background: #243b47;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(28, 45, 55, 0.18);
}

.apartim-directions-icon {
    width: 20px;
    height: 20px;
    margin-right: 3px;
    vertical-align: middle;
}

.map-area-custom {
    height: 80vh;
}

@media (max-width: 1190px) {
    .property-search-form .form-select {
        width: 100% !important;
        margin-top: 20px !important;
    }

    .map-area-custom {
        height: 50vh;
    }
}

.location-map-address {
    right: 0px !important;
    bottom: 0px !important;
    z-index: 9 !important;
}

.custom-marker {
    background-color: transparent;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.maplibregl-popup-content {
    min-width: 250px;
    padding: 0;
}

.map-filter-panel {
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 1000;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
    padding: 0 0 16px 0;
    min-width: 280px;
    max-width: 340px;
    font-family: 'Inter', Arial, sans-serif;
    overflow: hidden;
}

.filter-title {
    font-size: 1.2rem;
    font-weight: 600;
    background: #1C2D37;
    color: #fff;
    padding: 20px 20px 16px 20px;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.filter-group {
    margin-bottom: 14px;
    padding: 0 20px;
}

.filter-group label {
    display: block;
    font-size: 0.97rem;
    color: #444;
    margin-bottom: 4px;
    font-weight: 500;
}

.filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafbfc;
    font-size: 1rem;
    color: #222;
    outline: none;
    transition: border 0.2s;
}

.filter-group select:focus {
    border-color: #1C2D37;
}

.filter-btn {
    width: calc(100% - 40px);
    margin: 0 20px;
    padding: 12px 0;
    background: #1C2D37;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.filter-btn:hover {
    background: #22394a;
}

.map-search-bar-outer {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    display: flex;
    align-items: center;
    min-width: 340px;
    max-width: 600px;
    width: 100%;
    justify-content: center;
}

.map-search-bar-outer input {
    height: 56px;
    border: none;
    outline: none;
    font-size: 1.1rem;
    background: #fff;
    color: #222;
    border-radius: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
    padding: 0 24px 0 24px;
    min-width: 340px;
    max-width: 600px;
    width: 100%;
    transition: box-shadow 0.2s;
    padding-right: 56px;
}

.map-search-bar-outer button {
    margin-left: -32px;
    background: #1C2D37;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(28, 45, 55, 0.10);
    z-index: 2;
}

.map-search-bar-outer button svg {
    display: block;
    margin: 0;
    padding: 0;
}

.map-search-bar-outer button:hover {
    background: #22394a;
}

.map-side-panel {
    position: absolute;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: #fff;
    z-index: 1200;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.13);
    transition: right 0.3s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
}

.map-side-panel.open {
    right: 0;
}

.side-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1C2D37;
    color: #fff;
    padding: 18px 24px;
    font-size: 1.2rem;
    font-weight: 600;
}

#closeSidePanel {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.side-panel-filters {
    padding: 12px 20px 0 20px;
    border-bottom: 1px solid #eee;
}

.side-panel-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.apart-list-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 14px;
}

.apart-list-item:last-child {
    border-bottom: none;
}

.apart-list-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    background: #f5f5f5;
}

.apart-list-info {
    flex: 1;
}

.apart-list-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1C2D37;
    margin-bottom: 4px;
}

.apart-list-desc {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 2px;
}

.apart-list-meta {
    font-size: 0.92rem;
    color: #888;
}

.apart-list-item {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 14px;
    align-items: flex-start;
}

.apart-list-img-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.apart-list-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    background: #f5f5f5;
}

.apart-list-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #1C2D37;
    color: #fff;
    font-size: 0.85rem;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.apart-list-info {
    flex: 1;
}

.apart-list-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1C2D37;
    margin-bottom: 4px;
}

.apart-list-desc {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 2px;
}

.apart-list-meta {
    font-size: 0.92rem;
    color: #888;
    margin-top: 4px;
}

.media-body h4 a {
    color: var(--white-color) !important;
}

/* Harita Zoom Kontrolleri */
.map-zoom-controls {
    position: absolute;
    top: 32px;
    right: 32px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
    overflow: hidden;
}

.map-zoom-btn {
    width: 44px;
    height: 44px;
    background: #fff;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    color: #1C2D37;
    font-size: 20px;
    font-weight: 600;
    padding: 0;
    outline: none;
}

.map-zoom-btn:last-child {
    border-bottom: none;
}

.map-zoom-btn:hover {
    background: #1C2D37;
    color: #fff;
}

.map-zoom-btn:active {
    background: #22394a;
    color: #fff;
}

.map-zoom-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.map-zoom-btn:disabled:hover {
    background: #fff;
    color: #1C2D37;
}

@media (max-width: 1190px) {
    .map-zoom-controls {
        top: 20px;
        right: 20px;
    }

    .map-zoom-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
