.nohrd-search-overlay {
    display: none;
}

.nohrd-search-overlay.is-open {
    display: block;
}

.nohrd-search-open {
    overflow: hidden;
}

html.nohrd-search-enabled #search_autocomplete,
html.nohrd-search-enabled #search_mini_form .mgs-instant-search-dropdown {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

html.nohrd-search-enabled.search-open .search-form .form-search,
html.nohrd-search-enabled.search-not-full .search-form .form-search {
    display: none !important;
}

.nohrd-search__backdrop {
    background: rgba(36, 33, 29, .44);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9000;
}

.nohrd-search__dialog {
    background: #f8f5f0;
    border: 1px solid #e6ded5;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(40, 35, 29, .16);
    left: 50%;
    max-height: calc(100vh - 72px);
    max-width: 1120px;
    overflow: auto;
    padding: 26px;
    position: fixed;
    top: 36px;
    transform: translateX(-50%);
    width: calc(100vw - 48px);
    z-index: 9001;
}

.nohrd-search__bar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.nohrd-search__eyebrow,
.nohrd-search__label {
    color: #817970;
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}

.nohrd-search__close {
    background: #fff;
    border: 1px solid #ded8cf;
    border-radius: 50%;
    height: 42px;
    position: relative;
    width: 42px;
}

.nohrd-search__close:before,
.nohrd-search__close:after {
    background: #24211d;
    content: '';
    height: 2px;
    left: 13px;
    position: absolute;
    top: 20px;
    width: 15px;
}

.nohrd-search__close:before {
    transform: rotate(45deg);
}

.nohrd-search__close:after {
    transform: rotate(-45deg);
}

.nohrd-search__form {
    align-items: center;
    background: #fff;
    border: 1px solid #e6ded5;
    border-radius: 999px;
    box-shadow: 0 24px 70px rgba(40, 35, 29, .08);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0;
    padding: 8px;
}

.nohrd-search__form:focus-within {
    border-color: #cfc6ba;
    box-shadow: 0 24px 70px rgba(40, 35, 29, .08), 0 0 0 3px rgba(230, 222, 213, .65);
}

.nohrd-search__input {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #24211d;
    font-family: din-2014, sans-serif;
    font-size: 28px;
    font-weight: 700;
    height: 56px;
    line-height: 56px;
    min-width: 0;
    outline: 0;
    padding: 0 18px;
    width: 100%;
}

.nohrd-search__input:focus,
.nohrd-search__input:focus-visible {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.nohrd-search__submit {
    background: #24211d;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    height: 48px;
    letter-spacing: 1px;
    padding: 0 22px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nohrd-search__panel {
    background: #fff;
    border: 1px solid #e6ded5;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(40, 35, 29, .08);
    display: grid;
    gap: 0;
    grid-template-columns: 300px minmax(0, 1fr);
    margin-top: 18px;
    overflow: hidden;
}

.nohrd-search__side {
    background: #fbfaf7;
    border-right: 1px solid #e6ded5;
    padding: 26px;
}

.nohrd-search__group + .nohrd-search__group {
    margin-top: 28px;
}

.nohrd-search__links {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.nohrd-search__link,
.nohrd-search__link:visited {
    color: #24211d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
}

.nohrd-search__link:hover,
.nohrd-search__link:focus {
    color: #817970;
}

.nohrd-search__results {
    padding: 26px 30px 30px;
}

.nohrd-search__results-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.nohrd-search__filters {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-end;
}

.nohrd-search__filter {
    background: transparent;
    border: 0;
    color: #817970;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    padding: 0 0 5px;
    position: relative;
}

.nohrd-search__filter:after {
    background: transparent;
    bottom: 0;
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
}

.nohrd-search__filter:hover,
.nohrd-search__filter:focus,
.nohrd-search__filter.is-active {
    color: #24211d;
}

.nohrd-search__filter.is-active:after {
    background: #24211d;
}

.nohrd-search__products {
    display: grid;
}

.nohrd-search__spinner {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 128px;
}

.nohrd-search__spinner:before {
    animation: nohrd-search-spin .72s linear infinite;
    border: 2px solid #e6ded5;
    border-top-color: #24211d;
    border-radius: 50%;
    content: '';
    height: 34px;
    width: 34px;
}

.nohrd-search-overlay.is-loading .nohrd-search__products {
    opacity: .45;
}

.nohrd-search__product,
.nohrd-search__product:visited,
.nohrd-search__recommendation,
.nohrd-search__recommendation:visited {
    align-items: center;
    border-top: 1px solid #eee9e2;
    color: #24211d;
    display: grid;
    gap: 22px;
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 18px 0;
    text-decoration: none;
}

.nohrd-search__product:first-child {
    border-top: 0;
}

.nohrd-search__recommendations {
    border-top: 1px solid #eee9e2;
    margin-top: 10px;
    padding-top: 24px;
}

.nohrd-search__recommendation-list {
    display: grid;
    gap: 0;
    margin-top: 10px;
}

.nohrd-search__recommendation {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 14px 0;
}

.nohrd-search__recommendation:first-child {
    border-top: 0;
}

.nohrd-search__recommendation .nohrd-search__product-body strong {
    font-size: 16px;
}

.nohrd-search__product-media {
    align-items: center;
    aspect-ratio: 3 / 2;
    background: #fff;
    border: 1px solid #e6ded5;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.nohrd-search__product-media img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.nohrd-search__product-body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.nohrd-search__product-body strong {
    color: #24211d;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.16;
}

.nohrd-search__product-price {
    color: #746d64;
    font-size: 15px;
    font-weight: 700;
}

.nohrd-search__product-note {
    color: #817970;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nohrd-search__empty {
    color: #746d64;
    font-size: 16px;
    line-height: 1.45;
    margin: 18px 0 4px;
}

@keyframes nohrd-search-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .nohrd-search__dialog {
        border-radius: 0;
        bottom: 0;
        left: 0;
        max-height: none;
        padding: 20px;
        top: 0;
        transform: none;
        width: 100vw;
    }

    .nohrd-search__form {
        border-radius: 20px;
        grid-template-columns: minmax(0, 1fr);
    }

    .nohrd-search__input {
        font-size: 22px;
        height: 48px;
        line-height: 48px;
    }

    .nohrd-search__submit {
        width: 100%;
    }

    .nohrd-search__panel {
        border-radius: 20px;
        grid-template-columns: minmax(0, 1fr);
    }

    .nohrd-search__side {
        border-right: 0;
        border-bottom: 1px solid #e6ded5;
    }

    .nohrd-search__product {
        grid-template-columns: 78px minmax(0, 1fr);
    }
}
