.dealer-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dealer-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #4285F4;
    transform: translateY(-2px);
}

.dealer-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #f47c26;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.dealer-details {
    flex: 1;
}

.dealer-details h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
}

.dealer-details p {
    margin: 8px 0;
    color: #666;
    line-height: 1.6;
}

.dealer-address {
    color: #555;
    font-size: 15px;
}

.dealer-details a {
    color: #4285F4;
    text-decoration: none;
    transition: color 0.3s;
}

.dealer-details a:hover {
    color: #3367D6;
    text-decoration: underline;
}

.dealer-website {
    display: inline-block;
    padding: 5px 15px;
    background: #f47c26;
    color: white !important;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 600;
    transition: background 0.3s;
}

.dealer-website:hover {
    background: #3367D6;
}

.dealer-distance {
    font-weight: 600;
    color: #4285F4;
    margin-top: 10px !important;
}/* Dealer Locator Styles */

#dealer-locator-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Search Form */
.dealer-search-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dealer-search-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

#dealer-search-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4285F4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.1);
}

.btn-search {
    padding: 10px 30px;
    background: #f47c26;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    height: 44px;
}

.btn-search:hover {
    background: #3367D6;
}

.btn-search:active {
    transform: translateY(1px);
}

.btn-show-all {
    padding: 10px 30px;
    background: #f47c26;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    height: 44px;
}

.btn-show-all:hover {
    background: #2D8E47;
}

.btn-show-all:active {
    transform: translateY(1px);
}

/* Map Container */
#dealer-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Loading State */
#dealer-loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}

#dealer-loading p {
    margin: 0;
}

#dealer-loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Dealer List */
#dealer-list h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.dealer-list-items {
    display: grid;
    gap: 20px;
}

.dealer-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dealer-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #f47c26;
    transform: translateY(-2px);
}

/* Dealer Header - Logo and Name */
.dealer-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.dealer-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.dealer-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dealer-logo-placeholder {
    background: #f0f0f0;
    color: #999;
    font-size: 11px;
    text-align: center;
}

.dealer-name {
    flex: 1;
    width: 250px;
}

.dealer-name h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 22px;
    font-weight: 600;
}

.dealer-distance-badge {
    display: inline-block;
    background: #f47c26;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

/* Three Column Grid */
.dealer-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dealer-info-col {
    padding: 15px;
    border-radius: 6px;
}

.dealer-info-label {
    font-weight: 700;
    color: #555;
    margin-bottom: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dealer-address {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.dealer-info-col a {
    color: #4285F4;
    text-decoration: none;
    transition: color 0.3s;
}

.dealer-info-col a:hover {
    color: #3367D6;
    text-decoration: underline;
}

.dealer-website {
    display: inline-block;
    padding: 8px 16px;
    background:#f47c26;
    color: white !important;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 600;
    transition: background 0.3s;
}

.dealer-website:hover {
    background: #3367D6;
    text-decoration: none !important;
}
}

.dealer-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dealer-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #f47c26;
    transform: translateY(-2px);
}

.dealer-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #4285F4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.dealer-details {
    flex: 1;
}

.dealer-details h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
}

.dealer-details p {
    margin: 8px 0;
    color: #666;
    line-height: 1.6;
}

.dealer-address {
    color: #555;
    font-size: 15px;
}

.dealer-details a {
    color: #4285F4;
    text-decoration: none;
    transition: color 0.3s;
}

.dealer-details a:hover {
    color: #3367D6;
    text-decoration: underline;
}

.dealer-website {
    display: inline-block;
    padding: 5px 15px;
    background: #f47c26;
    color: white !important;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 600;
    transition: background 0.3s;
}

.dealer-website:hover {
    background: #3367D6;
}

.dealer-distance {
    font-weight: 600;
    color: #4285F4;
    margin-top: 10px !important;
}

/* Info Window Styles */
.dealer-info-window {
    max-width: 300px;
}

.dealer-info-window h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.dealer-info-window p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
}

.dealer-info-window a {
    color: #4285F4;
    text-decoration: none;
}

.dealer-info-window a:hover {
    text-decoration: underline;
}

#dealer-zip {
    padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #dealer-search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-group {
        min-width: 100%;
    }
    
    .btn-search,
    .btn-show-all {
        width: 100%;
    }
    
    #dealer-map {
        height: 400px !important;
    }
    
    .dealer-item {
        flex-direction: column;
        text-align: center;
    }
    
    .dealer-number {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .dealer-search-form {
        padding: 20px;
    }
    
    .dealer-search-form h3 {
        font-size: 20px;
    }
    
    #dealer-map {
        height: 300px !important;
    }
}