@media screen and (max-width: 767px) {
  body.shopping_cart #content {
    box-sizing: border-box;
    margin: 0 auto 20px;
    padding: 0 14px;
    width: 100%;
  }

  body.shopping_cart .info-content {
    font-size: 16px;
    line-height: 1.35;
    margin: 0;
    width: 100%;
  }

  body.shopping_cart .cart-info table,
  body.shopping_cart .cart-info tbody {
    border: 0;
    display: block;
    margin: 0;
    width: 100%;
  }

  body.shopping_cart .cart-info thead {
    display: none;
  }

  body.shopping_cart .cart-info tbody tr {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    display: grid;
    gap: 12px 14px;
    grid-template-areas:
      "image name"
      "quantity quantity"
      "price total";
    grid-template-columns: minmax(100px, 36%) minmax(0, 1fr);
    margin-bottom: 16px;
    padding: 14px;
    width: 100%;
  }

  body.shopping_cart .cart-info tbody td {
    border: 0;
    box-sizing: border-box;
    min-width: 0;
    padding: 0;
  }

  body.shopping_cart .cart-info tbody .image {
    align-self: start;
    grid-area: image;
  }

  body.shopping_cart .cart-info tbody .image img {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 120px;
    width: 100%;
  }

  body.shopping_cart .cart-info tbody .name {
    align-self: start;
    font-size: 16px;
    grid-area: name;
    line-height: 1.3;
    overflow-wrap: anywhere;
    text-align: left;
  }

  body.shopping_cart .cart-info tbody .name > a {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    text-align: left;
  }

  body.shopping_cart .cart-info .name div {
    font-size: 13px;
    line-height: 1.35;
  }

  body.shopping_cart .cart-info .name div p {
    margin: 3px 0;
  }

  body.shopping_cart .cart-info tbody .quantity {
    align-items: center;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
    grid-area: quantity;
    justify-content: flex-start;
    padding-top: 12px;
    text-align: left;
  }

  body.shopping_cart .cart-info tbody .quantity::before {
    color: #666;
    content: "Cantitate";
    font-size: 13px;
    font-weight: 700;
    margin-right: auto;
  }

  body.shopping_cart .cart-info tbody .quantity input[type="text"] {
    box-sizing: border-box;
    font-size: 16px;
    height: 44px;
    line-height: 1;
    padding: 8px;
    text-align: center;
    width: 52px;
  }

  body.shopping_cart .cart-info tbody .quantity input[type="image"] {
    box-sizing: content-box;
    height: 20px;
    margin: 0;
    padding: 12px;
    position: static;
    width: 20px;
  }

  body.shopping_cart .cart-info tbody .quantity a {
    align-items: center;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    width: 44px;
  }

  body.shopping_cart .cart-info tbody .quantity a img {
    height: 20px;
    padding: 0 !important;
    position: static;
    width: 20px;
  }

  body.shopping_cart .cart-info tbody .price,
  body.shopping_cart .cart-info tbody .total {
    background: #f8f8f8;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    font-weight: 700;
    gap: 4px;
    padding: 10px;
    text-align: left;
  }

  body.shopping_cart .cart-info tbody .price {
    grid-area: price;
  }

  body.shopping_cart .cart-info tbody .total {
    grid-area: total;
  }

  body.shopping_cart .cart-info tbody .price::before,
  body.shopping_cart .cart-info tbody .total::before {
    color: #777;
    font-size: 12px;
    font-weight: 400;
  }

  body.shopping_cart .cart-info tbody .price::before {
    content: "Preț unitar";
  }

  body.shopping_cart .cart-info tbody .total::before {
    content: "Total";
  }

  body.shopping_cart .cart-total {
    box-sizing: border-box;
    float: none;
    margin: 0;
    padding: 4px 0 16px;
    width: 100%;
  }

  body.shopping_cart .cart-total table {
    border-spacing: 8px;
    float: none;
    margin: 0 0 12px auto;
    padding: 0;
  }

  body.shopping_cart #content .cart-total > .right {
    display: flex;
    flex-flow: column nowrap;
    gap: 10px;
    width: 100%;
  }

  body.shopping_cart .cart-total .right .button {
    border-radius: 8px;
    box-sizing: border-box;
    float: none;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
    min-height: 52px;
    padding: 15px 18px;
    width: 100%;
  }

  body.shopping_cart .cart-total .right .inapoiC {
    box-sizing: border-box;
    float: none;
    font-size: 15px;
    height: auto;
    line-height: 1.3;
    padding: 12px;
    text-align: center;
    width: 100%;
  }
}
