/**
* 2007-2021 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2021 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.amb2bfastbuy-row {
    margin-bottom: 24px;
}

.container-fastbuy .search-widget {
    margin: 24px 0;
}

.search-widget form {
    position: relative;
}

.search-widget form input[type="text"] {
    padding-left: 31px;
}

.search-widget form button.btn-lupa {
    padding: 0;
    position: absolute;
    background: transparent;
    border: none;
    top: 50%;
    left: 8px;
    color: #A1A1AA;
    transform: translateY(-50%);
    font-size: 15px;
    line-height: 15px;
}

.search-widget form button.btn-lupa i {
    font-size: 15px;
    line-height: 15px;
    display: inline-block;
}


#module-amb2bfastbuy-buy .ui-autocomplete.am-fb {
    background: #FFFFFF;
    box-shadow: 0px 2px 4px 0px #0000000A, 0px 1px 2px -1px #00000014, 0px 0px 0px 1px #00000014;
    max-width: none;
    border: none;
    padding: 10px;
}

#module-amb2bfastbuy-buy .ui-autocomplete.am-fb .ui-menu-item {
    cursor: pointer;
}

#module-amb2bfastbuy-buy .ui-autocomplete.am-fb .ui-menu-item .ui-state-focus {
    background: #FFFFFF;
    border: none;
    padding: 0;
    margin: 0;
}

#module-amb2bfastbuy-buy .ui-autocomplete.am-fb .ui-menu-item a {
    padding: 0;
}

.ui-autocomplete.am-fb .flex-buscar {
    font-family: "Inter", Sans-serif;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 16px;
    line-height: 150%;
    position: relative;
}

.ui-autocomplete.am-fb .img-buscar + div {
    width: 100%;
}

.img-buscar {
    margin-right: .425rem;
}

.precio-buscar {
    position: absolute;
    right: 10px;
    bottom: 0;
    /* transform: translateY(-50%); */
    font-weight: 700;
}

.descripcion-buscar > p {
    margin-bottom: 0;
}

.descripcion-buscar{
    line-height: 1;
    padding-right: 100px;
}

/* #module-amb2bfastbuy-buy.mobile_device .ui-autocomplete.am-fb {
    width: calc(100% - 42px) !important;
} */

.tbody-b2b td.delete-row {
    padding: 0 12px;
    height: 24px;
}

.container-fastbuy-resumen .btn.btn-default.add-to-cart {
    width: 100%;
}

.fastbuy-resumen-btn div {
    border-top: 1px solid #E4E4E7;
    margin-top: 24px;
    padding-top: 24px;
}

.container-fastbuy-resumen .fastbuy-row-total td {
    padding-top: 12px;
}

@media (max-width: 1199px) {
    .tbody-b2b .line-product-info {
        grid-template-columns: 114px 1fr 1fr 1fr;
    }

    .tbody-b2b td.product-name {
        grid-column: span 3 / span 3;
    }

    .table-amb2bfastbuy .tbody-b2b td.product-name .name_product {
        padding-right: 48px;
    }

    .tbody-b2b td.delete-row {
        position: absolute;
        top: 12px;
        right: 18px;
        padding: 0;
    }
}

@media (min-width: 992px) {
    .col-fastbuy {
        flex: 1 1 100%;
        max-width: 986px;
    }

    .col-fastbuy-resumen {
        flex: 0 0 100%;
        max-width: 370px;
    }
}

@media (max-width: 991px) {
    .col-fastbuy-resumen {
        margin-top: 48px;
    }

    #module-amb2bfastbuy-buy .ui-autocomplete {
        width: calc(100% - 78px) !important;
    }
}

@media (max-width: 480px) {
    .container-fastbuy.default-container {
        padding: 12px;
    }

    .tbody-b2b .line-product-info {
        grid-template-columns: 114px 1fr 1fr;
    }

    .tbody-b2b td.product-name,
    .tbody-b2b .price_product {
        grid-column: span 2 / span 2;
    }

    .tbody-b2b td.delete-row {
        position: absolute;
        top: 12px;
        right: 18px;
        padding: 0;
    }

    #module-amb2bfastbuy-buy .ui-autocomplete {
        width: calc(100% - 48px) !important;
    }
}