.emplacement-container .emplacement-palette.active {
    background-color: #d4fcd4 !important;
    border: 2px solid #5aa86d;
    border-radius: 8px;
}

.emplacement-container {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main-container {
    margin-left: 30px;
    margin-right: 30px;
}

.thumbnail {
    max-width: 40px;
    max-height: 40px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.thumbnail:hover {
    transform: scale(2);
}

.image-popup {
    display: none;
    position: fixed;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    padding: 15px;
    text-align: center;
    height: 100%;
}

.image-popup img {
    display: block;
    height: 50%;
}

.image-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    z-index: 999;
}

.image-popup.active,
.image-popup-overlay.active {
    display: block;
}

.th-price-stock {
    min-width: 120px;
}

.th-img-stock,
.th-product-stock,
.th-ref-stock,
.th-color-stock,
.th-size-stock,
.th-stock-stock,
.th-price-stock,
.th-qty-stock {
    font-style: italic;
    color: grey;
}

.td-qty-stock {
    max-width: 20px;
}

.destock-img {
    max-width: 50%;
    max-height: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2px;
}

.table td,
.table th {
    padding: 0.5rem 0.5rem;
    font-size: 0.85rem;
    line-height: 1.2;
    vertical-align: middle;
}

.th-color {
    min-width: 130px;
}

.color-div {
    padding-left: 10px;
    font-size: 90%;
}

.td-color-stock {
    font-size: 90%;
}

.destock-text {
    padding-top: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: rgb(32, 32, 32);
}

.qty-buttons {
    position: absolute;
    right: 2px;
    top: 3px;
    bottom: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.qty-buttons .btn {
    width: 24px;
    height: 18px;
    line-height: 0.9;
    font-size: 12px;
    padding: 0;
}

.add-to-quote-btn {
    padding: 5px;
    margin-left: 10px;
}

.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner {
    -moz-appearance: textfield;
}

.quantity-wrapper {
    position: relative;
    width: 80px;
    overflow: visible;
}

.qty-buttons {
    position: absolute;
    right: 2px;
    top: 3px;
    bottom: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
}
