:root{
    --tf-right-top-bg: #f8f8f8;
    --tf-right-bottom-bg: #ffffff;
    --tf-text-main: #535359;
    --tf-line: #e1e1e1;
    --tf-font-roman: "Roman", serif;
    --tf-font-post: "Post", sans-serif;
}

.tf-store-locator-shell,
.tf-store-locator-wrap,
.tf-store-map-col,
#tf-store-map{
    position: relative;
    z-index: 1;
}

.tf-store-locator-shell{
    width: 100%;
    background: #fff;
}

.tf-store-locator-wrap{
    display: grid;
    grid-template-columns: minmax(0, 1.95fr) 430px;
    background: #fff;
    border: 1px solid #ececec;
    min-height: 760px;
    height: 760px;
    overflow: hidden;
}

.tf-store-map-col{
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: #ececec;
}

#tf-store-map{
    width: 100%;
    height: 100%;
    min-height: 760px;
}

.tf-store-sidebar{
    background: #fff;
    border-left: 1px solid #eaeaea;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.tf-store-sidebar-inner{
    height: 100%;
    overflow-y: auto;
    padding: 0;
    background: #fff;
    scrollbar-width: thin;
}

/* first section */
.tf-sidebar-top{
    background: var(--tf-right-top-bg);
    padding: 1.5rem 3rem;
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
}

.tf-store-title{
    margin: .67em 0;
    font-weight: 400;
    font-size: 2em;
    letter-spacing: .025rem;
    line-height: 1.5;
    font-family: var(--tf-font-roman);
    color: var(--tf-text-main);
}

/* search */
.tf-store-search-wrap{
    position: relative;
    margin-bottom: 0;
}

.tf-store-search-wrap input{
    width: 100%;
    height: 3rem;
    border: 1px solid #535359;
    background: #fff;
    padding: 0 1rem;
    padding-right: 3rem;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    color: #535359;
    font-family: var(--tf-font-post);
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .025rem;
    line-height: 1.25;
    -webkit-appearance: none;
    appearance: none;
}

.tf-store-search-wrap input::placeholder{
    color: #8c8c92;
    opacity: 1;
}

.tf-store-search-wrap button{
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #535359;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tf-store-search-wrap button svg{
    width: 1rem;
    height: 1rem;
    display: block;
}

.tf-store-search-wrap button svg *{
    stroke: #535359 !important;
    fill: none !important;
}

/* use my current location */
.tf-use-location-btn{
    margin: 1.5rem 0 0;
    width: 100%;
    min-height: 3rem;
    background: transparent;
    border: 1px solid #535359;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: .75rem 1rem;
    cursor: pointer;
    box-shadow: none;
    outline: none;
}

.tf-use-location-btn svg{
    width: 1rem;
    height: 1rem;
    margin-right: .5rem;
    display: block;
}

.tf-use-location-btn svg *{
    stroke: #535359 !important;
    fill: none !important;
}

.tf-use-location-btn span{
    font-family: var(--tf-font-post);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: .025rem;
    line-height: 1.25;
    color: #535359;
    text-transform: none;
}

/* second section */
.tf-sidebar-categories{
    background: #fff;
    padding: 0 3rem;
}

.tf-store-filter-box{
    background: #fff;
    margin-top: 1rem;
}

.tf-store-filter-toggle{
    width: 100%;
    border: 0;
    border-bottom: 1px solid #e1e1e1;
    background: transparent;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
}

.tf-store-filter-toggle > span:first-child{
    padding-right: .5rem;
    font-size: .875rem;
    letter-spacing: .025rem;
    line-height: 1.25;
    color: #535359;
    font-family: var(--tf-font-post);
    font-weight: 400;
}

.tf-filter-plus{
    color: #535359;
    margin: 0 .5rem;
    font-family: var(--tf-font-post);
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 300;
    min-width: 1rem;
    text-align: right;
}

.tf-store-filter-list{
    display: none;
    background: #fff;
}

.tf-store-filter-list.is-open{
    display: block;
}

.tf-type-btn{
    width: 100%;
    border: 0;
    border-bottom: 1px solid #e1e1e1;
    background: transparent;
    padding: 1rem 0;
    display: grid;
    grid-template-columns: 1rem 1rem 1fr;
    column-gap: .5rem;
    align-items: center;
    text-align: left;
    cursor: pointer;
}

.tf-type-square{
    width: 1rem;
    height: 1rem;
    border: 1px solid #535359;
    background: #fff;
    border-radius: 2px;
    position: relative;
    display: inline-block;
}

.tf-type-btn.active .tf-type-square::after{
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #535359;
    border-radius: 1px;
}

.tf-type-mark{
    width: 1rem;
    height: 1rem;
    margin: 0 .5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tf-type-mark img{
    width: 1rem;
    height: 1rem;
    display: block;
    object-fit: contain;
}

.tf-type-label{
    font-size: .875rem;
    font-family: var(--tf-font-post);
    font-weight: 400;
    letter-spacing: .025rem;
    line-height: 1.25;
    color: #535359;
    text-transform: none;
}

/* third section */
.tf-sidebar-results{
    background: #fff;
    padding: 0 3rem 2rem;
}

.tf-results-title{
    padding-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: .025rem;
    line-height: 1.25;
    font-family: var(--tf-font-roman);
    color: #535359;
    margin: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e1e1;
}

.tf-store-results{
    display: flex;
    flex-direction: column;
    background: #fff;
}

.tf-store-card{
    border-bottom: 1px solid #e1e1e1;
    padding: 1.5rem 0;
    background: #fff;
}

.tf-store-card-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.tf-store-card-main{
    min-width: 0;
    flex: 1;
}

.tf-store-card-title{
    margin: 0 0 .75rem;
    font-family: var(--tf-font-roman);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: .025rem;
    line-height: 1.25;
    color: #535359;
}

.tf-store-card-meta{
    font-family: var(--tf-font-post);
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .025rem;
    line-height: 1.6;
    color: #535359;
}

.tf-store-card-meta > div{
    margin-bottom: .2rem;
}

.tf-store-card-meta a{
    color: inherit;
    text-decoration: none;
}

.tf-store-card-actions{
    margin-top: 1rem;
}

.tf-store-detail-link{
    background: transparent;
    font-family: var(--tf-font-post);
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .025rem;
    line-height: 1.25;
    color: #535359;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tf-store-plus{
    width: 1.5rem;
    min-width: 1.5rem;
    height: 1.5rem;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0;
    color: #535359;
    font-family: var(--tf-font-post);
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tf-store-catalogue{
    display: none;
    padding-top: 1rem;
}

.tf-store-catalogue.open{
    display: block;
}

.tf-store-catalogue-inner{
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem;
    border: 1px solid #e1e1e1;
    background: #fff;
}

.tf-store-catalogue-thumb{
    width: 82px;
    min-width: 82px;
    height: 82px;
    overflow: hidden;
    background: #f3f3f3;
}

.tf-store-catalogue-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tf-store-catalogue-copy{
    min-width: 0;
    flex: 1;
}

.tf-store-catalogue-title{
    margin: 0 0 .5rem;
    font-family: var(--tf-font-post);
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .025rem;
    line-height: 1.25;
    color: #535359;
}

.tf-store-catalogue-btn{
    background: transparent;
    font-family: var(--tf-font-post);
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .025rem;
    line-height: 1.25;
    color: #535359;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tf-store-show-all-wrap{
    padding-top: 1rem;
}

.tf-store-show-all{
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: var(--tf-font-post);
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .025rem;
    line-height: 1.25;
    color: #535359;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tf-store-no-results,
.tf-map-missing{
    font-family: var(--tf-font-post);
    font-size: .875rem;
    color: #535359;
}

.tf-map-missing{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 1.5rem;
    text-align: center;
    background: #efefef;
}

.tf-marker{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #231b1d;
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--tf-font-post);
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

@media (max-width: 1200px){
    .tf-store-locator-wrap{
        grid-template-columns: 1fr 400px;
    }

    .tf-sidebar-top,
    .tf-sidebar-categories,
    .tf-sidebar-results{
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 1024px){
    .tf-store-locator-wrap{
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }

    .tf-store-map-col,
    #tf-store-map{
        height: 480px;
        min-height: 480px;
    }

    .tf-store-sidebar{
        border-left: 0;
        border-top: 1px solid #e3e3e3;
        height: auto;
    }

    .tf-store-sidebar-inner{
        height: auto;
        overflow: visible;
    }
}

@media (max-width: 767px){
    .tf-sidebar-top,
    .tf-sidebar-categories,
    .tf-sidebar-results{
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}