/* Stores page: the kiosk's directory bar - store search and the four category buttons
   (same icons, colours and labels as the information desk kiosk). */
.shop-finder {
    margin: 0 0 32px;
}

.shop-finder__search {
    position: relative;
    margin-bottom: 16px;
}

.shop-finder__search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    color: #4a6084;
    pointer-events: none;
}

.shop-finder__input {
    width: 100%;
    height: 54px;
    padding: 0 18px 0 50px;
    border: 1px solid #c4d6ea;
    border-radius: 16px;
    background: #fcfcfc;
    color: #1d2b44;
    font-size: 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.shop-finder__input:focus {
    border-color: #005597;
    box-shadow: 0 0 0 3px rgba(0, 85, 151, .12);
}

.shop-finder__results {
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    max-height: 360px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid #c4d6ea;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(29, 43, 68, .14);
}

.shop-finder__result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 12px;
    color: #1d2b44;
    text-decoration: none;
}

.shop-finder__result:hover,
.shop-finder__result--active {
    background: #eef4fa;
    color: #005597;
}

.shop-finder__result img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e3ebf4;
    border-radius: 10px;
}

.shop-finder__result-name {
    flex: 1;
    min-width: 0;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-finder__result-floor {
    flex-shrink: 0;
    font-size: 13px;
    color: #4a6084;
}

.shop-finder__empty {
    padding: 12px 10px;
    color: #4a6084;
}

.shop-finder__cats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.shop-finder__cat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 8px 14px;
    border: 1px solid #c4d6ea;
    border-radius: 16px;
    background: #fcfcfc;
    color: #4a6084;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.shop-finder__cat:hover {
    border-color: #005597;
    color: #005597;
}

.shop-finder__cat--active,
.shop-finder__cat--active:hover {
    background: #005597;
    border-color: #005597;
    color: #fff;
}

.shop-finder__cat--active .shop-finder__cat-icon {
    filter: brightness(0) invert(1);
}

.shop-finder__cat-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .shop-finder__cats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .shop-finder__cat {
        justify-content: flex-start;
        font-size: 15px;
    }
}
