.jbm-store-locator,
.jbm-store-locator *,
.jbm-store-locator *::before,
.jbm-store-locator *::after {
    box-sizing: border-box;
}

.jbm-store-locator {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #2f2b27;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    isolation: isolate;
}

.jbm-store-locator__inner {
    width: var(--jbm-store-locator-width, 100%);
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.jbm-store-locator__header {
    margin: 0 0 clamp(22px, 3vw, 36px);
    text-align: left;
}

.jbm-store-locator .jbm-store-locator__title {
    max-width: 920px;
    margin: 0;
    padding: 0;
    color: #352c28;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(32px, 4.8vw, 64px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-transform: none;
}

.jbm-store-locator__search {
    width: 70%;
    max-width: 940px;
    margin: 0 0 clamp(34px, 3.8vw, 48px);
    padding: 0;
}

.jbm-store-locator__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.jbm-store-locator__search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, 230px);
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.jbm-store-locator .jbm-store-locator__input {
    display: block;
    width: 100% !important;
    min-width: 0;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 24px !important;
    color: #2f2b27 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: clamp(17px, 1.45vw, 20px) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    appearance: none;
    -webkit-appearance: none;
}

.jbm-store-locator .jbm-store-locator__input:focus {
    border: 0 !important;
    outline: 2px solid rgba(232, 115, 88, 0.38) !important;
    outline-offset: -2px;
    box-shadow: none !important;
}

.jbm-store-locator .jbm-store-locator__input::placeholder {
    color: rgba(47, 43, 39, 0.86);
    opacity: 1;
}

.jbm-store-locator__radius-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.jbm-store-locator .jbm-store-locator__radius {
    display: block;
    width: 100% !important;
    min-width: 0;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 42px 0 18px !important;
    color: #2f2b27 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-left: 1px solid rgba(47, 43, 39, 0.10) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: clamp(16px, 1.25vw, 18px) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    appearance: auto;
    -webkit-appearance: menulist;
}

.jbm-store-locator .jbm-store-locator__radius:focus {
    border: 0 !important;
    border-left: 1px solid rgba(47, 43, 39, 0.10) !important;
    outline: 2px solid rgba(232, 115, 88, 0.38) !important;
    outline-offset: -2px;
    box-shadow: none !important;
}

.jbm-store-locator[data-show-radius='yes'] .jbm-store-locator__search-row {
    grid-template-columns: minmax(0, 1fr) minmax(110px, 140px) minmax(150px, 210px);
}

.jbm-store-locator .jbm-store-locator__button,
.jbm-store-locator .jbm-store-locator__consent-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    min-width: 0;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 28px !important;
    color: #ffffff !important;
    background: #e87358 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    font-family: inherit !important;
    font-size: clamp(18px, 1.65vw, 24px) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0.16em;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    transition: background-color 180ms ease, color 180ms ease;
    appearance: none;
    -webkit-appearance: none;
}

.jbm-store-locator .jbm-store-locator__button:hover,
.jbm-store-locator .jbm-store-locator__button:focus,
.jbm-store-locator .jbm-store-locator__consent-button:hover,
.jbm-store-locator .jbm-store-locator__consent-button:focus {
    color: #ffffff !important;
    background: #dc6549 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 2px solid rgba(232, 115, 88, 0.36) !important;
    outline-offset: -2px;
    text-decoration: none !important;
}

.jbm-store-locator__message {
    width: 70%;
    max-width: 940px;
    margin: -24px 0 24px;
    padding: 12px 16px;
    color: #4b4038;
    background: rgba(255, 255, 255, 0.82);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 15px;
    line-height: 1.45;
}

.jbm-store-locator__message[hidden] {
    display: none;
}

.jbm-store-locator__message[data-type='error'] {
    color: #8a2f21;
    background: rgba(255, 238, 232, 0.92);
    border: 0;
}

.jbm-store-locator__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(18px, 2.4vw, 30px);
    align-items: start;
    width: 100%;
    min-width: 0;
}

.jbm-store-locator__map-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.jbm-store-locator__map {
    z-index: 1;
    display: block;
    width: 100%;
    min-height: 340px;
    background: #e9e1d8;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.jbm-store-locator__map[hidden] {
    display: none;
}

.jbm-store-locator__consent {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 24px;
    background:
        radial-gradient(circle at 20% 18%, rgba(232, 115, 88, 0.12), transparent 28%),
        radial-gradient(circle at 78% 68%, rgba(44, 152, 151, 0.13), transparent 30%),
        #e9e1d8;
    border-radius: 0;
}

.jbm-store-locator__consent[hidden] {
    display: none;
}

.jbm-store-locator__consent-card {
    width: min(520px, 100%);
    padding: clamp(24px, 4vw, 42px);
    text-align: center;
    background: rgba(255, 255, 255, 0.86);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.jbm-store-locator__consent-card h3 {
    margin: 0 0 10px;
    padding: 0;
    color: #352c28;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.1;
    text-transform: none;
}

.jbm-store-locator__consent-card p {
    margin: 0 0 20px;
    color: rgba(47, 43, 39, 0.78);
    font-size: 16px;
    line-height: 1.55;
}

.jbm-store-locator__results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.jbm-store-locator__results[hidden],
.jbm-store-locator[data-info-mode='popup'] .jbm-store-locator__results {
    display: none;
}

.jbm-store-locator__empty {
    grid-column: 1 / -1;
    padding: 18px 20px;
    color: rgba(47, 43, 39, 0.76);
    background: rgba(255, 255, 255, 0.82);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 15px;
    line-height: 1.5;
}

.jbm-store-locator__card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.84);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.jbm-store-locator .jbm-store-locator__card-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 18px 18px 14px;
    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    text-transform: none;
    appearance: none;
    -webkit-appearance: none;
}

.jbm-store-locator .jbm-store-locator__card-button:hover,
.jbm-store-locator .jbm-store-locator__card-button:focus {
    color: inherit;
    background: rgba(232, 115, 88, 0.07);
    outline: none;
    text-decoration: none;
}

.jbm-store-locator__card-title {
    display: block;
    margin: 0 0 7px;
    color: #352c28;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.jbm-store-locator__card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 10px;
}

.jbm-store-locator__distance,
.jbm-store-locator__featured-pill {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    color: #326b68;
    background: rgba(44, 152, 151, 0.12);
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.jbm-store-locator__featured-pill {
    color: #a74065;
    background: rgba(210, 89, 130, 0.14);
}

.jbm-store-locator__address,
.jbm-store-locator__opening {
    display: block;
    width: 100%;
    color: rgba(47, 43, 39, 0.76);
    font-size: 14px;
    line-height: 1.45;
}

.jbm-store-locator__opening {
    margin-top: 8px;
    color: rgba(47, 43, 39, 0.62);
    white-space: pre-line;
}

.jbm-store-locator__card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 18px 18px;
}

.jbm-store-locator__card-links a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 10px;
    color: #5c453a;
    background: rgba(243, 238, 232, 0.92);
    border: 0;
    border-radius: 0;
    font-size: 13px;
    font-weight: 650;
    line-height: 1;
    text-decoration: none;
    text-transform: none;
}

.jbm-store-locator__card-links a:hover,
.jbm-store-locator__card-links a:focus {
    color: #ffffff;
    background: #e87358;
    border: 0;
    outline: none;
    text-decoration: none;
}

.jbm-store-locator-marker-wrap {
    background: transparent;
    border: 0;
}

.jbm-store-locator-marker {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    background: #2c9897;
    border: 3px solid #ffffff;
    border-radius: 50% 50% 50% 10px;
    box-shadow: 0 9px 18px rgba(44, 152, 151, 0.30);
    transform: rotate(-45deg);
}

.jbm-store-locator-marker::after {
    content: '';
    position: absolute;
    inset: 8px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
}

.jbm-store-locator-marker--featured {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #d25982;
    box-shadow: 0 9px 20px rgba(210, 89, 130, 0.33);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.jbm-store-locator-marker--featured::after {
    display: none;
}

.jbm-store-locator-marker__heart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transform: rotate(45deg);
    transform-origin: center;
}

.jbm-store-locator .leaflet-container {
    z-index: 1;
    width: 100%;
    background: #e9e1d8;
    border: 0;
    border-radius: 0 !important;
    box-shadow: none;
    font-family: inherit;
}

.jbm-store-locator .leaflet-popup-content-wrapper {
    border-radius: 0;
    box-shadow: 0 14px 34px rgba(47, 43, 39, 0.14);
}

.jbm-store-locator .leaflet-popup-content {
    min-width: 220px;
    margin: 16px 18px;
    color: #352c28;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.45;
}

.jbm-store-locator-popup strong {
    display: block;
    margin: 0 0 8px;
    color: #352c28;
    font-size: 16px;
    line-height: 1.25;
}

.jbm-store-locator-popup p {
    margin: 0 0 8px;
}

.jbm-store-locator-popup p:last-child {
    margin-bottom: 0;
}

.jbm-store-locator-popup a {
    color: #b6533f;
    font-weight: 700;
    text-decoration: none;
}

.jbm-store-locator-popup a:hover,
.jbm-store-locator-popup a:focus {
    color: #e87358;
    text-decoration: underline;
}

.jbm-store-locator-popup__featured {
    display: inline-flex;
    margin: 0 0 8px;
    padding: 4px 8px;
    color: #a74065;
    background: rgba(210, 89, 130, 0.14);
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
}

.jbm-store-locator-popup__route {
    display: inline-flex;
    margin-top: 3px;
}

@media (max-width: 1024px) {
    .jbm-store-locator__search,
    .jbm-store-locator__message {
        width: 70%;
    }

    .jbm-store-locator__results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .jbm-store-locator {
        padding: 0;
        border-radius: 0;
    }

    .jbm-store-locator .jbm-store-locator__title {
        font-size: clamp(30px, 9vw, 44px);
    }

    .jbm-store-locator__search,
    .jbm-store-locator__message {
        width: 100%;
        max-width: none;
    }

    .jbm-store-locator__search {
        margin-bottom: 26px;
    }

    .jbm-store-locator__message {
        margin: -12px 0 18px;
    }

    .jbm-store-locator__search-row,
    .jbm-store-locator[data-show-radius='yes'] .jbm-store-locator__search-row {
        grid-template-columns: 1fr;
        border-radius: 0;
    }

    .jbm-store-locator .jbm-store-locator__radius {
        border-left: 0 !important;
        border-top: 1px solid rgba(47, 43, 39, 0.10) !important;
    }

    .jbm-store-locator .jbm-store-locator__input,
    .jbm-store-locator .jbm-store-locator__radius,
    .jbm-store-locator .jbm-store-locator__button {
        width: 100% !important;
        min-height: 58px !important;
        height: 58px !important;
        border-radius: 0 !important;
    }

    .jbm-store-locator__map-wrap,
    .jbm-store-locator__map,
    .jbm-store-locator .leaflet-container {
        border-radius: 0 !important;
    }

    .jbm-store-locator__results {
        grid-template-columns: 1fr;
    }
}
