.hs-search {
    width: 90%;
}


.hs-field {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.hs-type-toggle {
    display: inline-flex;
    align-items: center;
    /* gap: 8px; */
    line-height: unset !important;
    padding: 0 10px !important;
    background: transparent;
    border: 0;
    cursor: pointer;
    /* border-right: 1px solid #eef0f2; */
    border-radius: 999px 0 0 999px;
    font-weight: 600;
    color: #000;
    text-transform: unset !important;
    width: 130px;
    margin-right: 0!important;
}

.hs-type-toggle:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.hs-caret {
    pointer-events: none;
}

.hs-type-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 4px;
    width: 180px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    padding: 6px 0;
    margin: 0;
    list-style: none;
    display: none;
    z-index: 50;
    color: #000;
    overflow: hidden;
}

.hs-type-menu.is-open {
    display: block;
}

.hs-type-menu li {
    padding: 10px 14px;
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: 0 !important;
}

.hs-type-menu li:hover {
    background: #cac7c730;
    color: #000
}

.hs-type-menu li[aria-selected="true"]::after {
    content: "✓";
    float: right;
    opacity: .85;
}

.hs-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 10px 12px;
    font-size: 16px;
    box-shadow: none !important;
    border: none !important;
}

.hs-input:focus {
    outline: none;
}

.hs-submit {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fs-color-primary);
    /* đổi theo màu thương hiệu */
    margin-right: 0 !important;

    i {
        transform: translateY(1px);
    }
}

.hs-submit:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* container gợi ý */
.hs-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    /* margin-top: 4px; */
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    z-index: 60;
    display: none;
    overflow: hidden;
    width: 90%;
    margin: 4px auto 0;

    &.active {
        display: block;
    }

    .hs-suggest-loading {
        font-size: 14px;
        color: #6b7280;
        font-style: italic;
        padding: 8px 12px;
    }
}

/* mỗi item */
.hs-suggest-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.hs-suggest-item:hover {
    background: #f8fafc;
}

.hs-suggest-empty {
    color: #6b7280;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}

.hs-suggest-thumb {
    width: 60px;
    height: 60px;
    flex: 0 0 auto;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 10px;
}

.hs-suggest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hs-suggest-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hs-suggest-title {
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.hs-suggest-price {
    font-size: 14px;
    color: #cd0000;
    p {
        span.amount {
            font-weight: 500;
        }
    }
    .price-old {
        color: gray;
        text-decoration: line-through;
        span.amount {
            font-weight: 500;
        }
    }
    .price-percent {
        font-weight: 600;
    }
}