/**
* 2008-2024 Prestaworld
*
* NOTICE OF LICENSE
*
* The source code of this module is under a commercial license.
* Each license is unique and can be installed and used on only one website.
* Any reproduction or representation total or partial of the module, one or more of its components,
* by any means whatsoever, without express permission from us is prohibited.
*
* DISCLAIMER
*
* Do not alter or add/update to this file if you wish to upgrade this module to newer
* versions in the future.
*
* @author    prestaworld
* @copyright 2008-2024 Prestaworld
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
* International Registered Trademark & Property of prestaworld
*/

#presta_as_section {
    float: right;
    position: relative;
}
.presta-as-search-bar .form-inline {
    display: flex;
}
.presta-as-search-bar .form-inline .presta-as-search-brn {
    margin-left: -1px;
    z-index: 999;
}
.presta-as-input-box {
 position: relative;
}
.presta-as-input-box .presta-as-search-input {
    padding-right: 40px;
    padding-left: 40px;
}
.presta-as-input-box .presta-as-search-icon {
    position: absolute;
    padding: 0.5rem;
}
.presta-as-clear-search-btn {
    position: absolute;
    right: 2px;
    top: 0;
    padding: 0.5rem 0rem;
}
.presta-as-pointer {
    cursor: pointer;
}
.presta-as-loader {
    position: absolute;
    display: inline-block;
    right: 30px;
    top: 0;
}
.presta-as-loader img {
    padding: 0.5rem 0rem;
    width: 22px;
    height: auto;
}
.presta-as-search-result-content {
    position: absolute;
    width: 900px;
    margin-top: 3px;
    border: 1px solid #ddd;
    background-color: #ffffff;
    z-index: 999;
    right: 0;
    flex-wrap: nowrap;
    display: flex;
    box-shadow: 0 9px 8px rgb(0 0 7 / 0.8);
}
.presta-ss-result .presta-ss-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 3px;
}
.presta-as-item-content {
    padding-top: 15px;
    width: 30%;
}
.presta-as-product-content {
    padding-top: 15px;
    border-left: 1px solid #ddd;
    width: 70%;
}
.presta-as-search-item .presta-as-search-item-name {
    display: flex;
    justify-content: space-between;
    padding: 8px 15px;
}
.presta-as-display-none {
    display: none !important;
}
.presta-as-search-title {
    padding: 0px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 9px;
}
.presta-as-search-result-content .product-description a, #presta_products .product-description a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 17px;
    white-space: nowrap;
}
@media screen and (max-width: 992px) {
    .presta-as-search-result-content {
        width: 689px !important;
    }
}

@media screen and (max-width: 768px) {
    .presta-as-search-result-content {
        display: block !important;
        width: 100% !important;
    }
    .presta-as-item-content, .presta-as-product-content {
        width: 100% !important;
    }
}
