@media (max-width: 767px) {
  html body #cart-content.nenashi-modern-mini-cart {
    background: #f5f6f8 !important;
  }

  html body #cart-content.nenashi-modern-mini-cart > ul {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #f5f6f8;
  }

  html body #cart-content.nenashi-modern-mini-cart .cart-products {
    padding: 12px 12px 4px !important;
    background: transparent !important;
  }

  html body #cart-content.nenashi-modern-mini-cart .cart-products > table,
  html body #cart-content.nenashi-modern-mini-cart .cart-products > table > tbody {
    display: block;
    width: 100%;
    margin: 0;
    border: 0 !important;
    background: transparent !important;
  }

  html body #cart-content.nenashi-modern-mini-cart .cart-products tr {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    grid-template-areas:
      "image name remove"
      "image qty total";
    gap: 7px 10px;
    margin: 0 0 10px;
    padding: 11px;
    border: 1px solid #e6e9ee;
    border-radius: 15px;
    background: #fff !important;
    box-shadow: 0 5px 18px rgba(20, 28, 38, .055);
  }

  html body #cart-content.nenashi-modern-mini-cart .cart-products td {
    display: block;
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body #cart-content.nenashi-modern-mini-cart .td-image {
    grid-area: image;
  }

  html body #cart-content.nenashi-modern-mini-cart .td-image a {
    display: block;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 11px;
    background: #f7f8fa;
  }

  html body #cart-content.nenashi-modern-mini-cart .td-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
  }

  html body #cart-content.nenashi-modern-mini-cart .td-name {
    grid-area: name;
    color: #737b86;
    font-size: 11px;
    line-height: 1.35;
  }

  html body #cart-content.nenashi-modern-mini-cart .td-name > a {
    display: -webkit-box;
    margin-bottom: 5px;
    overflow: hidden;
    color: #17191d !important;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  html body #cart-content.nenashi-modern-mini-cart .td-name > span,
  html body #cart-content.nenashi-modern-mini-cart .td-name > small {
    color: #7c8490;
    font-size: 11px;
  }

  html body #cart-content.nenashi-modern-mini-cart .td-qty {
    grid-area: qty;
    justify-self: start;
    padding: 4px 8px !important;
    border-radius: 999px !important;
    background: #f1f3f6 !important;
    color: #626b77;
    font-size: 12px;
    font-weight: 700;
  }

  html body #cart-content.nenashi-modern-mini-cart .td-total {
    grid-area: total;
    align-self: center;
    justify-self: end;
    color: #ee5b20;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
  }

  html body #cart-content.nenashi-modern-mini-cart .td-remove {
    grid-area: remove;
    align-self: start;
  }

  html body #cart-content.nenashi-modern-mini-cart .cart-remove {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff1ed;
    color: #ef5420;
  }


  html body #cart-content.nenashi-modern-mini-cart .cart-totals {
    margin-top: auto;
    padding: 12px !important;
    border-top: 1px solid #e2e6eb;
    background: #fff !important;
    box-shadow: 0 -8px 24px rgba(20, 28, 38, .06);
  }

  html body #cart-content.nenashi-modern-mini-cart .cart-totals table {
    margin: 0 0 10px;
    border: 0 !important;
  }

  html body #cart-content.nenashi-modern-mini-cart .cart-totals td {
    padding: 7px 4px !important;
    border: 0 !important;
    color: #59616d;
  }

  html body #cart-content.nenashi-modern-mini-cart .cart-totals tr:last-child td {
    padding-top: 10px !important;
    border-top: 1px solid #eceef2 !important;
    color: #17191d;
    font-size: 16px;
    font-weight: 800;
  }

  html body #cart-content.nenashi-modern-mini-cart .cart-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  html body #cart-content.nenashi-modern-mini-cart .cart-buttons .btn-cart {
    display: none !important;
  }

  html body #cart-content.nenashi-modern-mini-cart .cart-buttons .btn-checkout {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0 !important;
    border-radius: 12px !important;
    background: #f25f21 !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(242, 95, 33, .22);
  }
}
