.product-interest-selector {
    position: relative;
    margin: 15px 0;
    text-align: left;
}

.product-interest-selector__label {
    display: block;
    margin-bottom: 7px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.product-interest-selector__required {
    color: #dc3545;
}

.product-interest-selector__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 0;
    margin-bottom: 7px;
}

.product-interest-selector__chips:empty {
    display: none;
}

.product-interest-selector__chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 9px 5px 11px;
    border-radius: 16px;
    background: #dceeff;
    color: #175b91;
    font-size: 13px;
    line-height: 18px;
}

.product-interest-selector__chip-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-interest-selector__chip-remove {
    flex: 0 0 auto;
    margin-left: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #175b91;
    font-size: 18px;
    line-height: 16px;
    cursor: pointer;
}

.product-interest-selector__search-wrap {
    position: relative;
}

.product-interest-selector__search {
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    color: #333;
}

.product-interest-selector__search:focus {
    border-color: #3184d5;
    outline: none;
    box-shadow: 0 0 0 2px rgba(49, 132, 213, .12);
}

.product-interest-selector__search:disabled {
    background: #f4f5f6;
    color: #999;
    cursor: not-allowed;
}

.product-interest-selector__general {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 9px 0 0;
    color: #444;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
}

.product-interest-selector__general-checkbox {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #3184d5;
}

.product-interest-selector__results {
    position: absolute;
    z-index: 1055;
    top: calc(100% + 3px);
    right: 0;
    left: 0;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.product-interest-selector__option {
    display: block;
    width: 100%;
    padding: 9px 11px;
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    color: #333;
    text-align: left;
    cursor: pointer;
}

.product-interest-selector__option:last-child {
    border-bottom: 0;
}

.product-interest-selector__option:hover,
.product-interest-selector__option:focus {
    background: #eef6ff;
    outline: none;
}

.product-interest-selector__empty {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 13px 14px;
    color: #155ea8;
    background: #f4f9ff;
    font-size: 13px;
    line-height: 1.45;
}

.product-interest-selector__empty-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    border: 1.5px solid #1976d2;
    border-radius: 50%;
    color: #1976d2;
    font-size: 11px;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
}

.product-interest-selector__empty-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.product-interest-selector__empty-copy strong {
    color: #095eb5;
    font-weight: 600;
}

.product-interest-selector__empty-copy > span {
    color: #44556a;
}

.product-interest-selector__help,
.product-interest-selector__error {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 17px;
}

.product-interest-selector__help {
    color: #777;
}

.product-interest-selector__error {
    color: #c82333;
}

.product-interest-selector--invalid .product-interest-selector__search {
    border-color: #dc3545;
}

.product-interest-selector--contact {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    align-items: start;
    width: 100%;
    margin: 16px 0 20px;
}

.product-interest-selector--contact .product-interest-selector__label {
    display: block;
    margin: 0;
    padding: 10px 12px 0 0;
    color: #333;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.4;
}

.product-interest-selector--contact .product-interest-selector__required {
    color: inherit;
}

.product-interest-selector--contact .product-interest-selector__field {
    min-width: 0;
}

.product-interest-selector--contact .product-interest-selector__chips {
    margin: 0 0 6px;
}

.product-interest-selector--contact .product-interest-selector__search {
    min-height: 42px;
    padding: 9px 18px;
    border: 0;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    background: transparent;
    color: #333;
    box-shadow: none;
}

.product-interest-selector--contact .product-interest-selector__search:focus {
    border-bottom-color: #3184d5;
    box-shadow: none;
}

.product-interest-selector--contact .product-interest-selector__general {
    display: flex;
    min-height: 38px;
    margin: 3px 0 0;
    padding: 9px 18px 7px;
    border: 0;
    background: transparent;
    color: #444;
}

.product-interest-selector--contact .product-interest-selector__general-checkbox {
    flex: 0 0 auto;
}

.product-interest-selector__general-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.product-interest-selector__general-title {
    color: #243e56;
    font-weight: 600;
}

.product-interest-selector__general-divider,
.product-interest-selector__general-caption {
    color: #738698;
}

.product-interest-selector--contact .product-interest-selector__error {
    margin: 4px 0 0;
    padding-left: 18px;
}

@media (max-width: 640px) {
    .product-interest-selector__results {
        max-height: 180px;
    }

    .product-interest-selector--contact {
        grid-template-columns: 1fr;
        row-gap: 5px;
    }

    .product-interest-selector--contact .product-interest-selector__label {
        padding: 0;
    }
}
