/* Hide default map - show via modal */
.bh-sl-map-container #bh-sl-map {
    display: none;
}

/* Store list as 2-column grid */
.bh-sl-loc-list {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.bh-sl-loc-list ul.list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bh-sl-loc-list ul.list li {
    border: 1px solid #ddd;
    padding: 20px;
    background: #fff;
    transition: box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bh-sl-loc-list ul.list li:hover,
.bh-sl-loc-list ul.list li.list-focus {
    border-color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Hide marker label */
.bh-sl-loc-list .list-label {
    display: none;
}

/* Store name */
.bh-sl-loc-list .loc-name {
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    color: #000;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

/* Address with icon */
.bh-sl-loc-list .loc-addr {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    cursor: context-menu;
}

.bh-sl-loc-list .loc-addr .loc-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Email and phone */
.bh-sl-loc-list .loc-email, .bh-sl-loc-list .loc-phone {
    font-size: 16px;
    margin-top: 6px;
    font-weight: 400;
    color: #000;
}

.bh-sl-loc-list .loc-email:hover, .bh-sl-loc-list .loc-phone:hover {
    color: var(--main-sky-blue);
}

.bh-sl-loc-list .loc-email a,
.bh-sl-loc-list .loc-phone a {
    color: #000;
    text-decoration: none;
}



/* Action buttons */
.store-action-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #ccc;
}

.store-action-buttons svg {
    fill: #fff;
}

.btn-see-on-map {
    background-color: var(--main-sky-blue);
    font-size: 12px;
    padding: 10px;
    text-transform: uppercase;
    border: none;
    font-weight: bold;
    line-height: normal;
    border-radius: 30px;
    display: inline-block;
}

.btn-see-on-map:hover {
    background-color: #000;
}







/* Grid main layout inside card */
.grid-main {
    flex: 1;
}

/* Sidebar full width */
.bh-sl-map-container .sidebar {
    width: 100% !important;
    float: none !important;
    height: auto !important;
    overflow: visible !important;
}

/* Search form */
.bh-sl-form-container form {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    align-items: center;
    margin-bottom: 0;
    padding: 4px 12px 5px 12px;
}

.bh-sl-form-container .form-input {
    flex: 0 1 68%;
}

.bh-sl-form-container .form-input input {
    width: 100%;
    padding: 5px 15px;
    border-radius: 0;
    font-size: 14px;
    height: 40px;
    border: solid 1px #E0E0E0;
}

.bh-sl-form-container .search-store, .bh-sl-form-container button[type="submit"] {
    flex: 0 1 16%;
    height: 40px;
    background-color: var(--main-sky-blue);
    color: #fff;
    border: none;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
    align-content: center;
    text-transform: uppercase;
    padding: 12px 15px 13px;
}

.bh-sl-form-container .search-store:hover,
.bh-sl-form-container button[type="submit"]:hover {
    background-color: #000;
}

.bh-sl-form-container .view-all-map {
    flex: 0 1 16%;
    text-transform: uppercase;
    padding: 12px 15px 13px;
    height: 40px;
    background-color: #000;
    color: #fff;
    border: none;
   font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    margin-left: 1rem;
}

.bh-sl-form-container .view-all-map:hover {
    background-color: var(--main-sky-blue);
}

/* Title */
.fitting-location-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 20px 0;
    color: #333;
}

@media (max-width: 991px) {
    .bh-sl-loc-list ul.list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    }

@media (max-width: 767px) {
    .bh-sl-loc-list ul.list {
        grid-template-columns: 1fr;
    }

    .bh-sl-form-container form {
        flex-direction: column;
    }

    .bh-sl-form-container .form-input {
        width: 100%;
    }

    .bh-sl-form-container .search-store,
    .bh-sl-form-container button[type="submit"],
    .bh-sl-form-container .view-all-map {
        width: 100%;
        text-align: center;
    }
}

/* Selected/Active installer card */
.installer.selected,
.installer.active-installer {
    border: 1px solid var(--main-sky-blue);
    box-shadow: 0 2px 12px rgba(204, 0, 0, 0.15);
}

.bh-sl-loc-list ul.list li.list-focus,
.bh-sl-loc-list ul.list li.selected {
    border: 1px solid var(--main-sky-blue);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.2);
    background-color: #fff9f9;
}

/* Nearest store highlight after search */
.installer:first-child.nearest {
    border: 1px solid var(--main-sky-blue);
}

.fitting-location {
	padding-top: 20px;
}

.storelocator {
    padding-top: 0 !important;
}

body.storelocator {
    background: #fff !important;
    background-image: none !important;
}

body.storelocator .breadcrumbs ,
body.storelocator .page-title-wrapper {
   display: none;
}

.fitting-location .bh-sl-container .bh-sl-form-container {
    border: 1px solid #ccc;
}

.fitting-location .store-title  {
    padding-top: 24px;
    padding-bottom: 14px;
}

.fitting-location .store-title h2 {
    font-weight: bold;
    font-size: 26px;
    color: #000;
}



@media  screen and (max-width: 767px) {

.bh-sl-form-container .search-store, .bh-sl-form-container button[type="submit"]{
    padding: 10px 13px 7px;
}

.bh-sl-form-container .view-all-map {
    margin-left: 0;
    padding: 10px 13px 7px;
}

.bh-sl-container .form-input input {
    margin: 0;
}

.bh-sl-form-container .search-store, .bh-sl-form-container button[type="submit"], .bh-sl-form-container .view-all-map {
    margin-top: 8px;
}

.bh-sl-form-container form {
    padding: 9px 12px 13px 12px;
}

.fitting-location .store-title {
    padding-top: 18px;
    padding-bottom: 7px;
}

.fitting-location .store-title h2 {
    font-size: 22px;
}

}

.map-model .btn-close {
    opacity: 1;
}

.map-model .btn-close:hover {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
}