.wcfs-search {
    max-width: 100%;
    position: relative;
    font-family: Arial, sans-serif;
}

.wcfs-input-wrap {
    display: flex;
}

#wcfs-input {
    flex: 1;
    height: 55px;
    padding: 0 12px;
    font-size: 15px;
    border-radius: 0 0 0 20px;
    outline: none;
	border: none;
}

#wcfs-btn {
    height: 55px;
    padding: 0 16px;
    /* border: 1px solid #ffffff; */
    background: #ffffff;
    color: #444;
    font-size: 14px;
    border-radius: 0 0 20px 0;
    cursor: pointer;
	border: none;
}

#wcfs-btn:hover {
    color: #e94b48;
}

.wcfs-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
    z-index: 9999;
    overflow: hidden;
}

.wcfs-dropdown-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    font-size: 13px;
    background: #f5f7fa;
    border-bottom: 1px solid #eee;
}

.wcfs-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.wcfs-dropdown-body {
    max-height: 320px;
    overflow-y: auto;
}

.wcfs-row {
    display: flex;
    padding: 12px 14px;
    font-size: 14px;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.wcfs-row:hover {
    background: #f5f7fa;
}

.wcfs-empty,
.wcfs-loading {
    padding: 14px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.wcfs-thumb {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
	margin-right: 10px
}

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

.wcfs-row.out-stock {
    opacity: 0.6;
}

.wcfs-search.wcfs-loading #wcfs-btn {
    pointer-events: none;
    opacity: 0.6;
}

.wcfs-search.wcfs-loading::after {
    content: '';
    position: absolute;
    right: 200px;
    top: 20px;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-top-color: #2271b1;
    border-radius: 50%;
    animation: wcfs-spin 0.8s linear infinite;
}

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