.gm-style .gm-style-iw-c {
	border-radius: 0px;
	box-shadow: none;
	max-width: 596px !important;
    width: 100%;
	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;
}

/**/

/* ── LAYOUT 1: Sticky map + full-height scrollable list ─────── */

/* Allow sticky to work inside WordPress overflow:hidden wrappers */
article.overflow-hidden:has(.store-locator) {
    overflow: clip;
}

/* List column: flex column so #store-list can fill remaining space */
.store-list-column {
    display: flex;
    flex-direction: column;
}
.store-list-column.hide-list {
    height: 60px;
}

@media (min-width: 1001px) {
    /* List column fills full viewport height and scrolls internally */
    .store-list-column {
        overflow-y: auto;
    }

    /* Map column: sticky, fills full viewport height */
    .store-map-column:not(.layout2-map-wrap) {
        position: sticky;
        top: 160px;
        height: calc(100vh - 184px);
    }

    /* Map fills its sticky column */
    .store-map-column:not(.layout2-map-wrap) #store-map {
        height: 100% !important;
    }
}

@media (max-width: 1000px) {
    .store-list-column {
        height: auto;
    }

    .store-map-column:not(.layout2-map-wrap) {
        display: none;
    }

    .category-badge {
        font-size: 0px !important;
        color: transparent !important;
        gap: 0 !important;
        width: 24px !important;
        height: 24px !important;
        border-radius: 0 !important;
        justify-content: center !important;
        border: none !important;
        padding: 0 !important;
    }
}

.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;
    height: auto !important;
    overflow-y: auto;
    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;
    padding: 16px 24px;
    border-bottom: none;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    position: relative;
}

/* Odd items — light blue background */
#store-list .store-item:nth-child(odd) {
    background: var(--Brand-Very-Light-Blue, #F4FAFF);
}

/* Even items — white */
#store-list .store-item:nth-child(even) {
    background: #fff;
}

/* Numbered circle */
.store-item-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 100px;
    background: var(--Brand-Navy, #005EAD);
    color: var(--UI-Surface_White100, #FFF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Agenda, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin-top: auto;
    margin-bottom: auto;
}

/* Location thumbnail */
.store-item-thumbnail {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    align-self: center;
}

.store-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content area */
.store-item-content {
    flex: 1;
    min-width: 0;
}

.store-item-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

/* Title */
#store-list .store-item h3.store-name {
    cursor: pointer;
    color: var(--Text-Black-Primary, #171C27);
    font-family: Agenda, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin: 0;
}

/* Category badges */
.store-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--UI-Surface_White100, #FFF);
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 2px 8px 2px 6px;
    color: var(--Text-Black-Primary, #171C27);
    font-family: Agenda, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

#store-list .store-item:nth-child(even) .category-badge {
    background: #F4FAFF;
}

.category-badge svg {
    flex-shrink: 0;
    opacity: 0.75;
}

/* Address */
.store-address {
    color: var(--Text-Black-Primary, #171C27);
    font-family: Agenda, sans-serif;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0 !important;
}

/* More info link */
.store-more-info {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-family: Agenda, sans-serif;
    font-size: 16px;
    color: var(--Brand-Navy, #005EAD);
    text-decoration: none;
    display: none;
}

.store-more-info:hover {
    text-decoration: underline;
}

/* Right: Find on Map */
.store-item-right {
    flex-shrink: 0;
    align-self: center;
    right: 0;
}

.find-on-map-btn {
    display: block;
    color: var(--Brand-Navy, #005EAD);
    font-family: Agenda, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.find-on-map-btn:hover {
    text-decoration: underline;
}


@media (max-width:1000px){
    .store-more-info{
        position: absolute;
        right: 16px;
        top: 0;
        bottom: 0;
        margin: auto;
        display: flex;
    }

    #store-list .store-item{
        position: relative;
    }

    .store-item-right{
        display: none;
    }

    .store-item-content {
        flex: initial;
        min-width: 0;
        width: calc(100% - 80px);
    }

}


@media (max-width: 640px) {
    #store-list .store-item {
        flex-wrap: wrap;
        padding: 16px;
    }
    .store-item-right {
        width: 100%;
        padding-left: 48px;
    }
}

.location-page-layout {
    /*
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    */
}

.gap-64{
    gap: 64px;
}


/* ─────────────────────────────────────────────
   LAYOUT 2 — Map top + 4-column card grid
───────────────────────────────────────────── */

.layout2-wrapper {
    width: 100%;
}

.layout2-map-wrap {
    width: 100%;
    margin-bottom: 40px;
}

.layout2-map-wrap #store-map {
    height: 500px !important;
}

/* Grid container — overrides the scrollable list */
#store-list.layout2-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: auto !important;
    overflow: visible !important;
    background: none;
    padding: 0;
    padding-top: 60px;
    padding-bottom: 64px;
}

/* Card */
.loc-card {
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-left: solid 1px rgba(0, 0, 0, 0.10);
    padding-left: 24px;
    padding-right: 24px;
    margin-bottom: 52px;
}

.layout2-grid .loc-card:nth-child(4n + 1) {
    border-left: none;
    padding-left: 0;
}



@media (max-width: 1200px) {
    #store-list.layout2-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Reset 4-col rule, apply 3-col rule */
    .layout2-grid .loc-card:nth-child(4n + 1) {
        border-left: solid 1px rgba(0, 0, 0, 0.10);
        padding-left: 24px;
    }
    .layout2-grid .loc-card:nth-child(3n + 1) {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 1024px) {
    #store-list.layout2-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reset 3-col rule, apply 2-col rule */
    .layout2-grid .loc-card:nth-child(3n + 1) {
        border-left: solid 1px rgba(0, 0, 0, 0.10);
        padding-left: 24px;
    }
    .layout2-grid .loc-card:nth-child(2n + 1) {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 600px) {
    #store-list.layout2-grid {
        grid-template-columns: 1fr;
    }

    .layout2-grid .loc-card {
        border: none !important;
        padding-left: 0 !important;
        padding-right: 0;
    }

    .layout2-map-section{
        display: none;
    }

    .loc-card-btn-outline{
        display: none !important;
    }

    .loc-card-name{
        font-size: 20px;
    }

    .loc-card-img{
        height: 250px !important;
    }

    #store-list.layout2-grid {
        padding-bottom: 8px;
    }
}



/* Card image */
.loc-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #e8f0f8;
    flex-shrink: 0;
}

.loc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.loc-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: #dce8f5;
}

/* Card body */
.loc-card-body {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.loc-card-name {
    color: var(--Brand-Navy, #005EAD);
    font-family: "Adobe Hebrew", serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: -0.48px;
    text-transform: capitalize;
    margin-bottom: 24px;
    cursor: default;
}

.loc-card-detail {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--Text-Black-Secondary, #767B88);
    font-family: Agenda;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}

.loc-card-detail svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.loc-card-detail span {
    flex: 1;
}

.layout2-map-section{
    padding-bottom: 0px;
}

/* Two-button row */
.loc-card-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

/* Base button reset */
.loc-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    box-sizing: border-box;
    padding: 9px 10px;
    font-family: Agenda, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

/* Solid — Learn More */
.loc-card-btn-solid {
    background: var(--Brand-Navy, #005EAD);
    color: #fff !important;
    border: 1px solid var(--Brand-Navy, #005EAD);
}

.loc-card-btn-solid:hover {
    background: #004a8a;
    border-color: #004a8a;
}

/* Outline — Find on Map */
.loc-card-btn-outline {
    background: #fff;
    color: var(--Brand-Navy, #005EAD) !important;
    border: 2px solid var(--Brand-Navy, #005EAD);
}

.loc-card-btn-outline:hover {
    background: #f0f6ff;
}

/* ─────────────────────────────────────────────
   Rich map popup — both Layout 1 & Layout 2
───────────────────────────────────────────── */

.store-map-popup-v2 {
    display: flex;
    flex-direction: row;
    gap: 0;
    font-family: Agenda, sans-serif;
    padding: 4px;
}

/* Popup image — 232×206 */
.map-popup-img {
    width: 232px;
    height: auto;
    flex-shrink: 0;
    overflow: hidden;
    background: #dce8f5;
}

.map-popup-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
}

/* Placeholder shown when no featured image */
.map-popup-img.map-popup-img-placeholder {
    background: #dce8f5;
}

/* Popup body */
.map-popup-body {
    padding: 12px 20px;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Title */
.map-popup-name {
    color: #005EAD;
    font-family: "Adobe Hebrew", serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -1.2px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

/* Divider */
.map-popup-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 15px 0 5px;
}

/* Detail rows (location / phone) */
.map-popup-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 5px;
}

.map-popup-row svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.map-popup-row > div {
    display: flex;
    flex-direction: row;
    gap: 1px;
}

.map-popup-row > div:first-child{
}

/* Label (e.g. "Phone", "Location") */
.map-popup-label {
    color: #767B88;
    font-family: Agenda, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    min-width: 80px;
    flex-shrink:0;
 
}

/* Value (actual phone number / address) */
.map-popup-val {
    color: #171C27;
    font-family: Agenda, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

/* Button row */
.map-popup-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

/* Call Now — outline */
.map-popup-btn-outline,
.map-popup-btn-outline:focus,
.map-popup-btn-outline:focus-visible {
    flex: 1 !important;
    outline: none !important;
    padding: 10px 20px !important;
    height: 44px !important;
    border: 1px solid #005EAD !important;
    border-radius: 0px !important;
    color: #005EAD !important;
    font-family: Agenda, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    background: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
    white-space: nowrap !important;
}

.map-popup-btn-outline:hover {
    background: #f0f6ff;
}

/* Learn More — solid */
.map-popup-btn-solid {
    flex: 1;
    padding: 10px 20px !important;
    height: 44px !important;
    background: #005EAD;
    border: 1px solid #005EAD;
    border-radius: 0px;
    color: #fff !important;
    font-family: Agenda, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    white-space: nowrap;
}

.map-popup-btn-solid:hover {
    background: #004a8a;
    border-color: #004a8a;
}

/* 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;
}

.gm-style-iw-chr{
    display: none !important;
}