* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

.google-map-icon {
    position: fixed;
    bottom: 20px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 2147483600;
}

.google-map-icon img {
    width: 60px;
    height: 60px;
    vertical-align: unset !important;
}

.ea-snts-store-locator-tooltip {
    position: absolute;
    top: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    white-space: nowrap;
    color: #1e2433;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.2;
    box-shadow: 0 6px 32px rgba(0, 18, 46, 0.24);
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition: margin 0.5s cubic-bezier(0.4, 0.22, 0.28, 1), opacity 80ms ease;
}

#googleMapIcon:hover .ea-snts-store-locator-tooltip {
    opacity: 1;
}

.store-card {
    position: fixed;
    bottom: 90px;
    display: flex;
    flex-direction: column;
    width: 55%;
    max-width: 650px;
    height: 520px;
    background: #fff;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "San Francisco",
    "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    border: 1px solid #ddd;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    z-index: 2147483647;
}

.store-card.hide {
    display: none;
}

.store-locator-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(14, 20, 35, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 2147483646;
}

.store-locator-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
    display: block;
}

@media (min-width: 901px) {
    .store-card--expanded {
        width: 88%;
        max-width: none;
        height: 80%;
        border-radius: 20px;
    }

    .store-card--expanded .stores-list-container {
        width: 350px;
    }

    .store-card--expanded .store-map-container {
        flex: 1;
    }
}

.store-locations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.store-locations-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.header-icon-button {
    background: none;
    border: none;
    cursor: pointer;
}

.store-locator-content {
    display: flex;
    flex: 1;
    min-height: 0;
}

.stores-list-container {
    display: flex;
    flex-direction: column;
    width: 250px;
    background: #fff;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.stores-search {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    border-radius: 9px;
    border: 1px solid #e3e3e3;
    margin-right: 10px;
    background-color: white !important;
}

.search-icon {
    width: 18px;
    height: 18px;
    color: #6d7175;
}

.search-input-field{
    width: 100% !important;
}

.search-input {
    padding: 2px 12px 2px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    flex: 1;
    border: none !important;
    background: transparent;
    font-size: 14px;
    color: black;
    outline: none !important;
    box-shadow: none !important;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "San Francisco",
    "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

.search-input::placeholder {
    color: #999;
}

.search-results-count {
    padding-left: 8px;
    font-size: 12px;
    color: black;
    font-weight: 750;
}

.stores-list {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0;
    margin: 0;
    overflow-y: auto;
}

.store-item {
    padding: 16px;
    border-bottom: 1px solid #e3e3e3;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.store-item:first-child {
    border-top: 1px solid #e3e3e3;
}

.store-item:last-child {
    border-bottom: none;
}

.store-item:hover {
    background-color: #f9f9f9;
}

.store-item.selected {
    background-color: #f0f7ff;
}

.store-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.store-info {
    flex: 1;
}

.store-numbered-name {
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-name {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.store-address-container {
    display: flex;
    align-items: start;
    gap: 5px;
}

.store-address {
    margin: 0;
    font-size: 14px;
    color: #666;
    overflow: hidden;
    flex: 1
}

.chevron-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.store-details {
    margin-bottom: 16px;
    border-radius: 8px;
}

.phone-section {
    display: flex;
    align-items: start;
    gap: 5px;
    margin-bottom: 12px;
}

.phone-number {
    color: #1a1a1a;
    font-size: 14px;
    text-decoration: none;
}

.store-image-section {
    margin-top: 12px;
}

.store-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 3/2;
}

.direction-button-container {
    margin-top: 12px;
}

.get-direction-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px;
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 12px;
    color: #007bff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.get-direction-button:hover {
    background: #dee1e4;
    color: #fff;
}

.direction-icon {
    font-size: 12px;
    font-weight: bold;
}

.stores-toggle-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 9999px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    z-index: 4;
}

.stores-toggle-button:focus-visible {
    outline: 2px solid rgba(0, 123, 223, 0.5);
    outline-offset: 2px;
}

.stores-toggle-icon {
    width: 18px;
    height: 18px;
    fill: #1e2433;
    transition: transform 0.25s ease;
    transform: rotate(180deg);
}

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

.store-map-container {
    position: relative;
    flex: 1;
    min-width: 320px;
    background: #f5f5f5;
}

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

.map-iframe-message {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    color: #666;
    background: #f5f5f5;
    font-size: 14px;
    line-height: 1.4;
    z-index: 2;
}

@media (max-width: 900px) {
    .store-card {
        width: 80% !important;
        bottom: 60px !important;
    }

    .stores-list-container {
        width: 200px !important;
    }
}

@media (max-width: 768px) {
    .store-locator-content {
        position: relative;
    }

    .store-address {
        width: 100px !important;
    }

    .store-card {
        left: 0 !important;
        right: 0 !important;
        bottom: 80px !important;
        width: 100% !important;
        max-width: none;
        height: 80vh !important;
        border-radius: 0;
    }

    .stores-list-container {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: none;
        border-right: none;
        box-shadow: 0 12px 32px rgba(30, 36, 51, 0.18);
        transform: translateX(0);
        transition: transform 0.3s ease;
        z-index: 3;
    }

    .stores-list-container.collapsed {
        transform: translateX(-100%);
        box-shadow: none;
    }

    .stores-toggle-button {
        display: flex;
        position: absolute;
        top: 50%;
        right: -30px;
        transform: translateY(-50%);
    }

    .stores-list-container.collapsed ~ .stores-toggle-button .stores-toggle-icon {
        transform: rotate(0deg);
    }

    .store-map-container {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 600px) {
    .google-map-icon img {
        width: 50px;
        height: 50px;
    }
}

.search-icon {
    margin-left: 8px;
    margin-right: 4px;
    align-items: center;
    display: flex;
}

html.scroll-lock {
    overflow: hidden!important;
    scrollbar-gutter: stable!important;
}