.asleads-produtos-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.asleads-produtos-select {
    position: relative;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.asleads-produtos-trigger {
    width: 100%;
    min-height: 50px;
    height: 50px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #e1e1e1;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px;
    cursor: pointer;
    text-align: left;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.asleads-produtos-trigger:hover,
.asleads-produtos-select.is-open .asleads-produtos-trigger {
    border-color: #0064f6;
    box-shadow: none;
}

.asleads-produtos-trigger-text {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    min-width: 0;
    flex: 1;
}

.asleads-produtos-placeholder {
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asleads-produtos-tag {
    max-width: 100%;
    border-radius: 999px;
    background: #ffffff;
    color: #333;
    border: 1px solid #d1d5db;
    padding: 3px 8px;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asleads-produtos-count {
    border-radius: 999px;
    background: #e6f0ff;
    color: #0064f6;
    font-weight: 700;
    padding: 2px 7px;
    font-size: 12px;
    line-height: 1.35;
}

.asleads-produtos-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #475569;
    flex: 0 0 auto;
}

.asleads-produtos-select.is-open .asleads-produtos-arrow {
    transform: rotate(180deg);
}

.asleads-produtos-dropdown {
    position: fixed;
    z-index: 2147483000;
    top: var(--asleads-produtos-top, 0);
    left: var(--asleads-produtos-left, 0);
    width: var(--asleads-produtos-width, 280px);
    display: none;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .18);
    overflow: hidden;
}

.asleads-produtos-select.is-open .asleads-produtos-dropdown {
    display: block;
}

.asleads-produtos-search {
    width: calc(100% - 16px);
    margin: 8px;
    height: 34px;
    border: 1px solid #d6dee8;
    border-radius: 6px;
    padding: 0 9px;
    background: #ffffff;
    color: #1f2937;
    outline: none;
}

.asleads-produtos-search:focus {
    border-color: #0064f6;
    background: #ffffff;
}

.asleads-produtos-options {
    max-height: 210px;
    overflow: auto;
    padding: 4px 0 8px;
}

.asleads-produtos-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 11px;
    color: #1f2937;
    cursor: pointer;
    font-weight: 400;
    margin: 0;
}

.asleads-produtos-option:hover {
    background: #f1f6ff;
}

.asleads-produtos-option input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #0064f6;
}

.asleads-produtos-option-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asleads-produtos-empty {
    display: none;
    padding: 10px 12px 14px;
    color: #64748b;
}

.asleads-produtos-select.has-no-results .asleads-produtos-empty {
    display: block;
}

.asleads-produtos-error {
    display: none;
    margin-top: 5px;
    color: #d00000;
    font-size: 12px;
    line-height: 1.35;
}

.asleads-produtos-select.has-error .asleads-produtos-trigger {
    border-color: #d00000;
    box-shadow: 0 0 0 2px rgba(208, 0, 0, .08);
}

.asleads-produtos-select.has-error .asleads-produtos-error {
    display: block;
}

@media (max-width: 768px) {
    .asleads-produtos-dropdown {
        left: 16px;
        right: 16px;
        width: auto;
        top: 50%;
        transform: translateY(-50%);
        max-height: calc(100vh - 48px);
    }

    .asleads-produtos-options {
        max-height: calc(100vh - 150px);
    }
}
