.drb-global-search {
    position: relative;
    z-index: 20;
    padding: 18px clamp(18px, 4vw, 40px);
    border-bottom: 1px solid #eceef1;
    background: #fff;
}

.drb-global-search > label {
    display: block;
    margin-bottom: 7px;
    color: #30343b;
    font-size: 13px;
    font-weight: 800;
}

.drb-search-field {
    display: flex;
    align-items: center;
    min-height: 50px;
    border: 2px solid #dfe2e7;
    border-radius: 13px;
    background: #fff;
    transition: .2s;
}

.drb-search-field:focus-within {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(213, 31, 38, .09);
}

.drb-search-field > span {
    padding-left: 16px;
    color: var(--red);
    font-size: 29px;
    line-height: 1;
}

.drb-search-field input {
    width: 100%;
    min-width: 0;
    padding: 12px 10px;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--dark);
    font: inherit;
    font-size: 16px;
}

.drb-search-field button {
    width: 42px;
    height: 42px;
    margin-right: 4px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #727883;
    font-size: 25px;
    cursor: pointer;
}

.drb-global-search > small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

.drb-search-results {
    position: absolute;
    top: calc(100% - 12px);
    right: clamp(18px, 4vw, 40px);
    left: clamp(18px, 4vw, 40px);
    max-height: 430px;
    overflow: auto;
    border: 1px solid #dfe2e7;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(17, 19, 24, .18);
}

.drb-search-results[hidden] {
    display: none;
}

.drb-search-results button {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 13px 15px;
    border: 0;
    border-bottom: 1px solid #eceef1;
    background: #fff;
    color: var(--dark);
    text-align: left;
    cursor: pointer;
}

.drb-search-results button:last-child {
    border-bottom: 0;
}

.drb-search-results button:hover,
.drb-search-results button:focus {
    background: #fff6f6;
}

.drb-search-results button > span:nth-child(2) {
    min-width: 0;
}

.drb-search-results strong,
.drb-search-results small {
    display: block;
}

.drb-search-results small {
    margin-top: 3px;
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drb-search-results button > b {
    color: var(--red);
    font-size: 12px;
}

.drb-search-type {
    display: grid;
    place-items: center;
    min-height: 30px;
    padding: 5px;
    border-radius: 7px;
    background: #252933;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.drb-search-type.is-code {
    background: var(--red);
}

.drb-search-empty {
    padding: 20px;
    color: var(--muted);
    text-align: center;
}

.drb-code-result {
    margin-bottom: 24px;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(125deg, #111318, #5c1115);
    color: #fff;
}

.drb-code-result h3 {
    margin: 4px 0;
    color: #fff;
    font-size: clamp(30px, 5vw, 46px);
}

.drb-code-result p {
    margin: 0 0 13px;
    color: #e1e3e7;
}

.drb-code-label {
    color: #ff6268;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.drb-code-motos {
    margin-top: 10px;
}

@media (max-width: 650px) {
    .drb-global-search {
        padding: 15px 16px;
    }

    .drb-search-results {
        right: 16px;
        left: 16px;
    }

    .drb-search-results button {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .drb-search-results button > b {
        display: none;
    }
}
