/* Main Container */
.wds-designers-container {
    max-width: 100%px;
    margin: 0 auto;
    padding: 0px;
}

/* Map Section */
.wds-designers-map-section {
    margin-bottom: 0px;
    background-color: none;
    padding: 0px;
    border-radius: 0px;
    width: 100%;
}

.wds-designers-map-title {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

.wds-designers-map {
    height: 600px;
    width: 100%;
    border-radius: 0;
    z-index: 0;
}

/* Grid Section */
.wds-designers-grid-section {
    margin-top: 40px;
}

.wds-designers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.wds-designer-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wds-designer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.wds-designer-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.wds-designer-image-container {
    height: 350px;
    overflow: hidden;
    background: #f8f8f8;
    position: relative;
    border-radius: 0px;
}

.wds-designer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wds-designer-card:hover .wds-designer-image {
    transform: scale(1.05);
}

.wds-designer-placeholder {
    width: 100%;
    height: 100%;
    background: #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: #ccc;
    font-weight: bold;
}

.wds-designer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px 15px;
}

.wds-designer-name {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 600;
}

.wds-designer-location {
    font-size: 14px;
    color: #ddd;
    margin: 0;
}

/* Load More Button */
.wds-designers-load-more {
    text-align: center;
    margin: 40px 0 20px;
}

.wds-designers-load-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.wds-designers-load-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Map Markers */
.wds-map-marker {
    position: relative;
    text-align: center;
}

.wds-map-marker svg {
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.2s ease;
}

.wds-map-marker:hover svg {
    transform: scale(1.2) translateY(-5px);
}

/* Popup Styles */
.leaflet-popup-content img.wds-marker-avatar {
    width: 50px;
    height: 50px;
    border-radius: 33%;
    object-fit: cover;
    margin-right: 10px;
    float: left;
    margin-bottom: 10px;
}

.leaflet-popup-content .wds-marker-info {
    margin-left: 60px;
}

.leaflet-popup-content .wds-marker-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.leaflet-popup-content .wds-marker-location {
    font-size: 12px;
    color: #666;
}

.leaflet-popup-content a {
    color: #ffffff;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .wds-designers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .wds-designers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wds-designers-map {
        height: 400px;
    }
}

@media (max-width: 600px) {
    .wds-designers-grid {
        grid-template-columns: 1fr;
    }
    
    .wds-designers-map {
        height: 350px;
    }
    
    .wds-designers-map-title {
        font-size: 22px;
    }
    
    .wds-designer-image-container {
        height: 300px;
    }
}

.designer-marker-icon {
        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        object-fit: cover;
    }
    
    .designer-popup {
        border-radius: 8px;
        padding: 0;
    }
    
    .designer-popup .leaflet-popup-content-wrapper {
        border-radius: 8px;
        padding: 0;
    }
    
    .designer-popup .leaflet-popup-content {
        margin: 0;
        width: 200px !important;
    }
    
    .designer-popup-content {
        padding: 16px;
    }
    
    .designer-popup-header {
        display: flex;
        align-items: center;
        margin-bottom: 12px;
    }
    
    .designer-popup-avatar {
        margin-right: 12px;
    }
    
    .designer-popup-avatar img {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #f5f5f5;
    }
    
    .designer-popup-title h3 {
        margin: 0 0 4px 0;
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }
    
    .designer-popup-location {
        display: flex;
        align-items: center;
        font-size: 13px;
        color: #666;
    }
    
    .designer-popup-location svg {
        margin-right: 4px;
        color: #888;
    }
    
    .designer-popup-link {
        display: block;
        text-align: center;
        padding: 8px 12px;
        background: #275c52;
        color: white;
        text-decoration: none;
        border-radius: 4px;
        font-size: 13px;
        font-weight: 500;
        transition: all 0.2s ease;
    }
    
    .designer-popup-link:hover {
        background: #1e5147;
        color: white;
    }
    
    .wds-designers-map {
        height: 600px;
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .wds-designers-map-title {
        text-align: center;
        margin-bottom: 20px;
        color: #333;
        font-weight: 600;
    }