.gm-style .gm-style-iw-c {
    border: 1px solid #CBCBCB;
    border-radius: 8px;
    box-shadow: none;
    max-width: 330px !important;
    padding: 0;
}

.gm-style .gm-style-iw-c .gm-style-iw-chr {
    display: flex;
    justify-content: flex-end;
}

.gm-style .gm-style-iw-c .gm-style-iw-chr .gm-style-iw-ch {
    display: none;
}

.gm-style .gm-style-iw-c .gm-style-iw-chr button {
    align-items: center;
    display: flex !important;
    height: 36px !important;
    justify-content: center;
    opacity: 1 !important;
    width: 36px !important;
}

.gm-style .gm-style-iw-c .gm-style-iw-chr button span {
    margin: 0 !important;
}

.gm-style .gm-style-iw-c .gm-style-iw-d {
    overflow: visible !important;
    padding: 0;
}

.gm-style .gm-style-iw-c .gm-style-iw-d > div {
}

.gm-style .gm-style-iw-c .gm-style-iw-d .store-map-info-box {
    margin: 0;
    padding: 0 15px 15px;
}

.gm-style .gm-style-iw-c .gm-style-iw-d .store-map-info-box h4 {
    color: #000000;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.gm-style .gm-style-iw-c .gm-style-iw-d .store-map-info-box div.py-2 {
    color: #000000;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0;
}

.gm-style .gm-style-iw-c .gm-style-iw-d .store-map-info-box div.py-2 {
    margin-bottom: 10px;
}

.gm-style .gm-style-iw-c .gm-style-iw-d .store-map-info-box div.py-3 {
    margin-top: 20px;
    padding: 0;
}

.gm-style .gm-style-iw-c .gm-style-iw-d .store-map-info-box div a {
    color: #000000;
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: underline;
    padding: 0;
    background: none;
    background-color: transparent;
}

.gm-style .gm-style-iw-c .gm-style-iw-d .store-map-info-box div a:hover {
    background: none;
    background-color: transparent;
}

.gm-style .gm-style-iw-tc {
    display: none;
}

/**/

#store-map {
    height: 100%;
    width: 100%;
}

.full-map #store-map {
    width: 100% !important;
}

.google-map-container {
    height: 600px;
    width: 100%;
}

@media (max-width: 781px) {
    .google-map-container {
        height: 400px;
    }
}

@media (max-width: 580px) {
    .google-map-container {
        height: 300px;
    }
}

.store-map-info-box {
    position: relative;
    padding: 16px;
    max-width: 400px;
    background: #fff;
    border-radius: 20px;
    font-size: 16px;
    line-height: 1.5;
    margin-top: -15px;
}
a.get-direction{
    text-decoration: none;
}
a.more-info-link{
    margin-left: 10px;
    text-decoration: none;
}
.business-details-container .location-listing-link{
    cursor: pointer;
}
/* Styles for the container section */
.business-details-container {
    margin: 0 auto;
    max-width: 1024px;
}

/* Styles for the header section */
.business-details-container .header {
    text-align: center;
    margin-bottom: 20px;
}

.business-details-container .header h1 {
    color: #000;
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    line-height: 1.25;
    margin-bottom: 16px;
    text-align: left;
}

.business-details-container .header p {
    font-size: 16px;
    margin: 10px 0 0;
}

.business-details-container .hours {
    border-top: 1px solid #EDEDED;
    margin-top: 32px;
    padding-top: 32px;
}


.business-details-container h2 {
    color: #000;
    font-size: 20px;
    line-height: 1.25;
    margin-bottom: 24px;
    font-weight: bold;
}

.business-details-container p {
    margin-bottom: 16px;
}

.business-details-container p:last-child {
    margin-bottom: 0;
}

.business-details-container a {
    color: #333;
    display: block;
    text-decoration: none;
}

.business-details-container a:hover {
    text-decoration: underline;
}

.business-details-container a img.icon {
    display: inline-block;
    filter: contrast(1000);
    height: 20px;
    margin-right: 8px;
    width: 20px;
}

.business-details-container a span {
}

.business-details-container .timing-row {
    display: flex;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    gap: 30px;
    justify-content: space-between;
    line-height: 150%;
    max-width: 300px;
    padding-bottom: 12px;
}

.business-details-container .timing-row:last-child {
    padding-bottom: 0;
}

/**/

.store-map-column {
    order: 0;
}

@media (max-width: 1024px) {
    .store-map-column {
        order: -1;
    }
}

.store-locator {
}

.store-list-column {
    display: flex;
    flex-direction: column;
    height: 600px;
}
.store-list-column.hide-list {
    height: 60px;
}

@media (max-width: 768px) {
    .store-list-column {
        height: 400px;
    }
}

.store-map-column {
    height: 600px;
}

@media (max-width: 768px) {
    .store-map-column {
        height: 400px;
    }
}

.store-locator input[type="text"] {
    font-size: 16px;
    line-height: 1;
    padding: 12px 20px;
}

.store-locator input[type="text"]:focus {
    border-color: #000;
}

.store-locator input[type="text"]::placeholder,
.store-locator input[type="text"]::-webkit-input-placeholder,
.store-locator input[type="text"]::-moz-placeholder,
.store-locator input[type="text"]:-ms-input-placeholder,
.store-locator input[type="text"]::-ms-input-placeholder {
    color: #000000;
    opacity: 0.7;
}

#store-list {
    background: none;
    border-radius: 0;
    flex: 1;
    padding: 0;
}

#store-list::-webkit-scrollbar {
    border-radius: 3px;
    width: 6px; /* Width of the scrollbar */
}

/* Track (the background of the scrollbar) */
#store-list::-webkit-scrollbar-track {
    background: #ccc; /* Color of the scrollbar track */
    border-radius: 3px;
}

/* Handle (the scrollbar thumb) */
#store-list::-webkit-scrollbar-thumb {
    background-color: #333; /* Color of the scrollbar thumb */
    border-radius: 3px;    /* Rounded edges of the thumb */
}

/* On hover */
#store-list::-webkit-scrollbar-thumb:hover {
    background-color: #333; /* Darker color when hovering */
}

#store-list .store-item {
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    margin-bottom: 24px;
    padding: 0;
    padding-bottom: 10px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("/wp-content/uploads/2020/06/white.jpg");
}

#store-list .store-item:hover{
    background-image: url("/wp-content/uploads/2024/07/wood-texture-light-sq.jpg");
}

#store-list .store-item:before{
    content: "";
    position: absolute;
    background: #1a1a1a;
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    width: 0;
    height: 1px;
    bottom: -10px;
    left: 10px;
}

#store-list .store-item:after{
    content: "";
    position: absolute;
    background: #1a1a1a;
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    width: 1px;
    height: 0;
    top: 10px;
    right: -11px;
}

#store-list .store-item:hover:before{
    width: calc(100% + 5px);
}

#store-list .store-item:hover:after{
    height: calc(100% + 5px);
}

#store-list .store-item:last-child {
    margin-bottom: 0;
}

#store-list .store-item h3 {
    color: #555;
    text-align: center;
    font-family: "Open Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px; /* 140% */
    margin-bottom: 16px;
    text-decoration: none;
}

#store-list .store-item p {
    color: #1A1A1A;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 0px;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
}

#store-list .store-item p a{
    color: inherit;
    text-decoration: none;
    opacity: 1;
    transition: all 0.3s ease;
}

#store-list .store-item p a:hover{
    color: #1A1A1A;
    opacity: 0.8;
}

#store-list .store-item p.shop-link a {
    color: #555;
    text-align: center;
    font-family: Poppins;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 184.615% */
    position: relative;
    z-index: 0;
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    text-transform: uppercase;
}

#store-list .store-item p.shop-link a:hover{
    color: #fff;
}  

#store-list .store-item p.shop-link a:before{
    position: absolute;
    content: "";
    background: #dddddd;
    bottom: -3px;
    left: -7px;
    width: 20px;
    height: 12px;
    z-index: -1;
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
}

#store-list .store-item p.shop-link a:hover:before{
    width: calc(100% + 14px);
    transition: width 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -webkit-transition: width 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -moz-transition: width 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -o-transition: width 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    -ms-transition: width 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    background: #505050;
}

#store-list .store-item p:last-child {
    margin-top: 16px;
}

#store-list .store-item .info-item {
    background-position: 0 2px;
    background-repeat: no-repeat;
    position: relative;
}

#store-list .store-item .info-item svg {
    left: 0;
    position: absolute;
    top: 1px;
}

.location-page-layout {
    /*
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    */
}

/* LOCATION: STICKY SIDEBAR */

.location-sticky-sidebar-container {
    position: relative;
    width: 100%;
}

.location-sticky-sidebar {
    background-color: #f9fafb;
    width: 100%;
}

.location-sticky-sidebar.bar-fixed {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    position: fixed;
    top: 90px;
}

.location-sticky-sidebar ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.location-sticky-sidebar ul li a {
    align-items: center;
    color: #333;
    display: flex;
    font-weight: normal;
    padding: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-sticky-sidebar ul li.active a, .location-sticky-sidebar ul li:hover a {
    background-color: var(--wp--preset--color--primary) !important;
    color: #fff;
}

.location-sticky-sidebar ul li a img {
    height: auto;
    width: 20px;
}

.location-sticky-sidebar ul li.active a img, .location-sticky-sidebar ul li:hover a img {
    filter: contrast(1000) invert(1);
}

.location-sticky-sidebar ul li a span {
    line-height: 1;
}

/**/

.anchor-content-section {
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .location-sticky-sidebar-container {
        display: none;
    }

    .location-sticky-sidebar {
        width: 100%;
    }
    
    .location-sticky-sidebar.bar-fixed {
        position: static;
        max-height: none;
    }
}
/* Style for the location-reviews block */
.location-reviews-block {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Style for the block labels like 'Aggregate Rating', 'Review Count', etc. */
.location-reviews-block strong {
    font-weight: bold;
    color: #333;
    margin-right: 5px;
}

/* Style for the rating values */
.location-reviews-block .rating-value {
    color: #4CAF50; /* Green for ratings */
    font-weight: bold;
    font-size: 20px;
}

/* Style for the review count */
.location-reviews-block .review-count {
    color: #FF9800; /* Orange for emphasis */
    font-weight: bold;
}

/* Style for the worst rating */
.location-reviews-block .worst-rating {
    color: #d32f2f; /* Red for worst rating */
    font-size: 14px;
}

/* Add some spacing between rows */
.location-reviews-block p {
    margin: 10px 0;
}

/* style for the services items */
.location-services .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.location-services .service-item {
    position: relative;
    height: 100px;
    overflow: hidden;
}
.location-services .service-item a {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background-color: #cecece;
}
.location-services .service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.location-services .service-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
}
/*Location Hours Block Style*/
.location-hours .location-hours-block {
}

.location-hours .location-hours-list {
    list-style: none;
    padding: 0;
}

.location-hours .location-hours-list li {
    display: flex;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    gap: 30px;
    justify-content: space-between;
    line-height: 150%;
    max-width: 300px;
    padding-bottom: 12px;
}

.location-hours .location-hours-list li:last-child {
    padding-bottom: 0;
}

.location-hours .day-name {
    font-weight: 700;
}

.location-hours .hours {
    color: #333;
}

/**/

.location-columns {
    gap: 3rem;
    grid-template-columns: 350px auto;
}

.location-sidebar {
    position: relative;
}

.location-sidebar-box {
    width: 100%;
}

.location-sidebar-box--sticky {
    position: absolute;
}

/* ============================================
   Store Locator Icons - Easy to Update
   ============================================ */

/* Location/Map Pin Icon */
.icon-location::before {
    content: 'Location :';
    display: inline-block;
    color: #555;
    text-align: center;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 185.714% */
}

/* Phone Icon */
.icon-phone::before {
    content: 'Phone :';
    display: inline-block;
    color: #555;
    text-align: center;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 185.714% */
}

/* Email Icon */
.icon-email::before {
    content: 'Email :';
    display: inline-block;
    color: #555;
    text-align: center;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 185.714% */
}

/* Link/More Info Icon */
.icon-link::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path d="M4.715 6.542 3.343 7.914a3 3 0 1 0 4.243 4.243l1.828-1.829A3 3 0 0 0 8.586 5.5L8 6.086a1 1 0 0 0-.154.199 2 2 0 0 1 .861 3.337L6.88 11.45a2 2 0 1 1-2.83-2.83l.793-.792a4 4 0 0 1-.128-1.287z"/><path d="M6.586 4.672A3 3 0 0 0 7.414 9.5l.775-.776a2 2 0 0 1-.896-3.346L9.12 3.55a2 2 0 1 1 2.83 2.83l-.793.792c.112.42.155.855.128 1.287l1.372-1.372a3 3 0 1 0-4.243-4.243z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* Shop/Cart Icon */
.icon-shop::before {
    content: '';
}

/* Map Pin Icon (Large - for headers) */
/* Simple test - solid white pin */
.icon-map-pin-large {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: white;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>') no-repeat center;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>') no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.icon-map-pin-large-blue {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%233b82f6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Info item styling with icons */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 4px 0;
    line-height: 1.5;
}

.info-item.phone,
.info-item.email,
.info-item.address,
.info-item.shop-link,
.info-item.more-info-link {
    padding-left: 0;
    background: none;
}

/* Store item improvements */
.store-item {
    margin-bottom: 16px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.store-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.store-item h3 {
    margin: 0 0 12px 0;
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.store-item h3:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.store-item a {
    color: #3b82f6;
    text-decoration: none;
}

.store-item a:hover {
    text-decoration: underline;
}

/* Results header styling */
.results-header {
    margin-bottom: 20px;
}

/* Initial message styling */
.initial-message {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#store-list:has(.store-item){
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

#store-list > div.results-header{
    grid-column: span 3;
}

#store-list .store-item h3:before{
    content:url('/wp-content/uploads/2024/07/Location-Icon-4-new.png');
    margin:16px auto 0;
    display: block;
    text-align: center;
}


@media (min-width:768px) and (max-width:1023px){
    #store-list:has(.store-item){
        grid-template-columns: repeat(2, 1fr);
    }

    #store-list > div.results-header {
        grid-column: span 2;
    }
}

@media (max-width:767px){
    #store-list:has(.store-item){
        grid-template-columns: repeat(1, 1fr);
    }

    #store-list > div.results-header {
        grid-column: span 1;
    }

    .fix-contact-btn{
        margin-left: 58px;
    }
}