/*SEARCH WIDGET*/
.pk-search-widget fieldset {
    border: none;
    padding: 0;
    margin: 0;
    align-items: stretch;
}
.pk-aside .pk-search-widget > form {
    width: 100%;
}
.pk-search-widget fieldset {
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.pk-search-widget .pk-dropdown-results {
    border: 1px solid #f1f1f1;
}
.pk-search-widget.pk-search-loading .svg-search,
.pk-search-widget .svg-loader,
.pk-search-widget legend {
    display: none;
}
.pk-search-widget button {
    z-index: 9;
}
.pk-search-widget button * {
    pointer-events: none;
}
.pk-search-widget.pk-search-loading .svg-loader {
    display: block;
}
.pk-search-widget input {
    border: 1px solid #ccc;
    margin: 0;
    width: 100%;
    outline: none;
}
.pk-search-widget input::placeholder {
    opacity: 0.6;
}
.pk-search-widget .pk-search-results {
    width: 100%;
    min-width: 340px;
    position: absolute;
    z-index: 99;
    background: #fff;
    box-sizing: border-box;
    padding: 20px;
    overflow: auto;
}
.pk-aside .pk-search-widget .pk-search-results {
    min-width: auto;
    padding: 20px 0;
}
.pk-search-widget.show-on-hover .pk-search-results {
    right: 0;
    display: none;
}
.pk-search-widget.show-on-hover:hover .pk-search-results {
    display: block;
}
.pk-search-widget ul {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    & li {
        list-style: none;
        padding: 10px 0;
        gap: 20px;
        &:hover {
            background-color: #f1f1f1;
        }
    }
    & .product-thumbnail {
        max-width: 130px;
        min-width: 80px;
        width: 25%;
        margin: 0;
        display: flex;
        align-content: flex-start;
    }
}
.pk-search-widget .inner-search-button {
    width: 100%;
    button {
        position: absolute;
        top: 50%;
        right: 0;
        z-index: 0;
        padding: 10px 15px;
        transform: translate(0, -50%);
    }
}
.pk-search-widget input[type='search']::-webkit-search-cancel-button {
    appearance: none;
}
.pk-search-widget select {
    display: block;
    box-sizing: border-box;
    appearance: none;
    border: none;
}
.pk-search-widget .categories-block * {
    color: inherit;
}
.pk-search-widget [aria-hidden='true'] {
    display: none;
}
.pk-search-widget [aria-hidden='true'] + button {
    position: static !important;
    transform: translate(0);
}
.pk-search-widget.show-on-hover input[type='search'] {
    position: absolute;
    z-index: 8;
    right: 0;
    width: 300px;
}
.pk-aside-tabs > ul {
    list-style: none;
}
.pk-aside-tabs .pk-search-widget input[type='search'] {
    position: static;
    width: 100%;
    padding: 10px 20px;
    display: block;
}
.pk-aside .pk-search-widget [aria-hidden='true'] + button {
    position: absolute !important;
    transform: translate(0);
    top: 0;
    background: none;
    color: #333;
}
.pk-aside .pk-search-widget [aria-hidden='true'] + button span,
.pk-aside .pk-search-widget [aria-hidden='true'] + button .svg-loader {
    display: none;
}
.pk-aside .pk-search-widget [aria-hidden='true'] + button .svg-search {
    display: block;
    pointer-events: none;
}
#search_widget_mobile .pk_search_result {
    max-width: 85%;
}
.load-more-container {
    gap: 20px;
}
.pk-mic-on use:last-child,
.pk-mic-off use:first-child {
    display: none;
}
.pk-voice-keys {
    font-size: 12px;
    position: absolute;
    text-align: center;
    width: 100%;
    font-style: italic;
    line-height: 1.5em;
}
.pk-search-widget:not(:has(.pk-mic-off)) .pk-voice-keys {
    display: none;
}
.inner-search-button .pk-mic {
    right: 30px !important;
}
@media (max-width: 1024px) {
    .pk-search-widget input {
        font-size: 16px;
    }
}
#header .pk-search-widget:has([name='s'].hidden) .pk-mic,
#header .pk-search-widget:has([name='s'].hidden) .pk-voice-keys {
    display: none;
}
.pk-el-search {
    .pk-search-widget {
        button {
            position: absolute;
            right: 0;
            background: none;
            color: #333;
            span {
                display: none;
            }
        }
        button.pk-mic {
            right: 30px;
        }
        .pk-search-results {
            border: none;
            li {
                padding: 10px;
            }
            .product-details {
                max-width: calc(75% - 40px);
            }
            .product-title {
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                display: block;
            }
        }
    }
    .pk-aside-tabs .tab-content {
        height: 100%;
    }
}
