.nfs-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.nfs-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    overflow: hidden;
    transition: all .2s ease;
}

.nfs-search-box:focus-within {
    border-color: #111;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.nfs-search-input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 16px 18px;
    font-size: 16px;
    color: #222;
}

.nfs-search-input::placeholder {
    color: #8a8a8a;
}

.nfs-clear-btn,
.nfs-search-btn {
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nfs-clear-btn {
    width: 42px;
    height: 42px;
    font-size: 22px;
    color: #666;
    display: none;
}

.nfs-clear-btn:hover {
    color: #111;
}

.nfs-search-btn {
    width: 56px;
    height: 56px;
    color: #111;
}

.nfs-search-btn svg {
    width: 22px;
    height: 22px;
}

.nfs-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(0,0,0,.16);
    z-index: 9999;
    overflow: hidden;
}

.nfs-section {
    padding: 18px 20px 10px;
}

.nfs-section + .nfs-section {
    border-top: 1px solid #f0f0f0;
}

.nfs-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #8a8a8a;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

.nfs-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nfs-category-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #e4e4e4;
    border-radius: 999px;
    text-decoration: none;
    color: #222;
    background: #fafafa;
    transition: all .2s ease;
}

.nfs-category-item:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.nfs-product-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f2f2f2;
}

.nfs-product-item:last-child {
    border-bottom: 0;
}

.nfs-product-item:hover {
    background: #fafafa;
}

.nfs-product-image {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

.nfs-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nfs-product-content {
    flex: 1;
    min-width: 0;
}

.nfs-product-title {
    font-size: 15px;
    font-weight: 600;
    color: #1f1f1f;
    line-height: 1.4;
    margin-bottom: 4px;
}

.nfs-product-sku {
    font-size: 12px;
    color: #8a8a8a;
    margin-bottom: 6px;
}

.nfs-product-price {
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.nfs-footer {
    border-top: 1px solid #f0f0f0;
    padding: 14px 20px;
    text-align: center;
    background: #fcfcfc;
}

.nfs-footer a {
    text-decoration: none;
    font-weight: 700;
    color: #111;
}

.nfs-footer a:hover {
    text-decoration: underline;
}

.nfs-no-results {
    padding: 24px 20px;
    text-align: center;
    color: #8a8a8a;
    font-size: 14px;
}

@media (max-width: 768px) {
    .nfs-search-input {
        padding: 14px 16px;
        font-size: 15px;
    }

    .nfs-search-btn {
        width: 50px;
        height: 50px;
    }

    .nfs-dropdown {
        border-radius: 16px;
    }

    .nfs-product-image {
        width: 52px;
        height: 52px;
    }

    .nfs-product-title {
        font-size: 14px;
    }
}