.goods-detail img { width: 10rem; height: 9.2rem; position: absolute; left: 0; top: 0; object-fit: cover; }
.goods-detail { position: relative; margin-left: 3rem; min-height: 10rem; }
.goods-title { display: block; height: 4.6rem; overflow: hidden; text-overflow: ellipsis; }
.goods-title:hover { text-decoration: underline; }
.goods-base { margin-left: 10.4rem; }
.goods-attr { margin-top: 0.5rem;  }
.goods-attr li { color: #666666; margin-top: 0.4rem; line-height: 1.4rem; }
strong.total-price-content, .nav-total-price { font-weight: 700; }
.stock-tag { width: 10rem; }
.stock-tag .am-form-field { padding: 0.3rem; height: 3.6rem; text-align: center; font-size: 1.4rem !important; width: 8rem; }
.stock-tag .am-input-group-label { line-height: 2.3rem; height: 2.5rem; font-size: 1.4rem !important; padding: 0 1rem; }
.stock-tag .am-input-group-label, .cart-nav label { cursor: pointer; }
strong.total-price-content, .selected-tips strong{ font-size: 1.4rem; }
.am-table { margin-bottom: 1rem; }

/* Card-style cart rows, matching the floating procurement cart. */
.cart-table {
    padding: 0.8rem 1.2rem 0.4rem;
    background: #f8fafc;
}
.cart-content table {
    border-collapse: separate;
    border-spacing: 0 0.8rem;
}
.cart-content table thead th {
    border: 0;
    color: #64748b;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.cart-content table tbody tr {
    background: #fff;
    box-shadow: 0 0.4rem 1.4rem rgba(15, 23, 42, .06);
}
.cart-content table tbody td {
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    vertical-align: middle;
}
.cart-content table tbody td:first-child {
    border-left: 1px solid #eef2f7;
    border-radius: .8rem 0 0 .8rem;
}
.cart-content table tbody td:last-child {
    border-right: 1px solid #eef2f7;
    border-radius: 0 .8rem .8rem 0;
}
.cart-content .line-price,
.cart-content .total-price-content,
.cart-content .guest-price {
    color: var(--color-main);
    font-weight: 600;
}
.cart-content .b2b-price-converted {
    display: block;
    margin-top: .3rem;
    color: #94a3b8;
    font-size: 1.1rem;
}
.cart-nav > .am-container {
    border: 1px solid #e2e8f0;
    box-shadow: 0 .6rem 1.8rem rgba(15, 23, 42, .08);
}
.cart-nav .nav-total-price {
    font-weight: 700;
}

.cart-nav { 
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.el-text {
    margin-left: 0.6rem;
}
.selected-tips { margin-right: 3rem; }
.cart-nav label {
    margin: 0 !important;
}
.cart-nav input[type="checkbox"] { vertical-align: inherit; }
.cart-nav .nav-delete-submit { vertical-align: middle; }
.cart-content table tr th {
    padding: 2rem 0 1rem 0;
}
.cart-content table tr th:first-of-type {
    padding-left: 4.3rem;
}
.cart-content table tr th:nth-of-type(3) {
    text-align: center;
}

.cart-content table tr td { 
    padding-top: 2rem;
    padding-bottom: 1rem;
}
.cart-content table tr td:nth-of-type(3) div{
    margin: 0 auto;
}
.cart-content table tr:first-of-type td {
    border-top: 0;
}
.cart-content table tr td .cart-price .line-price {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666666;
}
.operation-btn {
    display: flex;
    flex-flow: column wrap;
    min-width: 3.6rem;
}
.operation-btn a:last-of-type {
    margin-top: 0.4rem;
}
.nav-right form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}
.cart-summary-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .4rem 1rem;
    width: 100%;
    margin-bottom: .8rem;
}
.cart-summary-line .selected-tips {
    margin-right: 1rem;
}
.cart-summary-line .nav-total-price {
    color: var(--color-main) !important;
    font-size: 1.7rem;
}
.cart-summary-line .nav-total-price-converted {
    color: #94a3b8;
    font-size: 1.2rem;
}
.cart-submit-line {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.cart-nav .nav-left {
    margin-top: 0.5rem;
}
.cart-nav.am-box-shadow-top .nav-left {
    padding-left: 0;
}
.cart-nav.am-box-shadow-top .nav-right {
    padding-right: 0;
}
@media only screen and (min-width:640px)  {
    .goods-base { margin-left: 11.2rem; }
    .cart-content table tr .base { width: 45%; padding-left: 2rem; }
    .cart-content table tr .price { width: 10%; }
    .cart-content table tr .number { width: 20%; }
    .cart-content table tr .total-price { width: 15%; }
    .cart-content table tr .operation { width: 10%; }
    .cart-content { margin-top: 2rem; }
    .cart-nav .nav-total-price { margin-right: 0.5rem; }
}
@media only screen and (max-width:1024px)  {
    .cart-nav.am-box-shadow-top {
        padding: 0 0.6rem;
    }
    .cart-nav .nav-left {
        padding-left: 1rem;
    }
    .cart-nav .nav-right {
        padding-right: 1rem;
    }
}
@media only screen and (max-width:640px)  {
    .cart-content table tr .base {
        width: 55%;
        padding-left: 1rem;
    }
    .selected-tips {
        display: none;
    }
    .cart-summary-line .selected-tips {
        display: inline;
        margin-right: 0;
    }
    .cart-summary-line {
        gap: .3rem .7rem;
        margin-bottom: .6rem;
    }
    .am-footer {
        margin-top: 1rem;
    }

    .cart-nav .nav-left {
        min-width: 12.5rem;
        margin-top: 0.2rem;
    }
    .cart-nav .nav-left a { 
        margin-left: 0.5rem;
    }
    .cart-nav .nav-left a:last-of-type { 
        vertical-align: bottom;
    }
    .cart-nav, .nav-left, .nav-right { overflow: hidden; }
    .nav-right .nav-total-price {
        display: block;
        max-width: 10rem;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    .cart-nav .separate-submit {
        float: right;
        margin: 0 0 0 1rem;
        padding: 0.6rem 1.5rem;
        max-width: 11rem;
    }
    .wap-base { padding: 0.5rem 0 0 3.6rem;}
    .goods-detail { min-height: 5.8rem; }
    .goods-detail img { width: 5.6rem; height: 5.6rem; }
    .goods-base { margin-left: 6.2rem; }
    .stock-tag { width: 8.5rem; }
    .am-footer { padding-bottom: 7rem; }
    .stock-tag .am-form-field {
        width: 5rem;
    }
}
