.gls-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.gls-search-form {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gls-search-form:focus-within {
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(203, 213, 225, 0.25);
}

.gls-search-icon {
    flex: 0 0 auto;
    margin-left: 14px;
    color: #94a3b8;
}

.gls-search-input {
    width: 100%;
    min-width: 0;
    padding: 12px 14px 12px 10px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #334155;
    background: transparent;
    box-shadow: none;
}

.gls-search-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

/* AJAX Popup Results */
.gls-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 99999;
}

.gls-loading, .gls-no-result {
    padding: 15px;
    font-size: 13px;
    color: #64748b;
    text-align: center;
}

.gls-group-title {
    background: #f8fafc;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
}

.gls-group:first-child .gls-group-title {
    border-top: none;
}

.gls-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gls-group ul li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
    background: #fff;
}

.gls-group ul li a:hover {
    background: #f8fafc;
}

.gls-group ul li img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
    flex: 0 0 48px;
}

.gls-info {
    display: flex;
    flex-direction: column;
}

.gls-title {
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
}

.gls-price {
    font-size: 12px;
    color: #059669;
    font-weight: 700;
    margin-top: 2px;
}

.gls-price del {
    color: #94a3b8;
    font-weight: 400;
    opacity: 0.8;
}

.gls-price ins {
    color: #059669;
    font-weight: 700;
    text-decoration: none;
}

.gls-date {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.gls-date {
    color: #94a3b8;
}
