/******************************************************************************
* ldsesAdvancedProductSearch.css
*******************************************************************************

*******************************************************************************
*                                                                             *
* Copyright 2023									                          *
*                                                                             *
******************************************************************************/


.ldsesAdvancedProductSearch {
    position: relative;
	width: 95%;
    margin-left: auto;
}

.ldsesAdvancedProductSearch .row {
    margin: 0 15px;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}

.ldsesAdvancedProductSearch .ldsesSpaceTop {
    z-index: 12;
    padding: 11px 0;
    position: relative;
}

.ldsesAdvancedProductSearch .search-bar {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    font-size: 14px;
}

.ldsesAdvancedProductSearch .search-icon {
    color: #888;
    padding: 10px;
}

.ldsesAdvancedProductSearch #search-input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 7px 7px 7px 0px;
    color: #525050;
}

.ldsesScanContainer {
    border-left: 1px solid #ccc;
    height: 100%;
    background: #ccc;
    padding: 5px 5px 1px 5px;
    cursor: pointer;
}

.ldsesContainerResult {
    display: none;
    width: 97%;
    height: fit-content;
    position: absolute;
    border: 1px solid #ccc;
    background: white;
    z-index: 23;
    right: 13px;
    border-radius: 5px;
    top: 61px;
}

.ldsesContainerResult .ldsesLoadingIndicator {
    padding: 5px;
    text-align: center;
    background: #f0f0f0;
    color: #888;
}

.ldsesContainerResult .ldsesLoadingIndicator span {
    color: inherit;
}


.ldsesContainerResult .ldsesResultProduct {
    padding: 10px;
	border: 1px solid transparent;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    gap: 10px;
    transition: all .2s ease;
}

.product-info {
    background: whitesmoke;
    width: max-content;
    padding: 2px 5px;
    border-radius: 4px;
}

.ldsesContainerResult .ldsesResultProduct:hover {
	border: 1px solid #3eafff;
    transition: all .2s ease;
}

.ldsesContainerResult .ldsesSearchContent {
	display: none;
}

.ldsesSearchContent {
	max-height: 350px;
    overflow: auto;
}

.ldsesResultProduct.generic {
	display: none !important;
}

.product-image {
    flex-basis: 8%;
    height: 60px;
    width: 80px;
    background-position: center bottom !important; /* "bottom" spÃ©cialement pour dÃ©mo Peugeot, sinon mettre "center" */
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.product-details {
    display: flex;
    flex-direction: column;
    flex-basis: 50%;
    justify-content: space-between;
}

.ldsesContainerDesignation {
    display: flex;
	flex-direction: row;
    gap: 6%;
    justify-content: space-between;
}


.product-title {
    font-weight: bold;
}

.product-reference {
    color: #888;
	min-width: max-content;
}

.product-color {
    display: inline-block;
}

.product-dimensions {
    display: inline-block;
}

.color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    display: inherit;
}

.color-name {
    color: #888;
}

.product-dimensions .dimension {
    color: #888;
}

.quantityPart {
    margin: auto 0;
}

.product-quantity {
    display: flex;
    background: #dcdcdc;
    border-radius: 5px;
    position: relative;
}

.quantity-button {
    background-color: #ccc;
    color: #747474;
    font-weight: bold;
    cursor: pointer;
    width: 20px;
    height: 25px;
    text-align: center;
}

.quantity-button.quantityMinus {
    border-radius: 5px 0 0 5px;
}

.quantity-button.quantityPlus {
    border-radius: 0 5px 5px 0;
}

.quantity-input {
    border: 1px solid #ccc;
    width: 40px;
    padding: 0px 5px;
    text-align: center;
    border-radius: 5px;
}

.pricePart {
    flex-basis: 20%;
    text-align: center;
    margin: auto;
}


.product-price .price {
    font-size: 17px;
    font-weight: bold;
    color: #dc0808;
}

.replenishment, .stock-status {
    display: inline-block;
}

.replenishment {
	display: none;
}

.AddtoCartPart {
    flex-basis: 5%;
    margin: auto;
}

.add-to-cart-button {
    background-color: #007bff;
    border: none;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 10px;
    height: 30px;
    text-align: center;
    border-radius: 5px;
    position: relative;
}

.add-to-cart-button:hover {
    background-color: #0056b3;
}

.ldsesIconShop {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ldsesContainerResult .ldsesSeparator {
    height: 10px;
    background-color: #f0f0f0;
}