.cart-item-mobile-view {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  padding: 0;
  margin-bottom: 10px;
  border: 1px solid #DDDDDD;
  border-radius: 20px;
  overflow: hidden;
  min-height: 150px;

  /* Image Column */
  .cart-item-view__image {
    flex-basis: 26%;
    flex-shrink: 0;
    overflow: hidden;
    .cart-item-view__image-link {
      width: 100%;
      height: 100%;
      display: block;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        border-radius: 0;
      }
    }
  }

  /* Details Column */
  .cart-item-view__details {
    flex-basis: 54%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 7px;
    .cart-item-view__title {
      font-size: 20px;
      font-weight: 700;
      color: #0D0A0B;
      margin: 0;
      .cart-item-view__link {
        color: #0D0A0B;
        text-decoration: none;
        &:hover {
          text-decoration: underline;
        }
      }
    }
    /* Quantity Section */
    .cart-item-view__quantity {
      display: flex;
      align-items: center;
      .quantity__button {
        background-color: #F4F4F4 !important;
        border: 0;
      }
    }
  }

  /* Actions Column */
  .cart-item-view__actions {
    flex-basis: 16%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    text-align: right;
    padding: 10px 4px 10px 0;
    .cart-item-view__price {
      position: relative;
      font-weight: 600;
      font-size: 16px;
      padding-right: 4px;
      line-height: 1.4rem !important;
      .loading__spinner {
        right: 10px;
        &:not(.hidden)+.cart-item__price-wrapper {
          display: none;
        }
      }
      .cart-item-view__regular-price {
        font-weight: 500;
        font-size: 12px !important;
        text-decoration: line-through;
        opacity: 0.4;
      }
    }
    .cart-item-view__delete {
      display: block;
      margin-bottom: -3px;
      background-color: transparent;
      border: none;
      padding: 4px 5px;
      cursor: pointer;
      opacity: 0.7;
      &:hover {
        opacity: 1;
      }
    }
  }
}

@media (max-width: 768px) {
  .cart-item-mobile-view {
    .cart-item-view__image {
      flex-basis: 36%;
    }
    .cart-item-view__details {
      .cart-item-view__title {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4rem;
      }
      .cart-item-view__quantity {
        .cart-quantity {
          margin-bottom: -4px;
        }
      }
    }
    .cart-item-view__actions {
      .cart-item-view__delete {
        margin-bottom: -5px;
      }
    }
  }
}
