#cart table{
    border-collapse: collapse;
    width: 100%;
}
#cart table td, #cart table th{
    padding: 5px;
    border: 1px solid #ccc;
}
#cart table td:first-child, #cart table th:first-child{
    text-align: left;
}
#cart table td, #cart table th{
    text-align: center;
}
#cart table tr:nth-child(2n+1){
    background: #f6f6f6;
}
#cart table tr td:nth-child(3){
    white-space: nowrap;
}
#cart table th{
    background: #eee;
}

#cart input, textarea{
    font: inherit;
}
#cart input[type=text]{
    text-align: center;
    vertical-align: middle;
}
#cart input[type=button]{
    vertical-align: middle;
}
.popup #cart table{
    min-width: 800px;
}
#cartmobile div{
    box-sizing: border-box;
}
#cartmobile .photo{
    float: left;
    width: 40%;
    padding-right: 10px;
}
#cartmobile .photo img{
    border: 1px solid #ccc;
    max-width: 100%;
}
#cartmobile .text{
    float: left;
    width: 60%;
}
#cartmobile input[type="text"]{
    margin-bottom: 0;
    vertical-align: top;
    padding: 6px;
    text-align: center;
}
#cartmobile .price{
    font-weight: bold;
    font-size: 18px;
}
#cartmobile hr{
    clear: both;
    border: none;
    border-bottom: 1px solid #ccc;
    display: block;
}