#store-map { height: 400px; width: 100%; }
#store-list { margin-top: 10px; }
#store-list ul { list-style: none; padding: 0; }
#store-list li { padding: 5px; cursor: pointer; }
#store-list li:hover { background-color: #f0f0f0; }

#map-wrapper {
     display: flex;
     flex-wrap: wrap;
     gap: 20px;
     margin-top: 10px;
 }
 #store-map {
     height: 500px;
     flex: 2;
     min-width: 300px;
 }
 #store-list {
     flex: 1;
     max-height: 500px;
     overflow-y: auto;
     background: #f9f9f9;
     padding: 10px;
     border: 1px solid #ddd;
     border-radius: 8px;
     min-width: 250px;
 }
 #store-list ul {
     list-style: none;
     padding: 0;
     margin: 0;
 }
 #store-list li {
     background: #fff;
     padding: 10px;
     margin-bottom: 8px;
     border: 1px solid #ccc;
     border-radius: 6px;
     cursor: pointer;
 }
 #store-list li:hover {
     background-color: #e0f7fa;
 }
 .custom-dialog {
     background: white;
     padding: 10px;
     border-radius: 8px;
     box-shadow: 0 2px 6px rgba(0,0,0,0.3);
     max-width: 250px;
 }
 .custom-dialog h4 {
     margin: 0 0 5px 0;
     font-size: 16px;
 }
 .custom-dialog p {
     margin: 0;
     font-size: 14px;
 }

 .post_code {
     padding: 8px;
     width: 200px;
     border: 1px solid #ccc;
     border-radius: 4px;
     flex: 1 1 0;
 }

 .ftx-locator-maps {
    display: flex;
    height: 250px;
    margin-top: 20px;
}

#div-location-maps {
    width: 100%;
    padding-left: 30px;
    position: relative
    display: block
    height: 250px
    max-height: 250px
}

#map-wrapper, .entry-content > div {
    overflow: visible
}

.ftx-locator-input {
    display: inline-flex;
    margin: 0;
    gap: 10px;
    width: 100%;
}
.ftx-locator-store{
       flex: 1 1 0;
}
button.find-location {
    width: 200px;
}
/*div#div-location-list {
    width: 30%;
}

#div-location-list ul{
       width: 100%;
       height: 500px;
       overflow: auto;
}*/

.ftx-locator-input input, 
.ftx-locator-input select {
    border: 1px solid #e5e5e5;
    height: 48px;
    line-height: 1.2;
    border-radius: 25px;
    font-size: 17px;
    color: #222222;
    padding: 10px 20px;
}
.ftx-locator-input input {
    background: #fff;
    max-width: 300px;
    
}
.ftx-locator-input select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3C!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--%3E%3Cpath d='M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}
@media (min-width: 1921px) {
    .ftx-locator-input input, 
    .ftx-locator-input select {
        font-size: 20px
    }
}
.ftx-locator-input input::placeholder,
.ftx-locator-input select::placeholder {
    font-size: 17px;
    color: #222222;
    opacity: 0.8;
}
.ftx-locator-input input:focus,
.ftx-locator-input select:focus {
    box-shadow: none;
    border: 2px solid #e5e5e5;
}
.ftx-locator {
    padding: 20px;
    border-radius: 14px;
    margin: 10px 0 30px 0;
    background: #F5F8FF;
}
.ftx-locator h3 {
    margin: 0 0 20px;
    text-align: center;
}
.input-errors {
    color:red;
    width: 100%;
    padding:10px 15px;
}
@media (max-width: 1440px) {
    .ftx-locator-input input, .ftx-locator-input select {
        font-size: 16px;
    }
    .ftx-locator-input input::placeholder,
    .ftx-locator-input select::placeholder {
        font-size: 16px;
    }
}

@media (max-width:1366px) {
    .ftx-locator-input input, .ftx-locator-input select {
        width: 300px;
    }
    .ftx-locator-store {
        flex: unset;
    }
    button.find-location {
        width: 100px;
        min-width: unset;
    }
}
@media (max-width:767px) {
    .ftx-locator-input {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    button.find-location {
        width: inherit;
        min-width: inherit;
    }
    .ftx-locator-input input, .ftx-locator-input select {
        width: 100%;
        max-width: 450px;
        flex: auto;
    }
}