.bm-voyado-search {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 520px;
    min-width: 0;
    margin: 0 0 0 2rem;
    z-index: 40;
    transition: margin .2s ease, transform .2s ease, opacity .2s ease;
}

.bm-voyado-search__field {
    position: relative;
}

.bm-voyado-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.bm-voyado-search__input {
    width: 100%;
    min-height: 48px;
    padding: 0 46px 0 14px;
    border: 1px solid #d7ddd8;
    border-radius: 6px;
    background: #fff;
    color: #1f2d21;
    font-size: 14px;
    box-shadow: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.bm-voyado-search__input::placeholder {
    color: #708071;
}

.bm-voyado-search__input:focus {
    outline: 0;
    border-color: #3eb54c;
    box-shadow: 0 0 0 2px rgba(62, 181, 76, .12);
}

.bm-voyado-search__action {
    position: absolute;
    top: 0;
    right: 8px;
    bottom: 0;
    display: flex;
    align-items: center;
}

.bm-voyado-search__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #3eb54c;
    box-shadow: none;
}

.bm-voyado-search__button:hover,
.bm-voyado-search__button:focus {
    background: transparent;
    color: #31953d;
}

.bm-voyado-search__button-label {
    display: none;
}

.bm-voyado-search__autocomplete {
    position: fixed !important;
    top: var(--bm-voyado-autocomplete-top, 0);
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100vw - 24px));
    max-height: min(80vh, 760px);
    overflow: auto;
    padding: 16px 16px 18px;
    border: 1px solid #e1e6e2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 24, 18, .12);
    z-index: 6500;
}

.bm-voyado-search__autocomplete[aria-hidden="true"] {
    display: none !important;
}

.bm-voyado-autocomplete {
    display: block;
}

.bm-voyado-autocomplete__quick-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf0ed;
}

.bm-voyado-autocomplete__section-title {
    margin: 0 0 8px;
    color: #213724;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.bm-voyado-autocomplete__link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bm-voyado-autocomplete__section--terms .bm-voyado-autocomplete__link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bm-voyado-autocomplete__section--categories .bm-voyado-autocomplete__link-list,
.bm-voyado-autocomplete__section--brands .bm-voyado-autocomplete__link-list {
    display: grid;
    gap: 8px;
}

.bm-voyado-autocomplete__link-list-item {
    margin: 0;
}

.bm-voyado-autocomplete__link-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #dbe3dd;
    border-radius: 6px;
    background: #fff;
    color: #213724;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.bm-voyado-autocomplete__section--categories .bm-voyado-autocomplete__link-chip,
.bm-voyado-autocomplete__section--brands .bm-voyado-autocomplete__link-chip {
    justify-content: space-between;
    width: 100%;
    min-height: 40px;
    font-weight: 500;
}

.bm-voyado-autocomplete__section--categories .bm-voyado-autocomplete__link-chip::after,
.bm-voyado-autocomplete__section--brands .bm-voyado-autocomplete__link-chip::after {
    content: '›';
    color: #90a192;
    font-size: 15px;
    line-height: 1;
}

.bm-voyado-autocomplete__link-chip:hover {
    border-color: #3eb54c;
    color: #2b7f35;
    background: #f8fcf8;
}

.bm-voyado-autocomplete__product-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    align-items: start;
}

.bm-voyado-autocomplete__product-list dd {
    margin: 0;
}

.bm-voyado-autocomplete__item {
    cursor: pointer;
}

.bm-voyado-autocomplete__card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bm-voyado-autocomplete__item-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 5;
    margin-bottom: 10px;
    border: 1px solid #eef2ef;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.bm-voyado-autocomplete__item-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bm-voyado-autocomplete__item-name {
    display: -webkit-box;
    color: #213724;
    font-size: 13px;
    line-height: 1.4;
    min-height: 36px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bm-voyado-autocomplete__item-price {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 13px;
}

.bm-voyado-autocomplete__price-old {
    color: #758077;
    text-decoration: line-through;
}

.bm-voyado-autocomplete__price-regular,
.bm-voyado-autocomplete__price-special {
    color: #213724;
    font-weight: 700;
}

.bm-voyado-autocomplete__price-special {
    color: #2b7f35;
}

.bm-voyado-autocomplete__item:hover .bm-voyado-autocomplete__item-name,
.bm-voyado-autocomplete__item--selected .bm-voyado-autocomplete__item-name {
    color: #2b7f35;
}

.bm-voyado-autocomplete__show-all {
    margin-top: 16px;
}

.bm-voyado-autocomplete__show-all-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #3eb54c;
    border-radius: 6px;
    background: #3eb54c;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.bm-voyado-autocomplete__show-all-button:hover {
    background: #349540;
    border-color: #349540;
    color: #fff;
}

@media (max-width: 1024px) {
    .bm-voyado-autocomplete__quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bm-voyado-autocomplete__product-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .cs-header__content {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .cs-header__content {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .cs-header__offcanvas-toggle {
        order: 1;
        flex: 0 0 auto;
    }

    .cs-header__logo {
        order: 2;
        flex: 1 1 auto;
        min-width: 0;
        transition: opacity .18s ease, transform .18s ease, max-width .18s ease, flex-basis .18s ease;
    }

    .header.links.cs-header__user-nav.cs-header-user-nav {
        order: 3;
        flex: 0 0 auto;
        margin-left: auto;
        min-width: 0;
        transition: opacity .18s ease, transform .18s ease;
    }

    .header.links.cs-header__user-nav.cs-header-user-nav .cs-header-user-nav__item--search {
        display: none !important;
    }

    .bm-voyado-search {
        order: 4;
        flex: 0 0 calc(100% - 24px);
        max-width: none;
        width: calc(100% - 24px);
        min-width: 0;
        margin: 12px 12px 0;
    }

    .bm-voyado-search__form,
    .bm-voyado-search__field {
        width: 100%;
        min-width: 0;
    }

    .bm-voyado-search__input {
        min-height: 44px;
        padding-left: 16px;
        padding-right: 42px;
    }

    .bm-voyado-search__autocomplete {
        width: calc(100vw - 24px);
        padding: 12px 10px 14px;
        border-radius: 8px;
    }

    .bm-voyado-autocomplete__quick-links {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 14px;
        padding-bottom: 12px;
    }

    .bm-voyado-autocomplete__product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .bm-voyado-autocomplete__item-name {
        min-height: 0;
        font-size: 12px;
    }

    body.voyado-header-compact .bluemint-usp {
        display: none !important;
    }

    body.voyado-header-compact .cs-header__content {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
        align-items: center;
        width: 100%;
    }

    body.voyado-header-compact .cs-header__offcanvas-toggle {
        grid-column: 1;
        min-width: 0;
    }

    body.voyado-header-compact .cs-header__logo {
        display: none;
    }

    body.voyado-header-compact .header.links.cs-header__user-nav.cs-header-user-nav {
        grid-column: 3;
        order: 3;
        display: flex;
        align-items: center;
        justify-self: end;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    body.voyado-header-compact .bm-voyado-search {
        grid-column: 2;
        order: 2;
        flex: initial;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
    }

    body.voyado-header-compact .bm-voyado-search__form,
    body.voyado-header-compact .bm-voyado-search__field,
    body.voyado-header-compact .bm-voyado-search__input {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        margin-top: 4px;
    }

    body.voyado-header-compact .bm-voyado-search__input {
        min-height: 40px;
        padding-left: 14px;
        padding-right: 40px;
    }

    body.voyado-header-compact .cs-header-user-nav__item--account,
    body.voyado-header-compact .cs-header-user-nav__item--wishlist,
    body.voyado-header-compact .cs-header-user-nav__item--search {
        display: none !important;
    }

    body.voyado-header-compact .cs-header-user-nav__label {
        display: none;
    }
}
