﻿@media screen and (max-width: 960px) {

    .cart .item:last-child {
        border-bottom: 0;
    }

    .cart .item {
        display: flex;
        flex-direction: row;
        border-bottom: 1px dashed #efefef;
        border-left: 1px solid #efefef;
        border-top: 1px solid #efefef;
        box-shadow: 2px 2px 2px #efefef;
        margin: 0.2rem;
        background: #ffffff;
        font-size: 0.3rem;
    }

    .cart .item.h {
        display: none;
    }

    .cart .logo {
        display: flex;
        margin: 0.2rem 0.3rem;
        align-items: center;
    }

    .cart .logo img {
        width: 1.62rem;
        height: 1.62rem;
    }

    .cart .text {
        margin: 0.2rem 0;
        padding-right: 0.24rem;
        width: 100%;
    }

    .cart .text a {
        font-size: 0.24rem;
        display: flex;
        height: 1rem;
        overflow: hidden;
        line-height: 0.35rem;
    }

    .cart .text .no {
        color: #999;
        font-size: 0.24rem;
    }

    .cart .text .no span {
        color: #999;
        margin-left: 10px;
    }

    .cart .text p {
        color: #999999;
        font-size: 0.2rem;
        margin: 0.1rem 0;
    }

    .cart .price {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 0.2rem;
    }

    .cart .price span {
        font-size: 0.28rem;
        color: #b00c02;
    }

    .cart .price input {
        width: 0.4rem;
        padding: 2px;
        text-align: center;
        margin: 0 0.24rem;
        border: 1px solid #efefef;
        border-radius: 0.05rem;
    }

    .cart .price img {
        width: 0.4rem;
    }

    .cart .tools {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.2rem;
        width: 50%;
        flex-direction: row;
    }

    .cart .item .subtotal {
        display: none;
    }

    .cart .success {
        word-break: break-word;
        font-size: 0.3rem;
        padding: 0.3rem;
        background: #ffffff;
    }

    .cart .success img {
        width: 100%;
    }

    .tobuy {
        position: fixed;
        bottom: 1.4rem;
        background: #ffffff;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #efefef;
    }


    .tobuy .total {
        display: flex;
        width: 100%;
        justify-content: flex-end;
        padding: 0.2rem 0;
        margin-right: 0.4rem;
        font-size: 0.3rem;
    }

    .tobuy .next {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        width: 100%;
        padding: 0.3rem 0;
    }

    .tobuy .total span {
        font-size: 0.28rem;
        color: #d1312c;
        font-weight: bold;
    }

    .tobuy .total label {
        margin-right: 0.2rem;
    }

    .tobuy a {
        display: block;
        line-height: 0.8rem;
        color: #000000;
        font-size: 0.3rem;
        /*background: linear-gradient(to right,#D96464, #B53939);*/
        background: #eeeeee;
        border: 1px solid #999999;
        text-align: center;
        font-weight: 500;
        border-radius: 0.4rem;
        padding: 0 0.2rem;
        margin: 0 0.2rem;
    }

    .cart-info .item {
        height: 0.8rem;
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        border-bottom: 1px solid #dadada;
        padding: 0 0.24rem;
        font-size: 0.3rem;
    }

    .cart-info .item:last-child {
        border: 0;
    }

    .cart-info .item span {
        font-weight: bold;
    }

    .cart-info .item .price {
        color: #b00c02;
    }

    .form {
        margin: 0.24rem;
        background: #ffffff;
        padding: 0.2rem;
    }

    .form dl {
        margin: 0.24rem 0;
        font-size: 0.26rem;
    }

    .form dt {
        display: flex;
        flex-direction: column;
        padding: 0.03rem 0;
        font-weight: bold;
    }

    .form .valide {
        color: #ff0000;
        font-size: 0.18rem;
    }

    .form input {
        border: 1px solid #ccc;
        background: #f5f5f5;
        line-height: 0.3rem;
        font-size: 0.26rem;
        height: 0.7rem;
        width: 100%;
        padding-left: 0.1rem;
        box-sizing: border-box;
    }

    .form h1 {
        text-align: center;
        font-size: 0.3rem;
        padding-top: 0.3rem;
    }

    .form p {
        padding: 0 0.1rem;
    }

    .form select {
        border: 1px solid #ccc;
        background: #f5f5f5;
        line-height: 30px;
        font-size: 14px;
        height: 0.7rem;
        width: 100%;
        padding-left: 5px;
    }

    .form textarea {
        border: 1px solid #ccc;
        background: #f5f5f5;
        line-height: 0.3rem;
        font-size: 0.26rem;
        box-sizing: border-box;
    }

    .form button {
        /*background: linear-gradient(to right,#D96464, #B53939);*/
        background: #eeeeee;
        color: #000000;
        font-size: 0.3rem;
        width: 100%;
        height: 0.8rem;
        border: 1px solid #999999;
        border-radius: 0.4rem;
        margin: 0.3rem 0;
    }

    .form .tips {
        font-weight: 100;
    }
}
