table {
    width: 100%;
    border-collapse: collapse;
    direction: rtl;
}

.shop-table {
    text-align: start;
    /* background-image: url('../webfonts/fa-brands-400.woff2'); */
}

/* th */
.shop-table th {
    padding: 1.7rem 0 1.3rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    text-transform: capitalize;
    line-height: 1.6;
    letter-spacing: 0;
}

.shop-table.cart-table th {
    padding: 1rem 0 1.2rem;
    letter-spacing: -0.025em;
}

.shop-table tbody td:not(:first-child),
.shop-table thead th:not(:first-child) {
    padding-left: 1rem;
}

.shop-table .product-name {
    white-space: normal;
    word-break: break-word;
}

.shop-table.cart-table .product-name {
    color: #333;
}

.shop-table.cart-table .product-quantity {
    width: 25.7%;
}

.shop-table.cart-table .product-subtotal {
    width: 16%;
}

/* tbody */
.shop-table td {
    padding: 1.2rem 0 1.2rem 0;
    border-top: 1px solid #eee;
    font-size: 1.2rem;
    vertical-align: middle;
}

.shop-table .product-thumbnail {
    width: 11rem;
    padding-right: 1rem;
}

.shop-table .product-thumbnail a {
    position: relative;
}

.shop-table img {
    display: block;
    max-width: 100px;
}

.amount {
    color: gray;
}

.shop-table .btn-close {
    position: absolute;
    padding: 0;
    background: #fff;
    border: 2px solid #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    -webkit-box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.4);
    top: -14px;
    right: -8px;
}

.shop-table.cart-table .btn-close {
    top: -8px;
    right: -7px;
}

.btn i {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.3rem;
    line-height: 0;
    margin-bottom: 10px;
}

.shop-table .btn-close i {
    color: #333;
    font-size: 12px;
    font-weight: 600;
    margin-left: 0;
}

.shop-table.cart-table td.product-price {
    font-weight: 400 !important;
    font-size: 1.3rem !important;
}

.input-group {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    height: 4.4rem;
    position: relative;
    width: 100%;
}

.input-group div {
    position: absolute;
    top: 50%;
    line-height: 3.3;
    text-align: center;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0.5rem;
    /* right */
    padding: 0;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background-color: #eee;
    color: #666;
    font-size: 12px;
    font-weight: normal;
    border: none;
}

.input-group div:hover {
    cursor: pointer;
}

.input-group div + div {
    margin-left: 2.8rem;
    /* margin-right: 3.3rem; */
}

.shop-table.cart-table .product-quantity .input-group {
    max-width: 140px;
}

.shop-table.cart-table td.product-subtotal {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    letter-spacing: -0.05em;
}

.cart .cart-action {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 2rem 0;
}

.cart .cart-action .btn {
    margin-bottom: 1rem;
}

.btn.btn-rounded {
    border-radius: 3px;
}

.cart .cart-action .btn {
    margin-bottom: 1rem;
}

.cart .cart-action .btn-clear,
.cart .cart-action .btn-update {
    padding: 1em 2em;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
}

.cart .cart-action .btn-update.disabled {
    border-color: #eee;
    background-color: #eee;
    color: #666;
    cursor: not-allowed;
}
