.stockists {
    display: flex;
    width: 100%;
}
.stockists__grid {
    display: grid;
    grid-template-columns: minmax(auto, 500px) 1fr;
    width: 100%;
    height: var(--height-fill);
}
.stockists__left {
    height: 100%;
    min-height: 0;
}
.stockists__right {
    position: relative;
    width: 100%;
    height: 100%;
}
.stockists__right > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.stockists__right > div.tab-active {
    opacity: 1;
    visibility: inherit;
}
@media (max-width: 991.98px) {
    .stockists__grid {
        grid-template-columns: 1fr;
        height: auto;
    }
}
@media (max-width: 991.98px) {
    #map {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        height: 100vh;
        width: 100vw;
        position: absolute;
    }
}
.stockists-sidebar {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    padding: 56px;
    padding-bottom: 0;
}
.stockists-blocks {
    padding: 56px;
}
.stockists-sidebar__tab {
    height: 100%;
    flex-direction: column;
    min-height: 0;
    display: none;
}
.stockists-sidebar__tab.tab-active {
    display: flex;
}
.stockists-sidebar__tab > h4 {
    font-weight: 300;
    font-size: 24px;
    line-height: 27px;
    letter-spacing: 0px;
    padding-bottom: 20px;
    padding-top: 50px;
}
.stockists-sidebar__tab-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    margin: 0;
    border: solid 1px var(--color-charcoal);
    gap: 1px;
    background: var(--color-charcoal);
}
.stockists-sidebar__tab-links > li > a {
    display: block;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    text-align: center;
    letter-spacing: -0.5px;
    padding: 18px;
    color: var(--color-charcoal);
    background: #fff;
    transition: all 0.3s ease;
}
.stockists-sidebar__tab-links > li > a.tab-active,
.stockists-sidebar__tab-links > li > a:hover {
    background: var(--color-charcoal);
    color: #f5f5f5;
}
.stockists-sidebar #stockists {
    padding-bottom: 56px;
}
@media (max-width: 991.98px) {
    .stockists-sidebar {
        padding: var(--padding-x);
        padding-bottom: 0;
    }
    .stockists-sidebar__tab-links {
        margin: var(--padding-x-neg);
        border: none;
        margin-bottom: 0;
    }
    .stockists-sidebar__tab-links > li > a {
        border-bottom: 1px solid var(--color-charcoal-border);
    }
    .stockists-sidebar__tab > h4 {
        font-size: 27px;
        line-height: 29px;
    }
}
.stockists__right .stockists-blocks {
    height: 100%;
    overflow-y: auto;
}
.stockists__right .stockists-blocks__grid {
    display: grid;
    max-width: 600px;
    margin-left: auto;
    margin-right: 70px;
    grid-template-columns: 1fr 1fr;
    column-gap: 70px;
    row-gap: 60px;
}
@media (max-width: 991.98px) {
    .stockists__right .stockists-blocks {
        display: none;
        position: relative;
        opacity: 1;
        visibility: inherit;
        padding: 0 var(--padding-x);
        height: auto;
        padding-bottom: 70px;
    }
    .stockists__right .stockists-blocks.tab-active {
        display: block;
    }
    .stockists__right .stockists-blocks__grid {
        margin-right: 0;
        margin-left: 75px;
        row-gap: 30px;
        max-width: none;
    }
}
@media (max-width: 767.98px) {
    .stockists__right .stockists-blocks__grid {
        grid-template-columns: 1fr;
    }
}
.stockist-block > h4 {
    font-weight: 300;
    font-size: 19px;
    line-height: 23px;
    letter-spacing: 0px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #d8d8d8;
}
.stockist-block__content a:hover {
    text-decoration: underline;
}
.stockist-block__content,
.stockist-block__content > p {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.02em;
    margin: 0;
}
@media (max-width: 991.98px) {
    .stockist-block > h4 {
        font-size: 17px;
        line-height: 21px;
        letter-spacing: -0.5px;
    }
    .stockist-block__content,
    .stockist-block__content > p {
        font-size: 15px;
        line-height: 21px;
        letter-spacing: -0.5px;
    }
}
.stockists-filters {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 25px;
}
.stockists-filters > li {
    margin-bottom: 10px;
}
.stockists-filters > li > a {
    font-weight: 300;
    font-size: 19px;
    line-height: 23px;
    letter-spacing: 0px;
    display: block;
    position: relative;
}
.stockists-filters > li > a::before {
    content: " ";
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    margin-top: -4px;
    transform: scale(0);
    background: var(--color-charcoal);
}
.stockists-filters > li > a > span {
    display: block;
    color: var(--color-charcoal);
}
.stockists-filters > li > a::before,
.stockists-filters > li > a > span {
    transition: all 0.5s ease;
}
.stockists-filters > li > a.active::before,
.stockists-filters > li > a:hover::before {
    transform: scale(1);
}
.stockists-filters > li > a.active > span,
.stockists-filters > li > a:hover > span {
    transform: translateX(18px);
    opacity: 1;
}
@media (max-width: 991.98px) {
    .stockists-filters {
        display: flex;
        border-bottom: 1px solid #d8d8d8;
        gap: 20px;
        margin-bottom: 45px;
        margin-top: 0;
    }
    .stockists-filters > li {
        margin-bottom: -1px;
    }
    .stockists-filters > li > a {
        border-bottom: 1px solid rgba(0, 0, 0, 0);
        padding: 16px 0;
        font-weight: 300;
        font-size: 17px;
        line-height: 23px;
        letter-spacing: 0px;
        opacity: 0.5;
    }
    .stockists-filters > li > a::before {
        display: none;
    }
    .stockists-filters > li > a:hover,
    .stockists-filters > li > a.active {
        opacity: 1;
    }
    .stockists-filters > li > a.active {
        border-bottom-color: var(--color-charcoal);
    }
    .stockists-filters > li > a > span {
        transform: none !important;
    }
}
#countries {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    user-select: none;
    gap: 11px;
    padding-top: 18px;
}
.country {
    background-color: #f2f2f2;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 400;
    font-size: 11px;
    line-height: 120%;
    text-align: center;
    letter-spacing: -0.02em;
    padding: 7px 12px;
    transition: all 0.3s ease;
}
.country:hover {
    background-color: var(--color-charcoal-border);
}
.loading {
    padding: 10px;
    margin: 10px;
    font-weight: bold;
}
#stockists {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-top: 20px;
    margin-top: 10px;
}
#stockists .stockist {
    border-bottom: 1px solid #d8d8d8;
    padding: 20px 0;
    cursor: pointer;
}
#stockists .stockist__desc {
    transition: all 0.3s ease;
}
#stockists .stockist:last-of-type {
    border-bottom: none;
}
#stockists:hover .stockist__desc {
    opacity: 0.5;
}
#stockists:hover .stockist:hover .stockist__desc {
    opacity: 1;
}
@media (max-width: 991.98px) {
    #stockists {
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 21px;
        row-gap: 43px;
        margin-top: 30px;
    }
    #stockists .stockist__desc {
        opacity: 1 !important;
    }
}
.stockist__desc > h4 {
    font-weight: 300;
    font-size: 19px;
    line-height: 23px;
    letter-spacing: 0px;
}
.stockist__desc > p {
    margin: 20px 0;
}
.stockist__desc > p,
.stockist__desc > .contacts > * {
    font-weight: 300;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: -0.02em;
}
.stockist__desc > .contacts > a:hover {
    text-decoration: underline;
}
.stockist__desc * {
    font-family: var(--font-untitled) !important;
}
@media (max-width: 991.98px) {
    .stockist {
        border-bottom: none !important;
        padding: 0 !important;
    }
    .stockist__desc > h4 {
        font-size: 17px;
        line-height: 21px;
        letter-spacing: -0.5px;
        border-bottom: 1px solid #d8d8d8;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .stockist__desc > p {
        font-size: 15px;
        line-height: 22px;
        letter-spacing: -0.02em;
        margin: 0;
    }
}
.contacts {
    display: flex;
    justify-content: space-between;
}
#search-div {
    position: relative;
    width: 100%;
}
#search-div .autocomplete {
    width: 100%;
}
#searchTextField {
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: -0.5px;
    padding: 11px 0;
    border: none;
    background: none;
    border-bottom: 1px solid var(--color-charcoal-border);
}
#searchTextField::placeholder {
    color: #919191;
}
.autocomplete {
    position: relative;
    display: inline-block;
}
.autocomplete-items {
    position: absolute;
    border: 1px solid var(--color-charcoal-border);
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid var(--color-charcoal-border);
    color: var(--color-charcoal);
    font-weight: 300;
}
.autocomplete-items div strong {
    color: var(--color-charcoal);
    font-weight: 400;
}
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}
.autocomplete-active {
    background-color: #1e90ff !important;
    color: #fff;
}
.mapboxgl-popup-close-button {
    display: none;
}
.mapboxgl-popup-content {
    padding: 20px;
    border-radius: 0;
    box-shadow: none;
}
.mapboxgl-popup-content .stockist__desc > h4 {
    border-bottom: 1px solid rgba(197, 197, 197, 0.99);
    padding-bottom: 6px;
}
.mapboxgl-popup-content .stockist__desc > p {
    margin-top: 12px;
    margin-bottom: 22px;
}
.hatch--design-mode .stockists-sidebar__tab-links {
    display: none;
}
.hatch--design-mode .stockists-sidebar__tab {
    display: block;
}
.hatch--design-mode .stockists-sidebar__tab--map {
    display: none !important;
}
.hatch--design-mode .stockists-map {
    display: none !important;
}
.hatch--design-mode .stockists-blocks {
    display: block;
    opacity: 1;
    visibility: inherit;
}
