:root {
    --alphabet-nav-sticky-top: 0px;
}

.alphabet-nav {
    position: sticky;
    top: var(--alphabet-nav-sticky-top);
    z-index: 100;
    background-color: #fff;
    padding-top: 32px;
    padding-bottom: 32px;
}

.shopping-search {
    position: relative;
    z-index: 110;
}

.shopping-search .ui.dropdown .menu,
.shopping-search .ui.search .results {
    z-index: 111;
}

.alphabet-nav .alphabet-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 26px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 16px;
    line-height: 1;
}

.alphabet-nav-label {
    flex: 0 0 auto;
    color: #2C2A29;
    line-height: 1;
}

.alphabet-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.alphabet-nav-link {
    display: inline-block;
    color: #2C2A29;
    line-height: 1;
    text-decoration: none;
    transition: color .3s ease, opacity .3s ease;
}

.alphabet-nav-link:hover,
.alphabet-nav-link:focus,
.alphabet-nav-link.is-active {
    color: #52A382;
}

.alphabet-nav-link.is-disabled {
    color: #A7A9AC;
    cursor: default;
    pointer-events: none;
    opacity: .65;
}

.alphabet-nav+.store-listing {
    padding-top: 0 !important;
}

.alphabet-group {
    scroll-margin-top: calc(var(--alphabet-nav-sticky-top) + 80px);
}

.alphabet-group.is-empty {
    display: none;
}

.alphabet-group-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.alphabet-group:first-child .alphabet-group-header {
    margin-top: 0;
}

.alphabet-group-header h2 {
    flex: 0 0 auto;
    margin: 0;
    color: #2C2A29;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
}

.alphabet-group-divider {
    flex: 1 1 auto;
    min-width: 24px;
    height: 0;
    border-bottom: 1px dotted #A7A9AC;
}

.alphabet-group-count {
    flex: 0 0 auto;
    color: #58595B;
    font-size: 12px;
    white-space: nowrap;
}

.store-listing .alphabet-group .tiles {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
    margin: 0;
}

.store-listing .alphabet-group .tile {
    display: block !important;
    width: 100%;
    margin-bottom: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .store-listing .alphabet-group .tiles .tile {
        width: calc((100% - 30px) / 2);
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .store-listing .alphabet-group .tiles .tile {
        width: calc((100% - 60px) / 3);
    }
}

.alphabet-group .foreground .inner.is-enhanced {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alphabet-group .foreground .inner.is-enhanced>a:has(.title) {
    margin-bottom: 0;
}

.alphabet-group .title {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.5;
}

.alphabet-group .store-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #58595B;
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
}

.alphabet-group .store-card-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    color: #52A382;
    font-size: 12px;
    line-height: 1;
}

.alphabet-group .store-card-type-icon::before {
    display: block;
    line-height: 1;
}

.alphabet-group .store-card-subcategories {
    color: #58595B;
    line-height: 1;
}

.alphabet-group .store-card-meta-divider {
    color: #58595B;
}

.alphabet-group .store-card-menu {
    color: #52A382;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.alphabet-group .store-card-menu:hover,
.alphabet-group .store-card-menu:focus {
    color: #3A735D;
    text-decoration: underline;
}

.alphabet-group .phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #58595B;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
}

.alphabet-group .phone .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    margin-right: 0;
    color: #52A382;
    font-size: 11px;
    line-height: 1;
    transform-origin: center;
}

.alphabet-group .phone .icon::before {
    display: block;
    line-height: 1;
}

.alphabet-group .phone:hover,
.alphabet-group .phone:focus {
    color: #2C2A29;
}

.alphabet-group .location,
.alphabet-group .stats.locations {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #58595B;
    font-size: 12px;
    line-height: 1.4;
}

.alphabet-group .location .icon,
.alphabet-group .stats.locations .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1em;
    height: 1.4em;
    margin-top: 0;
    color: #52A382;
    font-size: 11px;
    line-height: 1;
}

.alphabet-group .location .icon::before,
.alphabet-group .stats.locations .icon::before {
    display: block;
    line-height: 1;
}

.alphabet-group .description {
    margin: 0;
    line-height: 21px;
}

.alphabet-group .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media only screen and (max-width: 768px) {
    .alphabet-nav {
        overflow: hidden;
        margin-left: 20px;
        margin-right: 20px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .alphabet-nav-label {
        display: none;
    }

    .alphabet-nav .alphabet-nav-wrapper {
        align-items: center;
        gap: 16px;
        width: 100%;
        max-width: none;
        margin: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .alphabet-nav .alphabet-nav-wrapper::-webkit-scrollbar {
        display: none;
        height: 0;
    }

    .alphabet-nav-list {
        flex-wrap: nowrap;
        flex: 0 0 auto;
        gap: 30px;
        width: max-content;
        min-width: max-content;
    }
}