﻿.sam-product-inquiry-table .product-inquiry-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1.15rem;

}

.sam-product-inquiry-table .product-inquiry-table th {

    background: #B7D2EF;
    text-align: left;
    padding: 0.16rem;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-size: 0.18rem;
    line-height: 0.30rem;
    color: #000000;
}

.sam-product-inquiry-table .product-inquiry-table tr:nth-child(odd) {
    background-color: #F2F2F2;
    ;
}

.sam-product-inquiry-table .product-inquiry-table th:nth-of-type(n+3) {
    text-align: center;
}

.sam-product-inquiry-table .product-inquiry-table th:nth-child(4) {
    text-align: left;
    padding-left: 0.35rem;
}

.sam-product-inquiry-table .product-inquiry-table td {
    padding: 0.16rem;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 0.18rem;
    line-height: 0.30rem;
    color: #000000;
}

.sam-product-inquiry-table .product-inquiry-table td:last-child {
    text-align: center;
}

.sam-product-inquiry-table .product-inquiry-table th:first {
    width: 20%;
}

.sam-product-inquiry-table .product-inquiry-table th:nth-child(2) {
    width: 40%;
}

.sam-product-inquiry-table .product-inquiry-table th:nth-child(3) {
    width: 10%;
}

.sam-product-inquiry-table .product-inquiry-table th:nth-child(5) {
    width: 15%;
}

.sam-product-inquiry-table .sam-delete-icon {
    cursor: pointer;
    width: 0.24rem;
    height: 0.24rem;
}

.number-input {
    display: flex;
    align-items: center;

}

.number-input button {
    width: 0.4rem;
    height: 0.4rem;
    border: none;
    cursor: pointer;
    font-size: 0.3rem;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-input input[type="number"] {
    width: 0.72rem;
    height: 0.45rem;
    text-align: center;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-color: #B7D2EF;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 0.18rem;
    line-height: 0.30rem;
    color: #000000;
}

.number-input input[type="number"]::-webkit-inner-spin-button,
.number-input input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.unit-select input {
    width: 0.72rem;
    height: 0.45rem;
    text-align: center;
    background-color: #B7D2EF;
    cursor: pointer;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 0.18rem;
    line-height: 0.30rem;
    color: #000000;
}

.unit-select .select-icon {
    width: 0.4rem;
    height: 0.4rem;
    background-color: transparent;
}
.unit-select .select-icon img {
    width: 0.16rem;
    height: 0.16rem;
}

.unit-select .unit-select-content {
    width: 1.7rem;
    background: #FFFFFF;
    border: 1px solid #000000;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
}

.unit-select .unit-select-content li {
    padding: 0.1rem 0;
    padding-left: 0.68rem;
    cursor: pointer;
}

.unit-select .unit-select-content {
    display: none;
    position: absolute;
}

.unit-select .unit-select-content li:hover {
    background-color: #B7D2EF;
    color: #fff;
}

.sam-product-inquiry-list {
    display: none;
}

@media screen and (max-width: 1025px) {
    .sam-product-inquiry-table {
        display: none;
    }

    .sam-product-inquiry-list {
        display: block;
        margin: 0 0.34rem;
        background: #F8F8F8;
        margin-top: 0.5rem;
    }

    .sam-product-inquiry-list .product-list-item {
        display: flex;
        padding: 0.5rem;
        gap: 0.2rem;
        background: #FFF;
        box-shadow: 0px 1px 1px 0px rgba(92, 92, 92, 0.25);
        margin-bottom: 0.32rem;
    }

    .sam-product-inquiry-list .product-list-item .product-image {
        width: 2.39rem;
        height: 2.39rem;
    }

    .sam-product-inquiry-list .product-list-item .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .sam-product-inquiry-list .product-list-item .product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .sam-product-inquiry-list .product-list-item .product-info .product-number {
        color: #000;
        font-size: 0.28rem;
        font-family: Roboto;
        line-height: 0.3rem;
    }

    .sam-product-inquiry-list .product-list-item .product-info .product-title {
        color: #808080;
        font-size: 0.24rem;
        font-family: Roboto;
        line-height: 0.40rem;
        width: 2.7rem;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .sam-product-inquiry-list .product-list-item .first-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .sam-product-inquiry-list .product-list-item .first-row .delete-button {
        width: 0.5rem;
        height: 0.5rem;
    }

    .sam-product-inquiry-list .product-list-item .first-row .delete-button svg {
        width: 100%;
        height: 100%;
    }

    .sam-product-inquiry-list .product-list-item .thirdly-row {
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }
    .sam-product-inquiry-list .unit-select {
        display: flex;
    }
    .sam-product-inquiry-list .unit-select select {
        width: 1rem;
        color: #868686;
        font-size: 0.24rem;
        font-family: Roboto;
    }
   

    .sam-product-inquiry-list .number-input {
        border-radius: 0.10rem;
        border: 1px solid #B7D2EF;
        background: #F9F9F9;
    } 
    .sam-product-inquiry-list .number-input input {
        background: #F9F9F9;
        width: 0.5rem;
    }
}
