.nanovee-search-autocomplete[hidden] {
    display: none !important;
}

.nanovee-search-autocomplete {
    background: #fff;
    box-sizing: border-box;
    color: #000000;
    display: block;
    left: 0;
    right: 0;
    /* max-height: min(72vh, 720px); */
    max-width: none;
    overflow-y: auto;
    position: absolute;
    top: calc(100% + 25px);
    transform: none;
    width: 100%;
    z-index: 1000;
    bottom: 0;
    height: calc(100vh - 100px);
}

.nanovee-search-status {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.nanovee-search-layout {
    display: grid;
    grid-template-columns: minmax(220px, 26%) minmax(0, 1fr);
}

.nanovee-search-meta,
.nanovee-search-products {
    min-width: 0;
    padding: 22px;
}

.nanovee-search-section+.nanovee-search-section {
    border-top: 1px solid #e9e9e9;
    margin-top: 17px;
    padding-top: 17px;
}

.nanovee-search-section-title {
    color: #000000;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.nanovee-search-list,
.nanovee-search-product-section .product-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nanovee-search-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nanovee-search-list li {
    margin: 0;

}

.nanovee-search-list a {
    padding: 0 10px;
    align-items: center;
    color: #000000;
    margin: 0 10px 10px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000000;
    text-decoration: none;
}

.nanovee-search-count,
.nanovee-search-attribute {
    display: none;
    color: #777;
    font-size: 12px;
    white-space: nowrap;
}

.nanovee-search-breadcrumb {
    display: none !important;
    color: #888;
    display: block;
    font-size: 11px;
    max-width: 42%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nanovee-search-product-section {
    margin: 0;
}

.nanovee-search-product-section .product-top {
    margin-left: -9px;
    margin-right: -9px;
}

.nanovee-search-product-section .action-mobile {
    left: 20px !important;
    right: 20px !important;
}

.nanovee-search-product-section .nanovee-product-grid {
    margin-bottom: -20px;
}

.nanovee-search-product-section .product-item.col {
    margin-bottom: 20px;
}

.nanovee-search-product-section .product-item-info {
    width: 100%;
}

.nanovee-search-product-section .product-item-details {
    min-width: 0;
}

.nanovee-search-empty {
    grid-column: 1 / -1;
    padding: 28px;
    text-align: center;
}

.nanovee-search-footer {
    border-top: 1px solid #e5e5e5;
    grid-column: 1 / -1;
    padding: 14px 22px;
    text-align: center;
}

.nanovee-search-footer .action {
    display: inline-block;
    line-height: 40px;
    white-space: nowrap;
    background-color: #fff;
    padding: 0 15px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

#search_mini_form.loading .nanovee-search-autocomplete::before {
    animation: nanovee-search-spin .75s linear infinite;
    border: 2px solid rgba(0, 0, 0, .15);
    border-radius: 50%;
    border-top-color: var(--thim-primary-color, #cf9683);
    content: '';
    height: 18px;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 18px;
    z-index: 2;
}

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

@media (max-width: 767px) {
    .nanovee-search-autocomplete {
        left: 0;
        max-height: calc(100vh - 130px);
        top: calc(100% + 5px);
        width: 100%;
    }

    .nanovee-search-layout {
        display: block;
    }

    .nanovee-search-meta {
        border-bottom: 1px solid #ededed;
        border-right: 0;
    }

    .nanovee-search-meta,
    .nanovee-search-products {
        padding: 16px;
    }

}