/* Store Locator Styles */

.store-search-container {
    margin-bottom: 20px;
}

.store-search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.locationbtn{
	width: 100%;
    text-align: center;
    background: #023F64;
    color: #FFF !important;
    padding: 8px;
    border-radius: 2px;
}

.locationbtn:hover{
    background: #0264A1;
}

#store-address-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 2px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#store-address-input:focus {
    outline: none;
    border-color: #001928 !important;
}

.store-search-button {
    padding: 12px 30px;
    background-color: #023F64;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.store-search-button:hover {
    background-color: #0271B6;
}

.store-reset-button {
    padding: 12px 30px;
    background-color: #666;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.store-reset-button:hover {
    background: #5E5E5E;
}

.address-suggestions {
    position: relative;
    background: white;
    border: 1px solid #ddd;
    border-radius: 2px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

.search-status {
    padding: 10px;
    margin-top: 10px;
    border-radius: 2px;
    display: none;
}

.search-status p {
    margin: 0;
    color: #666;
}

/* Store locator items (Elementor loop items) */
/* Add the class "map-store-item" to your Loop Item container in Elementor */
.map-store-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-store-item:hover {

}

.store-distance {
    margin-top: 0;
	margin-bottom:10px;
    padding: 5px 10px;
/*    background-color: #CC0000; */
    color: #CC0000;
    border-radius: 2px;
    font-size: 14px;
    display: inline;
/*    display: inline-block; */
    font-family: "Lexend Deca", Sans-serif !important;
}

/* Map popup styles */
.store-popup {
    min-width: 200px;
}

.store-popup h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #001928;
	font-family: "Lexend Deca", Sans-serif !important;
}

.store-popup p {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
	font-family: "Lexend Deca", Sans-serif !important;
    border-radius: 2px;
}

.store-popup svg {
    flex-shrink: 0;
    color: #CC0000;
}

.store-popup a {
    color: #666;
    text-decoration: none;
	font-family: "Lexend Deca", Sans-serif !important;
}

.store-popup a:hover {
    color: #0271B6;
    text-decoration: underline;
}

.popup-distance {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    color: #4CAF50;
    font-weight: 600;
}

/* Map container */
#store-map {
    border-radius: 0px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .store-search-bar {
        flex-direction: column;
    }
    
    .store-search-button {
        width: 100%;
    }
}