.pindex-form-search-wrapper-and-result {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 15;
    width: 100%;
}
.pindex-input-search-wrapper {
    display: flex;
}
.pindex-input-search-wrapper input {
    border: 1px solid #ccc;
    padding: 15px 19px;
    border-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    width: 100%;
    height: 100%;
}
.pindex-input-search-wrapper .btn-wrapper-submit-search {
    display: flex;
}
.pindex-input-search-wrapper .btn-wrapper-submit-search button {
    color: #fff;
    background-color: #38c172;
    border: 1px solid #38c172;
    padding: 15px 19px;
    border-radius: 4px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    transition: background-color 0.3s, color 0.3s;
    outline: none !important;
}
.pindex-input-search-wrapper .btn-wrapper-submit-search button:hover {
    background: #5cd08d;
}
.pindex-input-search-wrapper .btn-wrapper-submit-search button:active {
    background: #2d995b;
}
.history-list-wrapper {
    display: none;
}
.history-list-wrapper.active {
    display: block;
}
.history-list-wrapper-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}
.history-list-wrapper-header .history-list-wrapper-header__name {
    font-size: 12px;
    color: #797878;
}
.history-list-wrapper-header .history-list-wrapper-header__button-clear {
    color: #3e77aa;
    font-size: 13px;
    font-weight: 500;
}
.history-list-wrapper-header .history-list-wrapper-header__button-clear:hover {
    text-decoration: underline;
    opacity: 0.8;
}
.history-list-item {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 8px 10px;
    position: relative;
    color: #6c6767;
    transition: background-color 0.3s;
}
.history-list-item.hovered-item {
    background-color: rgba(204, 204, 204, 0.24);
}
.history-list-item.hovered-item .close-icon {
    opacity: 0.4;
}
.history-list-item .close-icon {
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 100%;
    transition: opacity 0.3s;
}
.history-list-item .close-icon:hover {
    opacity: 0.7 !important;
}
.history-list-item .close-icon img, .history-list-item .close-icon svg {
    margin-right: 0;
    width: 10px;
}
.history-list-item img, .history-list-item svg {
    margin-right: 10px;
}
.history-list-item:hover {
    background-color: rgba(204, 204, 204, 0.24);
}
.history-list-item:hover .close-icon {
    opacity: 0.4;
}
.result-block {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    border: 1px solid #ccc;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    background-color: #fff;
    z-index: 10;
}
.result-block.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}
.result-block .result-block-goods-list {
    display: flex;
    flex-direction: column;
    padding: 5px 0;
    height: auto;
    max-height: 500px;
    overflow: auto;
}
.result-block .result-block-goods-list .result-block-goods-list-item {
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
    padding: 5px;
    color: #000;
}
.result-block .result-block-goods-list .result-block-goods-list-item.hovered-item {
    background-color: rgba(204, 204, 204, 0.3);
}
.result-block .result-block-goods-list .result-block-goods-list-item:hover {
    background-color: rgba(204, 204, 204, 0.3);
}
.result-block .result-block-goods-list .result-block-goods-list-item .result-block-goods-list-item__img {
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #ccc;
    position: relative;
}
.result-block .result-block-goods-list .result-block-goods-list-item .result-block-goods-list-item__img::before {
    content: '';
    width: 42px;
    height: 42px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
    z-index: 1;
    transform-origin: 50%;
    animation: spinAnimation 1s infinite linear;
    box-sizing: border-box;
    border: 4px solid #000;
    border-radius: 50%;
    border-top-color: transparent;
}
.result-block .result-block-goods-list .result-block-goods-list-item .result-block-goods-list-item__img img {
    max-width: 120px;
    max-height: 120px;
    min-height: 95px;
    min-width: 95px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}
.result-block .result-block-goods-list .result-block-goods-list-item .result-block-goods-list-item-info {
    display: flex;
    flex-direction: column;
}
.result-block .result-block-goods-list .result-block-goods-list-item .result-block-goods-list-item-info .result-block-goods-list-item-info__articul {
    color: #737c8f;
    font-size: 13px;
}
.result-block .result-block-goods-list .result-block-goods-list-item .result-block-goods-list-item-info .result-block-goods-list-item-info__name {
    font-size: 14px;
    display: block;
    margin: 0;
    margin-bottom: 6px;
    color: #000;
}
.result-block .result-block-goods-list .result-block-goods-list-item .result-block-goods-list-item-info .result-block-goods-list-item-info__price .current-price {
    font-weight: 700;
    font-size: 16px;
    margin-right: 10px;
    color: #000;
}
.result-block .result-block-goods-list .result-block-goods-list-item .result-block-goods-list-item-info .result-block-goods-list-item-info__price .price-before-sale {
    font-weight: 300;
    text-decoration: line-through;
    font-size: 14px;
    color: #000;
}
@media (max-width: 480px) {
    .result-block .result-block-goods-list .result-block-goods-list-item .result-block-goods-list-item__img {
        margin-right: 5px;
        padding-right: 5px;
        border-right: 1px solid #ccc;
    }
    .result-block .result-block-goods-list .result-block-goods-list-item .result-block-goods-list-item__img img {
        max-width: 60px;
        max-height: 60px;
        min-height: 65px;
        min-width: 65px;
        object-fit: contain;
    }
    .result-block .result-block-goods-list .result-block-goods-list-item .result-block-goods-list-item-info .result-block-goods-list-item-info__name {
        font-size: 13px;
    }
    .result-block .result-block-goods-list .result-block-goods-list-item .result-block-goods-list-item-info .result-block-goods-list-item-info__price .current-price {
        font-size: 14px;
    }
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 4;
}
.nothing-search {
    padding: 5px 10px;
}
.search-all-result {
    color: rgba(48, 112, 250, 0.8);
    padding: 10px;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.search-all-result.active {
    display: flex;
}
.search-all-result:hover {
    text-decoration: underline;
}
.preload-animation-block {
    width: 42px;
    height: 42px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
    z-index: 10;
    transform-origin: 50%;
    animation: spinAnimation 1s infinite linear;
    box-sizing: border-box;
    border: 4px solid #ccc;
    border-radius: 50%;
    border-top-color: transparent;
}
@keyframes spinAnimation {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}
.spinner-loading-result-indicator {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: 0.75s linear infinite spinner-border-indicator-animation;
    animation: 0.75s linear infinite spinner-border-indicator-animation;
}
.text-orange {
    color: #ffc107 !important;
}
.text-darkblue {
    color: #17a2b8 !important;
}
.text-green {
    color: #28a745 !important;
}
.text-blue {
    color: #007bff !important;
}
.text-white {
    color: #f8f9fa !important;
}
.text-black {
    color: #343a40 !important;
}
.text-darkgrey {
    color: #6c757d !important;
}
.text-red {
    color: #dc3545 !important;
}
@keyframes spinner-border-indicator-animation {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}
.pindex-input-wrapper {
    width: 100%;
    position: relative;
}
.spinner-loading-result-indicator {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
}
.spinner-loading-result-indicator.active {
    display: inline-block;
}

@media(min-width: 992px){

    ::-webkit-scrollbar {
        width: 10px;
    }

    /* Track */
    ::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    /* Handle */
    ::-webkit-scrollbar-thumb {
        background: #888;
    }

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

}


button{
    outline: none;
    border:none;
    background: none;
}

